The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#422
|
||||
|
||||
Quote:
PHP Code:
HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle] - $formtitle</title> </head> <body> $header $navbar <!-- main --> <br /> <form enctype="multipart/form-data" method="post" action="newthread.php"> <input type="hidden" value="$formname" name="do" /> <input type="hidden" value="submit" name="action" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="3">$vboptions[bbtitle] - $formtitle</td> </tr> <tr> <td class="panelsurround" align="center" colspan="3"> <table class="panel" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td align="$stylevar[left]"> <fieldset class="fieldset" style="margin:0px"> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td> $formpurpose </td> </tr> </table> </fieldset></td> </tr> </table></td> </tr> <tr> <td class="alt1" align="right"><b>$advert_type_question</b><br /><select name="advert_type"> <option value="$advert_typea">$advert_typea</option> <option value="$advert_typeb">$advert_typeb</option> <option value="$advert_typec">$advert_typec</option> </select><br /><div class="smallfont">$advert_type_explain</div> </td> <td colspan="2" class="alt1"><b>$advert_title_question</b><br /><input type="text" size="30" name="advert_title" /><br /><div class="smallfont">$advert_title_explain</div></td> </tr> <tr> <td colspan="3" class="alt2"><b>$advert_text_question</b><br /><div class="smallfont">$advert_text_explain</div><br /> <table cellpadding="0" cellspacing="0" border="0"><tr><td>$messagearea</td></tr></table> </td> </tr> <tr> <td class="alt1" colspan="3"><b>$location_question</b><br /><input type="text" size="30" name="location" /><br /><div class="smallfont">$location_explain</div></td> </tr> <tr> <td valign="top" class="alt1"><b>$confirmation_question</b></td> <td class="alt1" colspan="2"><div class="smallfont"><input type="checkbox" name="confirmation" value="Yes"> $confirmation_explain</div></td> </tr> <tr> <td class="alt1" valign="top" colspan="3"> <p align="center"> <input type="submit" value="Submit" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" /> <input type="reset" value="Reset" name="reset" style="font-family: Verdana; font-size: 10pt" class="button" /> </p></td> </tr> </table> </form> $footer </body> </html> HTML Code:
$advert_text_answer Location: $location I have read and agreed to abide by the AV Forums trading rules : $confirmation. |
#423
|
||||
|
||||
In the answer template, add a space after $confirmation
|
#424
|
||||
|
||||
Thanks Abe, but that didn't make any difference.
|
#425
|
||||
|
||||
Quote:
|
#426
|
||||
|
||||
Quote:
http://www.avforums.com/forums/newth...ieds_form&f=62 |
#427
|
||||
|
||||
Quote:
find this: PHP Code:
PHP Code:
|
#428
|
||||
|
||||
Abe, that works!!!!
Thanks very much for your patience and help in sorting this out. AV Forums members now get a classified advert submission form (with rules agreement tickbox) when creating a thread in in all the classifieds forums. Using it with your related new thread hack. May I suggest that you add this useful information into the hack as standard? Thaks again. Fantastic. |
#429
|
||||
|
||||
I'm posting this again.
I'd like to have the form sent to the user as a PM. //USERNAME TO PM TO //$formpmname = "Abe"; $formpmname = $vbulletin->userinfo['username']; Will work unless the person has their PMs OFF. Then I get Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 758 Is there a conditional statement I can use if the person is accepting PMs and not above quota, use $formpm = "1"; and if not $formpm = "0"; |
#430
|
||||
|
||||
Quote:
used this with threadid and t and it works now. but i found a new glitch :speechless: a posting done through the form wont be shown in the upper category of a subforum as last posting. |
#431
|
||||
|
||||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|