View Full Version : [Request] - Accept Rules Countdown
Dean C
12-08-2002, 06:26 PM
I saw this when i logged out the other day and tried to re-register here at vbulletin.org
When you click register it goes to the rules page as normal
The "Accept" button is inactive for 10 seconds so the users in theory have to read the rules.
Any ideas on how to do this :D
Thanks in Advance
- miSt
Xenon
12-08-2002, 06:47 PM
it's just a template thing *move*
from what i've seen in the sourcecode<script>
secs = 10; // Number of secs to delay
wait = secs * 1000;
document.forms.register.Submit.disabled =true;
for(i=1;i<=(wait/1000);i++) {
window.setTimeout("doUpdate(" + i + ")", i * 1000);
}
window.setTimeout("Timer()", wait);
function doUpdate(num) {
if(num == (wait/1000)) {
document.forms.register.Submit.value = "Agree";
} else {
wut = (wait/1000)-num;
document.forms.register.Submit.value = "Agree (" + wut + ")";
}
}
function Timer() {
document.forms.register.Submit.disabled =false;
}
</script>
squawell
12-08-2002, 08:01 PM
i saw that for long time ago....someone already posted...
but i cant find that post.....
Dean C
12-09-2002, 04:01 PM
Geez i thought this was javascript hehe
- miSt
Dean C
12-12-2002, 06:06 PM
I tried inserting this into the registeradult template and making sure i wasn't a coppa user and the countdown didn't work
Do i have to add anything to the buttons code?
- miSt
Xenon
12-12-2002, 06:57 PM
hmm, look on the sourcode of the registerpage here ;)
maybe chen can have a look here and show the template to us ;)
squawell
12-13-2002, 01:16 AM
hello guys i find that link maybe u want to take look
https://vborg.vbsupport.ru/showthread.php?postid=177312#post177312
Dean C
12-13-2002, 03:06 PM
Alleluia
Why couldn't i find this hehe
Thanks
- miSt
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.