The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#8
|
|||
|
|||
![]()
here we go guys ...
Since no one has done this whole next page thing for the sending out of emails (or i just couldn't find one), here is the solution: In admincp/email.php After: Code:
construct_hidden_code('perpage', $perpage); Code:
construct_hidden_code('auto_timer',stripslashes($_POST['auto_timer'])); Code:
construct_hidden_code($varname, $_POST[$varname]); } } Code:
$auto_timer = $_POST['auto_timer']*1000*60; $timeremaining = $auto_timer / 1000; echo <<< TEOL <script language="javascript"> <!-- countdown = $auto_timer; actualcountdown = $timeremaining; function submit_form() { document.cpform.submit(); } function count_down() { actualcountdown = actualcountdown-1; document.cpform.timeremaining.value=actualcountdown+ ' seconds remaining'; setTimeout('count_down()',1000); } //--> setTimeout('submit_form()',$auto_timer); setTimeout('count_down()',1000); </script> <input type=text name=timeremaining value="$timeremaining seconds remaining"> TEOL; Code:
print_yes_no_row($vbphrase['test_email_only'], 'test', 0); Code:
print_input_row($vbphrase['auto_timer'],"auto_timer",1,0,5); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|