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.
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 am not sure why this was happening, but I just created a test user and I got his activation code fine, from the useractivation table, the same as the one send to him in the e-mail.
But even if for some reason you find the activation code empty, what is the reason for creating a new id for users who have already one?
As far as I am concerned, I am removing the else part from that if.
fair doo's however i don't get why you're saying it with such attitude? after all this is a free script you're using is it not?
Pardon me, I was not having any attitude, I was just trying to get your experience and expertise on that.
I asked why you are changing the activation code, and you replied to me that you create a new one, because sometimes you find empty ids. I understand that, but I am still puzzled why you are changing the existing codes, when that action prevents users from activating their accounts.
Don't you think that other members who have installed this hack should know that, when users start e-mailing them with questions why they can't activate?
If you don't have an explanation, fine, no problem, I'll do what I think is appropriate, but don't accuse me of an attitude, when all I am doing is trying to understand what you are doing, in this hack. I think I have that right, or am I wrong?
Pardon me, I was not having any attitude, I was just trying to get your experience and expertise on that.
I asked why you are changing the activation code, and you replied to me that you create a new one, because sometimes you find empty ids. I understand that, but I am still puzzled why you are changing the existing codes, when that action prevents users from activating their accounts.
Don't you think that other members who have installed this hack should know that, when users start e-mailing them with questions why they can't activate?
If you don't have an explanation, fine, no problem, I'll do what I think is appropriate, but don't accuse me of an attitude, when all I am doing is trying to understand what you are doing, in this hack. I think I have that right, or am I wrong?
ok to explain this, the original hack was ported from vb2 and set to run instead of activate.php in the crons directory, at that point when first released boofo ran it on his server and reported the bug that no id was being sent, i confirmed this via my server, under both tests there no. infact sorry afrer re-reading the thread it was bryan that reported it and it was fixed by Pscio https://vborg.vbsupport.ru/showpost....5&postcount=29 at that point everyone was happy and it was a great triumph for an open source project such as this one, don't get me wrong i understand why you'd not like the id reset but
Quote:
As far as I am concerned, I am removing the else part from that if.
the tone in your original post was offensive to me being someone that's ported this from vb2 and supported it to the best of my ability since then.
it's a saturday afternoon i have a hangover and and don't even have time to do such leisurly things as updating the hack yet i find time to do support i'm just stating that i didn't like your tone (attitude) i do beleive i have the right to do that or am i wrong?
ok to explain this, the original hack was ported from vb2 and set to run instead of activate.php in the crons directory, at that point when first released boofo ran it on his server and reported the bug that no id was being sent, i confirmed this via my server, under both tests there no. infact sorry afrer re-reading the thread it was bryan that reported it and it was fixed by Pscio https://vborg.vbsupport.ru/showpost....5&postcount=29 at that point everyone was happy and it was a great triumph for an open source project such as this one, don't get me wrong i understand why you'd not like the id reset but the tone in your original post was offensive to me being someone that's ported this from vb2 and supported it to the best of my ability since then.
it's a saturday afternoon i have a hangover and and don't even have time to do such leisurly things as updating the hack yet i find time to do support i'm just stating that i didn't like your tone (attitude) i do beleive i have the right to do that or am i wrong?
It seems that your hangover made you grumpy.
The quote you mention was not meant in any attitude.
I believe that the role of us here, is to help users of our hacks. So, I asked a question and I didn't get an answer, so the least I can do is to inform other users that there is a problem here. And I did it in a very polite way, by just saying what I am going to do. I didn't suggest others to do the same, I didn't emphasize the problem.
Instead of thanking me for locating a serious problem in your code, you accused me of having an attitude. Of course and you have the right to not like my tone (I assume you mean "my writings", because you can't hear my tone), but since you agreed to provide support from this hack, you'd better answer your user's questions, before criticizing their attitude.
but since you agreed to provide support from this hack, you'd better answer your user's questions, before criticizing their attitude.
Just because an author "agrees" to provide support for a hack, doesn't mean he/she has to drop everything and run to it the second there is a problem. Authors DO have private lives, too. They are sharing something with everyone, not getting paid or reimbursed in any way for it. telling someone they'd "better answer their your user's questions, before criticizing their attitude" isn't going to make the author want to run to help anyone. You get more flies with honey. Something to think about.
Just because an author "agrees" to provide support for a hack, doesn't mean he/she has to drop everything and run to it the second there is a problem. Authors DO have private lives, too. They are sharing something with everyone, not getting paid or reimbursed in any way for it. telling someone they'd "better answer their your user's questions, before criticizing their attitude" isn't going to make the author want to run to help anyone. You get more flies with honey. Something to think about.
I didn't expect you to leave your life and answer my question. I posted the initial question on 16. Dec 2004, 13:14, and I came back to check the answer one day and several hours later.
So stop making accusations for non-existing things. Nobody asked you to leave whatever you were doing and come to answer.
But when you decide to answer, you'd better answer the asked question. And you didn't, for whatever reasons, I do not care. And I tried, as politely as I could, to draw your attention to the fact that this was a serious problem. If you want, I can forward to you the e-mails I've received from people who couldn't activate, because of your code. And I didn't complain, I didn't accuse you of anything, I just tried to get your attention, and the attention of other people who are using your hack, by simply stating what I am going to do. And you got angry about it, and accused me of having an attitude.
And if honey gets you more flies, so what? What was I supposed to do? Be apologetic? For what? For your luck of answer? From what I saw, you issued a new version of your hack, to correct the problem I noticed. If I were not as persistent, I am sure the hack will continue like that for who knows how long (because coders have lives as you say, and don't have time to support their users), causing admins headaches from users who wouldn't be able to activate, one day after they received the activation e-mail.
In any case, I deny to continue this confrontation. Case closed for me.