vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Delay the "AGREE" Button (https://vborg.vbsupport.ru/showthread.php?t=28316)

bira 12-09-2001 08:15 AM

What about adding an error message if the button is clicked before the alloted time, stating "If you're clicking that fast, you haven't read the terms!" ?

Joshua Clinard 12-15-2001 06:12 AM

would someone release this, so that I could ckick the button that says I have installed it?

[D]Vincent 02-13-2003 01:34 PM

question, where do you add this:
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>


[edit]
nevermind, i figured it out, heh, just read the first post again lol

davidthornton 09-12-2011 04:59 AM

Is there anything like this for vBulletin 4? I used this about 8 years ago in 3 and I liked it.

BirdOPrey5 09-12-2011 11:14 AM

No one is going to read the rules anyway, timer or not.

davidthornton 09-13-2011 12:48 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2244853)
No one is going to read the rules anyway, timer or not.

Maybe but if they're forced to sit their for 30 seconds or so before they can click "I agree", and the rules are bulleted, they might just spend some time looking. Whats more the delay makes it even harder for anyone to claim "I just clicked okay and didn't read the rules" because they had to pause and wait. It's a pity this mod appears to have been forgotten about.

BirdOPrey5 09-13-2011 10:49 AM

Looking at this again, since the VB4 rules are displayed on the same page as other registration information, putting in a 30 second delay isn't very useful because it will take someone 30 seconds to fill in their username, password, email, and any other info.

On VB3 the rules were on their own page, there was nothing else to do but read them.


All times are GMT. The time now is 08:38 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
  • Page Generation 0.01054 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete