The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Adding a Checkbox to the Poll form to update sql db?
I am trying to add a checkbox to the newpoll form and pass it to the poll table using a plugin. I was working off a completely different hack that does it for calendar events but I am not sure why it isn't working here.
The checkbox definitely appears but the value isn't being passed on to the poll save and not updating the db. I do have the field "polltest" in the poll table and the hook is "poll_newform_complete". Code:
$disablesmiliesoption.='<div><label for="cb_polltest"><input type="checkbox" name="polltest" value="1" id="cb_polltest" tabindex="3" '.$polltest.' />'.$vbphrase['poll_polltest'].'</label></div>'; |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|