![]() |
Un-Activated User Management
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. |
Wow, very nice, going to install!!
|
very sweet hack. Could this work for users that are activated but are inactive for a period of time that i set?
Mark |
I have another hack in my profile that handles inactive members, refertech. It's in beta hacks but it will probably be moved to full releases in a few days. It seems solid.
Amy |
Great. Your the man i mean lady.
Thanks, :) |
Normally I don't bug people about clicking install, but I have a feeling this hack will wind up acquiring new features in the future. If you want to receive the update email, clicking install would make that happen.
|
nice hack, I have a problem with those unconfirmed users, and i'm definitively installing this hack! thanks!
|
Is this configured in the admin cp? Got any screen shots?
|
Say someone registers and their userid is 100. If they turn out to be innactive and don't activate, then would there be a way to have the other usernames that registered and activated after them, say 101, 102 and 103, all drop down and fill the gap? So they would now be 100, 101, and 102? That would be cool. :)
|
that's a great hack i got 30 un activated accounts on my board, it's annoying
|
[high]* refertech clicks install. :)[/high]
|
Quote:
The user.userid field is the primary key for the user table. Mysql autoincrements & assigns the field value as each row is created. Anyhow, if you could change it, and did... all the posts, PMs, subscribethread records etc. would then be associated with the "wrong" userids. |
Oh yeah I tried something like this once and that's what happened. It's probably possible with a huge query, but probably not worth the effort. You're right ;)
|
Quote:
No screenshots because there are no screens. It's a silent script that runs via cron. Amy |
Quote:
(Just noticed Sparky handled that one. Thank you Sparky) Amy |
19 out of 20 times the reason they haven't completed their registration is due to them not receiving the e-mail in the first place and sending them more could be a waste of time.
The reasons I have noticed range from their inbox being full, their privider considering them spam, their provider not accepting from your host to them giving a bogus address. My site often has problems contacting hotmail, AOL and various other un-heard of providers. Lately my site cannot contact msn.com e-mail users at all. I can see a lot of e-mails comming from people complaining that they keep registering and it doesn't work. I see no way to win this situation but if it were only due to the new registrants laziness or stupidity in completing the process rather than for all the other reasons this is a nice hack anyway. |
I ban hotmail because of that problem. I agree that the emails are probably not being received, but heck it's automated and doesn't waste my time. :D
Amy |
Will this affect already unactivated users?
|
Very good idea amy :)
[high]* Mist likes [/high] - miSt |
Quote:
Amy |
BuMp Installed
|
Quote:
Amy |
Quote:
|
Great Hack. there people are a hassle to manage. Most people just enter their email address incorrectly or attempt to gain access to the forum without ever intending to complete the registration. This will keep out the interlopers. I will probably make a change and only give them 7 days total before deletion.
thanks! - jeff |
Glad you like it, Jeff :)
Amy |
Just a suggestion:
Installing this hack: https://vborg.vbsupport.ru/showthrea...ght=activation as well, will probably ensure that people who don't receive the email will know to contact you for assistance. Amy |
Installed hack but emails being sent out are without content or subject.
Can you confirm that the manageActivation.php file should be in the forums/admin directory or the foums directory? Have tried both but when in forums dir nothing happens and when in the forums/admin dir just get the blank email. Accounts over 10 days without activation are deleted OK. |
It goes in the forums directory. If blank emails are being sent out, the templates are probably not installed in the style set that either you or your cron script are using.
Amy |
OK, have made sure that the templates are in all styles. Now the email being sent out does not show Username or Activation ID.
What they get is: Quote:
Any ideas? |
It doesn't sound like you have the correct stuff in the templates. There are 3 different email message templates. The line you are quoting appears in the middle of my 3 templates, and not at the beginning.
Amy |
I know it is in the middle. I am just quoting the relevant bit. The script isn't pulling anything except the users email address. The activation code is not being filled with the relevant user ID number or the activation code number. Here is what is being sent out to unactivated users using your script (unmodified):
Quote:
At the moment, if someone who has been a member for over 10 days and has simply changed their email address but not activated it yet and the script is run then their account is deleted automatically. Is there any way to add functionality by checking join date and if that is over say 10 days old that the account isn't deleted. I know I'm asking a lot but how about those accounts with join dates over 10 days old but not activated because of a change in email address that have at least 1 post have their User Title changed to something in bold red that they are going to be deleted if not activated within another 10 days? Just thinking aloud. I think the script is a great idea and reduces workload but I need to make sure that it works. I have over 60,000 registered users and get over 50 new ones a day so deletion of unactivated users is a chore. |
I installed (thanks Amy!) and have empty personal content on the email also.
I created the three templates for content, and one for the subject matter. However on the first night the cron sent email, there is no content that will help my members register.... The manageActivation.php isn't pulling personal info into the template although the $username and $userid snips are in there...just as Capt PPRune. Any ideas? |
I'll check it again regarding the missing info.
Regarding the admin directory, it doesn't work as a cron script in the admin directory. What I recommend is changing the name of the script to something only you know. However, I am also going to put a password option in it. Amy |
OK. I put a password on the file. Change it in the php file to be whatever you choose. It's not the most secure thing in the world but is better than nothing.
The info is also showing up now. The zip had the wrong php file in it. To upgrade, simply edit the file to reflect your desired password and upload it. You will have to run the file like this: http://www.yourforums.com/forums/man...sword=password Amy |
I am getting a 404 error now......
and yes I put my url in... |
I don't get a 404 error when I go to your page:
http://www.usodja.com/forums/manageActivation.php I just get a no permission error. Amy |
no, i put in the password part like above and it goes 404
I have not changed passwords yet (until it works) And yes I get what you get above, so even as admin, it will not let me do it... |
Check your PM USODJA.
Amy |
Cool, and dealt with, now for a cron problem ( I am removing some of the url to hide real direct) I get these two error lines back from the cron output.
/home/forums/manageActivation.php: line 3: syntax error near unexpected token `require('./global.php')' /home/forums/manageActivation.php: line 3: ` require('./global.php');' |
I am not really a cron expert. I typically run cron jobs using Lynx. Do you have any php cron jobs that work on your site without Lynx?
|
All times are GMT. The time now is 10:43 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:
|