PDA

View Full Version : Adding a checkbox to newreply


reteep
11-30-2005, 06:33 AM
(3.5.1)

In the Template: newreply I've added the following code:


<if condition="is_member_of($bbuserinfo, 6)"><div><label for="cb_scout"><input type="checkbox" name="scout" id="cb_scout" tabindex="1" $checked[signature] />Scouting?</label></div></if>


It's already showing up for admins.

Now I'd like to add this value into my database. Therefore I added an additional field to the posting table "scout" which should hold 0 or 1.

I checked newreply.php but I don't see any Database Insert call or what so ever. How is it possible to insert this value into my posting table now?

Thanks for any help!

Edit: Sorry please move it to General vBulletin Questions