![]() |
How Do I Add a Custom Checkbox To The Registration Page?
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. http://img.brandonbutler.com/gallery...88fd89e0e3.jpg |
Still need some help with this.
|
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. |
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> |
All times are GMT. The time now is 01:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|