Version: 2.5.2, by sabret00the
Developer Last Online: Apr 2010
Version: 3.0.1
Rating:
Released: 06-03-2004
Last Update: 04-21-2005
Installs: 36
No support by the author.
although i know this works manually, it's untested via cron
Quote:
Originally Posted by AmyKhar
This hack will email a warning to members who have not activated their account and then delete them. It can run via cron, and is a pretty darn easy hack to install.
Features:
1. Emails users after 3 days and reminds them to activate their accounts.
2. Emails users after 5 days and lets them know their account will be deleted if they do not activate.
3. Emails users after 8 days with a final warning.
4. Deletes un-activated members after 10 days.
it still does exactly the same but this time for vb3
oh yeah, it emails you to tell you who was deleted, emailed so you're always informed.
if you got a big board you can't live without this, it stops the crap from piling up.
anything messes up, i can't take responsibility i'm afraid so back up before you try it.
#########################################
Add-On:
#########################################
if you like your templates in your admin cp neat then do this:
in "includes/adminfunctions_template.php" find
now save and close cos you're done :cheeky: :bored:
[high]wol stuff been removed due to the fact this should now be in the cron directory and thus won't show up anyway[/high]
and now like the days of our youth where everything was free and our mum would have dinner on the table for us, you're done.
[high]this was a fantastic vb2 hack and was made with blood, sweat and tears by Amy, she deserves all the credit for doing a fantastic job and then giving me permission to release this, so please if you install this should your gratitude in her direction as without her it would've been impossible.
the two critical bugs that a/ it wasn't sending the activationid and b/ it was deleting users who didn't change their email correctly, have been squashed by Psico[/high]
v2.1: Boofo killed 2 bugs
v2.2: more bugs killed by Boofo
v2.3: bugs killed by psico
v2.3a: bugs killed by sv1cec
v2.4: changed activation code when one exists already removed (sv1cec)
v2.4: better cron logging (me)
v2.4: table prefix bug found by jlurken, fixed by moi
v2.5: email reminder sent to your inbox thanks to sv1vec, improved logging, removed redundant code.
v2.5.2: fixed table prefixes.
[high]YOU WILL NOW NEED TO EDIT THE FILE TO MAKE SURE IT WORKS, IT'S CLEARLY MARKED ON LINE 21[/high]
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
have you got the default vb activate.php cron running?
No, I have it disabled. And teh e-mails send are twins, I mean they mention the days (It has been 5 days since you registered, and you have not yet activated your account. ).
I am really getting mad with this because I can't find anything that can cause this hack to send the e-mails twice.
No, I have it disabled. And teh e-mails send are twins, I mean they mention the days (It has been 5 days since you registered, and you have not yet activated your account. ).
I am really getting mad with this because I can't find anything that can cause this hack to send the e-mails twice.
if you're using 2.2 or below please upgrade now, it's quite critical, i'm having a few reports of members changing their addresses and everything going crazy. your board will be doomed and your community will die if you do not heed this warning
on another note, just upgrade to 2.3a thanks to sv1cec
Thank you for registering for the $vboptions[bbtitle]. It has been 8 days since you registered, and you have not yet activated your account. Your account will be deleted in 2 days if you have not activated by that time.
Please note - you must complete this last step to become a registered member. You will only need to click on the link once, and your account will be updated.
To complete your registration, click on the link below:
$vboptions[bburl]/register.php?a=act&u=$userid&i=$activateid
<a href="$vboptions[bburl]/register.php?a=act&u=$userid&i=$activateid">AOL Users click Here to be Activated</a>
**** Does The Above Link Not Work? ****
If the above link does not work, please use your Web browser to go to:
$vboptions[bburl]/register.php?a=ver
Please to be sure not to add extra spaces. You will need to type in your username and activation number on the page that appears when you click on our copy the above link in your browser.
Your Username is: $username
Your Activation ID is: $activateid
If you are still having problems signing up please contact a member of our support staff at $webmasteremail
I created a test account to verify the warnings send out. Each e-mail was send twice, once on the proper date and one the following day. Here are the timestamps:
1st Action required e-mail: 07/26/2004 11:57
1st Warning e-mail (3 days) : 07/29/2004 11:11
copy of the above : 07/30/2004 11:15
2nd Warning e-mail (5 days) : 07/31/2004 11:55
copy of the above : 08/01/2004 11:16
3rd Warning e-mail (8 days) : 08/03/2004 11:11
copy of the above : 08/04/2004 11:14
Even though I am no php expert, I can't find any part of the hack that could cause this behaviour. At the time being I am creating another test user to try again the whole thing.