![]() |
Got this working .. nice hack :)
Am I right in thinking that I should delete the "Activation Reminder Email" cron job? |
Quote:
|
Quote:
|
OK, I've got to disable this thing temporarily until I can get some help. I installed this about two weeks ago and started receiving email that my site was spaming new registraints with up to 700 emails requiring them to click on the link (that was already expired) to activate their account.
I really want to get this thing running but I'm hesitant after pumeling a few of the new users with a ton of email. Anyone got any ideas on what I might have missed that would cause this to happen? |
Quote:
|
Yeah I did that on the first report of this problem and had no problem. Then I had several others report the same problem and the issue seemed to be expanding exponentially. I had installed 5 hacks in the past 2 weeks so I started looking at these individually and when I got to this one I went through the instructions again and it finally dawned on me (Im a little slow on the up take). I didnt want to delete the old activation cron job until I saw this one working correctly so I just zeroed out all the timed fields in the task and that should do it right
Wrong! The activation was kicking off every minute and resetting the codes as it went on at its feverish pace. I changed the setting to run once a month (on the old cron) and will delete the task in two weeks if no more problems are reported.
Thanks! |
for some reason, a user's name got reported twice in my email, like this
3 Day Reminder Sent To: Xantrix, Xantrix also got this when i tried to run the cron manually to test it Sent 5 Day email to Test1 Sent 5 Day email to McHavoc Sent 3 Day email to Xantrix Sent 3 Day email to Xantrix Sent 3 Day email to Ensui it's sent out twice to xantrix here too :( , does anyone know what's wrong? |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Do you have phpmyadmin?
If so, first to go the admincp -> users -> search for users -> xantrix and then at the top you'll see User: Xantrix (id:XX) Write that number down, then go into your phpmyadmin and check out the useractivation table browse it and see if there is multipe entries for that userid. Not sure how it could have happened, but that's the table this hack gets it's info from as it's the one I clear out when I reload my test site. :) |
i checked the useractivation table, only 1 entry of xantrix's ID, but there's a duplicate of someone else's id. the person with the same ID appearing 2 times in the table, i had activated myself in admin cp, so i dunno >.<
by the way, is it safe for me to clear out the userids that i have activated manually in the useractivation table? |
new update. the problem seems to extend past xantrix.
manageActivation Complete; 3 Day Reminder Sent To: Ludin, Shadey, Niell, Niell, Otik, Otik, Beachboy, Beachboy, sunnydolor, sunnydolor. 5 Day Reminder Sent To: Xantrix, Xantrix. 8 Day Reminder Sent To: None. Users Deleted: No one was deleted. please help, i love this script, would love to have it work correctly. |
Had a look into this problem and i think i know why some users show up double.
If you send a new activation mail from AdminCP (user contacted you to say they never received the mail??), vB will add a second record for that user into the 'useractivation' table, making this script see 2 waiting activations. Can you confirm this scenario? |
Quote:
also, is it safe to delete the contents in the useractivation table after this 'bug' have been fixed? or will it be fine to just leave it there as it is? |
The double entries in the useractivation table are not caused by this hack, it is standard vB behaviour. It is only that this hack don't check for double ones, so there should be no reason to manually remove entries from that table.
|
is there a way to intergrate checking for double IDs? i found it strange that close to every user that it sends out reminders to, are getting double.
|
you could try changing
PHP Code:
PHP Code:
|
Better to edit the manageActivation.php.
Find: PHP Code:
PHP Code:
PS I not tried my solution, so test it on a testboard first. Not tested, but i think that would do the trick. |
marcho your code got me this error, did i copy something wrong?
PHP Code:
|
What MySQL version are you using?
|
Quote:
|
Hmm not sure, will look if there are any clauses used that where not allowed in 4.0 a litle bit later.
|
Just checked this subquery is not allowed in MySQL 4.0. :(
Will have to rewrite it using LEFT JOINs. Will be a tough one. Will try if i can have a look this weekend. |
Quote:
|
i hope you guys didn't forget about me :(
|
Quote:
Is a bit hectic these days and i can't spend as much time as i would like on vB. Will try to find some time to have a look at your problem in the next days i hope. |
:D ok
|
another problem kinda. sometimes it would send a 3/5/8 day reminder to someone, then the next day it would send the same reminder again. for example, today user x got a 3 day reminder, tomorrow, he gets a 3 day reminder again.
|
Quote:
|
on the http://www.ebslive.com/confessions/?do=confess page, somehow
the vboptions[hometitle] confession box is about relief... the vbtoptions[hometitle] didn't parse, or that u forgot a $. that's on your site btw lol edit: i'm such a dumb ass sometimes, i posted on the wrong thread! lol |
I might just be really stupid but... do we delete the existing Manage Activation cron task?
I have a test account that keeps getting the standard one..minus the 'we will delete you in 2 days' and stuff. |
Does anyone know if this will still work with 3.5? (since it did not require file edits) :)
|
hmm I also have that problem where it sends a notice to the same users who received one the day before.
For example: June 27th: Quote:
Quote:
|
Quote:
Quote:
Quote:
|
I've just had a user receive an 8 day notice 3 days in a row.
Is there any way I can fix this? This is happening quite frequently on my setup. |
I like the hack, but I've got a problem - I set up a dummy account to see if it was working properly and while it said it emailed me for being 3 days delinquent (which was right), I never got the email (problem). I checked & I can email from vB OK, the hack just doesn't get the email there - any ideas?
thx |
Quote:
|
Problem 1 - I get the status/notification email, which says it sent a reminder to my test account email, but I never get that email at my test account. Somehow the email reminder does not go out.
Should the chdir line look something like this? chdir('/home/public_html/forums/') Problem 2 - I'm getting about 100 emails giving me status/notification (3 day users notified, etc) - a few every few minutes - I'd like to fix this. |
All times are GMT. The time now is 07:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|