PDA

View Full Version : New Thread Fields


wolfe
06-14-2010, 06:58 AM
hi i have tried this article https://vborg.vbsupport.ru/showthread.php?p=2001175 and its not working properly can anyone shead light on this issue i would like to add a textarea and input fields to a new thread in selected forums. thanks

Lynne
06-14-2010, 02:39 PM
You should post in that thread for help. Or, if you post out here, show us exactly what you've done (please use code tags) and what the result was and what you wanted the result to be.

wolfe
07-04-2010, 03:18 PM
well i want to add a few new fields really

one that auto uses the Tag and another being a drop down box

so far i have

Add INFO newthread_post_start
$value = $vbulletin->input->clean_gpc('p', "info", TYPE_STR);Add NFO Process newpost_process
$value = $vbulletin->input->clean_gpc('p', "info", TYPE_STR);

$dataman->set('info', "[code]"'.$value.'"");in the newthread template i have


<div id="nfo" class="texteditor">

<div class="editor">
<div class="floatcontainer">
<textarea name="info" id="info" rows="5" cols="77">{vb:raw nfo}</textarea>
</div>
</div>
</div>
</div>

and a database table


info mediumtext latin1_spanish_ci
Yes NULL

but nothings inserting on submition ? need help.