View Full Version : automatic newsletter
dethfire
02-27-2004, 02:08 AM
I remember there was a hack for vb2 where it would auto email your members once a month with generated top threads and new members... blah blah, anyone have plans on making one?
joeychgo
04-06-2004, 07:16 AM
Is there something like this for gold?
jluerken
04-06-2004, 11:47 AM
Is there something like this for gold?
yeah, would be really nice
knetgummi
07-18-2004, 12:08 AM
looking also for this hack, maybe their is a coder who can execute it?
greetz
knetgummi
LadyBeth
08-19-2004, 11:12 AM
Really really really need this...
Osterling
08-19-2004, 11:21 AM
there is this commbull..
grandeur_69
11-22-2004, 02:05 PM
yea, the community bulletin (commbull) will do this ... there are still a few minor adjustments that need to be made for the events ... and, it is not automated yet ... other than that, it can do a lot for ya
grandeur_69
11-22-2004, 04:50 PM
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:
construct_hidden_code('perpage', $perpage);
Add:
construct_hidden_code('auto_timer',stripslashes($_ POST['auto_timer']));
After:
construct_hidden_code($varname, $_POST[$varname]);
}
}
Add:
$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=actualcountdow n+ ' 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;
After:
print_yes_no_row($vbphrase['test_email_only'], 'test', 0);
Add:
print_input_row($vbphrase['auto_timer'],"auto_timer",1,0,5);
Then, you just need to add "auto_timer" to your phrase table ... something along the lines of "Auto Redirect in X Minutes"
Bison
11-23-2004, 01:34 AM
What does this do ... and is this for the commbull hack?
grandeur_69
11-23-2004, 06:30 AM
no, one already exists in the commbull. this is just for the standard email program that comes with vB3 ... it's so you don't have to sit at your desk waiting to press "next page" for 2-3 hours while you send out your newsletter
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.