The Arcive of vBulletin Modifications Site. |
|
[Request] - Accept Rules Countdown Details »»
|
|||||||||||||||||||||||||
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 ![]() Thanks in Advance - miSt Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
it's just a template thing *move*
from what i've seen in the sourcecode Code:
<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>
|
|
#3
|
||||
|
||||
|
i saw that for long time ago....someone already posted...
but i cant find that post..... |
|
#4
|
||||
|
||||
|
Geez i thought this was javascript hehe
- miSt |
|
#5
|
||||
|
||||
|
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 |
|
#6
|
||||
|
||||
|
hmm, look on the sourcode of the registerpage here
![]() maybe chen can have a look here and show the template to us
|
|
#7
|
||||
|
||||
|
hello guys i find that link maybe u want to take look
https://vborg.vbsupport.ru/showthrea...312#post177312 |
|
#8
|
||||
|
||||
|
Alleluia
Why couldn't i find this hehe Thanks - miSt |
![]() |
|
|