The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want to add a custom checkbox to the registration page where people have to agree to the forum rules. BOTH boxes must be checked or the registration process will not continue. How do I add this second box?
I've added it but don't know how to create a label so that it must be checked for the registration to go forward. ![]() |
#2
|
|||
|
|||
![]()
Still need some help with this.
|
#3
|
|||
|
|||
![]()
Hahahaa, I like it.
Look in your register.php file. Find where it checks to see if the first checkbox is checked and add the other $_POST['checkbox_name'] as well. |
#4
|
|||
|
|||
![]()
Grrrr
I'm trying. I see that this is in the register_rules template: Code:
<label for="cb_rules_agree"><input type="checkbox" name="agree" id="cb_rules_agree" value="1" /><strong><phrase 1="$vboptions[bbtitle]">$vbphrase[read_agree_abide_by_rules]</phrase></strong></label></div> Code:
<div><label for="spamagree"><input name="spamagree" id="spamagree" value="1" type="checkbox"><strong>I promise I am not registering just to spam this forum.</strong></label></div> ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|