Page 1 of 11
uCoz Community » uCoz Modules » E-mail Forms » How to Create Report Form in the Ad Board Entry
How to Create Report Form in the Ad Board Entry
khenDate: Friday, 2011-08-19, 11:45 AM | Message # 1
Experienced
Group: Checked
Messages: 397
Awards: 9
Reputation: 13
Status: Offline
Please help me. Does anybody knows how to create a report form in the ad board entry? A report form which sends information (that includes link of the entry and choices of violations of the ads) to the site admin.

Free Classified Ads | YouTube Channel | Top Business Finance
 
NatashkoDate: Friday, 2011-08-19, 12:48 PM | Message # 2
Haunter
Group: Friends
Messages: 3366
Awards: 204
Reputation: 171
Status: Offline
khen, as far as I understood you need to create a new e-mail form and then embed its code (like $MFORM_X$) into the necessary template in CP->Design->Design management (templates)->Ad Board->Page with entry full text and its comments
-Moved to E-mail Forms-
 
khenDate: Saturday, 2011-08-20, 2:25 AM | Message # 3
Experienced
Group: Checked
Messages: 397
Awards: 9
Reputation: 13
Status: Offline
Is it possible to put the email form code in the ajax window?

Free Classified Ads | YouTube Channel | Top Business Finance
 
AnimorphDate: Saturday, 2011-08-20, 5:34 PM | Message # 4
- Mr.Awesome is Back! -
Group: Friends
Messages: 2849
Awards: 244
Reputation: 189
Status: Offline
khen, This might help you smile

http://ucause.ucoz.com/forum/61-634-1


uCoz Unofficial Support
Dutch Bodybuilding and Fitness
 
khenDate: Monday, 2011-08-22, 5:42 AM | Message # 5
Experienced
Group: Checked
Messages: 397
Awards: 9
Reputation: 13
Status: Offline
Animorph, your script is not working in my website. What's wrong?

Free Classified Ads | YouTube Channel | Top Business Finance
 
SusmoyDate: Monday, 2011-08-22, 6:43 AM | Message # 6
Constant
Group: Checked
Messages: 185
Awards: 3
Reputation: 6
Status: Offline
khen, That script worked for me . !! smile smile

If I Help you then Please +Rep and Awards
 
NatashkoDate: Monday, 2011-08-22, 1:32 PM | Message # 7
Haunter
Group: Friends
Messages: 3366
Awards: 204
Reputation: 171
Status: Offline
khen,
Quote (khen)
your script is not working in my website. What's wrong?

You need to add this code to the template of the page, where you want the ajax window with the form to be displayed:
Code
<script type="text/javascript">
     function openForm(){
         new _uWnd('contact','Contact Us',400,150,{fadespeed: 666, fadeclosespeed: 666, fadetype: 2, fadeclosetype: 2,align:'left',footerc:' ',min:0,max:0,resize:0,closeonesc:1,autosize:1,shadow:0,topclass:'x-lightwnd',gridclass:'myWinGridBlack',modal:1}, $(".myform").html() );
     }
</script>
<div class="myform" style="display:none;">$MFORM_X$</div>

Use the dollar code of your form instead of $MFORM_X$
Insert the link to the ajax window where necessary, like this:
Code
<a href="#" onclick="openForm();return false;">Open Form</a>
 
uCoz Community » uCoz Modules » E-mail Forms » How to Create Report Form in the Ad Board Entry
Page 1 of 11
Search: