Back to vBulletin 3.5 Template Modifications

Disabling The "I Agree" Checkbox Until A Specified Amount Time Has Elapsed
Mod Version: 1.00, by TCM

This modification is in the archives.
vB Version: 3.5.0 Rating: (2 votes - 5.00 average) Installs: 13
Released: 12 Nov 2005 Last Update: 12 Nov 2005 Downloads: 15
Not Supported Template Edits  

As requested in this thread.

This addition disables the "I Agree" checkbox on the rules page during registration until a specifed amount of time has elapsed. If it isn't obvious, this idea is that the users can't just click through right away, so they're more likely to actually read the rules.

IN TEMPLATE register_rules:

FIND
HTML Code:
<div><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>
ADD AFTER
HTML Code:
<script type="text/javascript">
var agreebox = document.getElementById('cb_rules_agree');
agreebox.disabled = true;
setTimeout("agreebox.disabled = false;", 10000);
</script>
Replacing 10000 with the number of miliseconds you want it to wait before enabling the checkbox.
If you use this, please .

Download

This modification is archived and cannot be downloaded.

Screenshots

 


vblts.ru supports vBulletin®, 2022-2024