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.
I've been using this hack for some time, and it works OK (3.0.3), but I have one question.
From the code, I assume that the cron script checks if a user is in group 3 (waiting activation) and has zero posts, and then it proceeds to check if his activation code is empty (I do not know in which case this happens) when it generates an activation code for those users. If it is not empty, it changes the activation code for the users.
Why do you do that? I mean a user has registered and is send an e-mail with an activation code. He receives it today, and he does not activate for two days. Then he tries to activate, but the script has changed his activation id, to something else, when it was run some time during the evening of the first day. Is this what happens? I would expect a change of activation code, to occur only for those users who have reached the limit of 3, 5 or 8 days, just before the new e-mail is send.
The reason I am asking, is that I have received several problems from users who try to activate and they can't. Then when I send them a new activation code, they activate fine, if they do it immediately (I do not know what happens if they do not do it immediately, haven't discuss it with anyone).
the reason that it was done that way was because, when it tried to extract the initial activation code from the database it would always come up empty, so the fix was making a new one, it was one of the earlier bug fixes by boofo.
i've created a test user who has not been activated via email.
seems like the script works when sending out mail but the mail text body is empty..no subject no text in the body.
somebody please help.
thanks in advance
i've created a test user who has not been activated via email.
seems like the script works when sending out mail but the mail text body is empty..no subject no text in the body.
somebody please help.
thanks in advance
did you install the templates included in the zip?
did you install the templates included in the zip?
i was going to delete what i said.
i did something retarded and added the templates to my default style template and not another template that i'm currently using.
shame on me.
hopefull it'll work
thanks for the speedy reply though