View Full Version : Administrative and Maintenance Tools - Un-Activated User Management 3.1
sabret00the
08-20-2006, 10:00 PM
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. If you install this you should show your gratitude in her direction as without her it wouldn't have been possible.
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.
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 :D
oh yeah, it emails you to tell you who was deleted, emailed so you're always informed.
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.
v2.x Contributors Include: Boofo, psico, sv1cec and jlurken
v3.x Contributors Include: Paul M
UPDATED: now 3.6 compliant.
Arabic version thanks to Almotmaiz.Net (https://vborg.vbsupport.ru/member.php?u=73578)
jackalz
08-21-2006, 10:42 AM
At first, thanks.
I want to not delete but move usergroup(e.g. banned usergroup).
What can I do?
sabret00the
08-21-2006, 10:47 AM
I want to not delete but move usergroup(e.g. banned usergroup).
What can I do?
this is untested but in the manageActivation.php find:
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "post SET username = '" . $db->escape_string($user['username']) . "', userid = 0 WHERE userid = " . $user['userid']);
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "user WHERE userid = " . $user['userid']);
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "userfield WHERE userid = " . $user['userid']);
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "usertextfield WHERE userid = " . $user['userid']);
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "access WHERE userid = " . $user['userid']);
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "customavatar WHERE userid = " . $user['userid']);
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "moderator WHERE userid = " . $user['userid']);
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "pm WHERE userid = " . $user['userid']);
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "subscribeforum WHERE userid = " . $user['userid']);
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "subscribethread WHERE userid = " . $user['userid']);
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "session WHERE userid = " . $user['userid']);
and replace with $vbulletin->query_first("UPDATE " . TABLE_PREFIX . "user SET usergroupid = 11 WHERE userid = " . $user['userid']);
however consider this whole post unsupported, i.e. any problems arrise i won't solve them.
RS_Jelle
08-21-2006, 10:53 AM
* RS_Jelle clicks install for this one and uninstall for the old one :)
RS_Jelle
08-21-2006, 11:01 AM
It gives a fatal error when running the task, but it's easy to fix:
FIND (line 63)
$db->escape_string
REPLACE WITH
$vbulletin->db->escape_string
sabret00the
08-21-2006, 11:09 AM
Fixed
RS_Jelle
08-21-2006, 11:12 AM
Fixed
There are two folders now in the zip file ;)
Edit: maybe you can add a url tag to the product (that's easy to manage your products in vB 3.6):
<url>https://vborg.vbsupport.ru/showthread.php?t=124530</url>
sabret00the
08-21-2006, 12:12 PM
i'll add that sometime this evening :)
imported_pmay68
08-21-2006, 02:29 PM
I know this is probably a stupid question but what is the varname in the cron setup?
Can someone give me in lamers terms how to set the cron up.. Hehehe Stupid here needs to know :)
RS_Jelle
08-21-2006, 03:26 PM
I know this is probably a stupid question but what is the varname in the cron setup?
Can someone give me in lamers terms how to set the cron up.. Hehehe Stupid here needs to know :)
I'm to lame to type it, so here is a screenshot of it :D
http://img77.imageshack.us/img77/3065/unactivatedusersvbmanagerscreenhh8.th.png (http://img77.imageshack.us/my.php?image=unactivatedusersvbmanagerscreenhh8.pn g)
You can give it a description and other junk, but I added it before vB 3.6 (and I'm to lame to add one). It works fine, so it's ok for me :)
bchertov
08-22-2006, 04:11 AM
Is there any support for check when an un activated user logs on?
That would be a great time to get them to activate!
Also I'd hate to delete users how have logged on since their registration, but failed to activate.
Barry
sabret00the
08-22-2006, 12:48 PM
Is there any support for check when an un activated user logs on?
That would be a great time to get them to activate!
Also I'd hate to delete users how have logged on since their registration, but failed to activate.
Barry
nope, afraid not, this just goes off of days.
Snake
08-22-2006, 12:54 PM
Sweet!
BETIServices
08-22-2006, 08:19 PM
A Life saver ... is getting better and beter here :D
DruidToolz
08-23-2006, 03:48 PM
Ok this might be a dumb thing to say but what your saying is that this delete those that are in the "Users Awaiting Email Confirmation" after so many days if not activated.. if this is the case I will install this onto my board.. :)
sabret00the
08-23-2006, 03:50 PM
Ok this might be a dumb thing to say but what your saying is that this delete those that are in the "Users Awaiting Email Confirmation" after so many days if not activated.. if this is the case I will install this onto my board.. :)
that is indeed what i am saying.
DruidToolz
08-23-2006, 03:51 PM
awesome.. :) Clicks installs..
Ok i installed it.. Wondering if i should follow that image that was shown above.. if so then i did everything right.. :)
DementedMindz
08-23-2006, 10:34 PM
sabret00the thanks and nice work.
Neal-UK
08-24-2006, 03:27 PM
I get about 3 e-mails when it sends the e-mail reminder and information.
Will my users get all these too?
I've set it for once a day, at 12 via cron
Neal-UK
08-25-2006, 03:54 AM
had to remove this, sending e-mails when it wants and about 10 now each time!
sabret00the
08-25-2006, 08:56 AM
three emails, you have set the cron job up correctly right?
Neal-UK
08-25-2006, 02:34 PM
Yeah, set to once a day.
This is an excellent hack, can you show us how you have set up your cron job as I really want and need this.
sabret00the
08-25-2006, 02:50 PM
Personally i edit the "Activation Reminder Email" cronjob and just change the url from "activate.php" to "manageActivate.php" and that's it.
Neal-UK
08-25-2006, 03:01 PM
Ok, i will try that and see what happens.
Is there a similar mod for those who have not posted?
sabret00the
08-25-2006, 03:06 PM
sadly, not by me.
Neal-UK
08-25-2006, 03:06 PM
Did that and get this when I ran it:
Warning: main(/***/****/*****/****/***/**/****/forum/./includes/cron/manageActivate.php) [function.main]: failed to open stream: No such file or directory in /admincp/cronadmin.php on line 108
Warning: main() [function.include]: Failed opening '/****/***/***/****/***/**/******/forum/./includes/cron/manageActivate.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 108
Ninth Dimension
08-25-2006, 06:32 PM
Nice hack, thank you
/install
DruidToolz
08-26-2006, 11:38 PM
Did that and get this when I ran it:
Did you physically upload manageActivate.php from your FTP client to your cron folder on your web server.. If you haven't that error that you got might be the result of not uploading it.. Also make sure you have the settings correct in your Scheduled Tasks.. I'm not an expert on these things like most of these people, but the directions they give seem to work for me.. :)
Black Tiger
08-26-2006, 11:54 PM
This is great, I was looking for something like this already. Thanks to everybody who made this possible.
And I clicked "installed this hack" ofcourse.:)
Ninth Dimension
08-27-2006, 02:01 PM
I've just signed-up a dummy account on my site and left it un-activated to test this mod out... I'm not saying that it doesn't work or anything, I'm just curious :)
sabret00the
08-27-2006, 04:40 PM
Did that and get this when I ran it:
seems like you got the filename wrong, change it to "./includes/cron/manageActivation.php".
Kihon Kata
08-28-2006, 04:27 PM
UPdated mine! seems to work when I run it manually
DruidToolz
08-28-2006, 11:51 PM
mine works.. everyday i get an email on who has not activated there account and how many days they have left, etc.. Which is good since i don't have to run it manually :)
thedvs
08-29-2006, 06:41 PM
great mod thank you very much! thanks amy too!
aciurczak
09-05-2006, 12:24 PM
Seems to work fine for me; great addition!
aciurczak
09-06-2006, 11:04 AM
Doh! I set it up in the cron at a specified hour, but left the minutes at *. This means it sent it out every minute until I caught it and fixed it.
Also noticed in there that stock vB is sending out reminders at 1 days and 5 days already, are folks disabling that stock reminder when using this one?
Darat
09-06-2006, 11:47 AM
Just want to check something about this mod.
If I install this and I have a member who changes their email address (we verify email addresses so their usergroup gets set to "Users Awaiting Email Confirmation" until they've "re-activated" their account) and they don't confirm their new address this won't delete their account will it?
sabret00the
09-06-2006, 01:09 PM
Just want to check something about this mod.
If I install this and I have a member who changes their email address (we verify email addresses so their usergroup gets set to "Users Awaiting Email Confirmation" until they've "re-activated" their account) and they don't confirm their new address this won't delete their account will it?
nope this only deletes users with zero posts.
sabret00the
09-06-2006, 01:10 PM
Doh! I set it up in the cron at a specified hour, but left the minutes at *. This means it sent it out every minute until I caught it and fixed it.
Also noticed in there that stock vB is sending out reminders at 1 days and 5 days already, are folks disabling that stock reminder when using this one?
personally i just change the stock vB activation cronjob to point to this one.
Darat
09-06-2006, 02:27 PM
nope this only deletes users with zero posts.
That's great - thanks very much for this hack - saved me some housekeeping.
Darat
09-07-2006, 08:30 AM
Just noticed the contact email address wasn't appearing in the emails, the "If you are still having problems signing up please contact a member of our support staff at $webmasteremail" - I've changed that to $vboptions[webmasteremail] and it seems to be working fine.
DruidToolz
09-07-2006, 02:21 PM
Ok.. This might be something to look at but i had a member contact me about them getting the activation reminder in there mail box.. The thing is that they have been a member for awhile and have over 100 posts.. And I have been getting the activation on a daily basis.. I just thought you might want to see if anyone else is having this problem
Dermo-MIO
09-07-2006, 04:37 PM
iv installed it just hope it works
Dermo-MIO
09-07-2006, 10:05 PM
this caused my forum alot of harm im getting database errors all the time i have removed the product and i am about to remove everything else belong to this, dude shouldnt release it if it causes these problems honestly
juan71287
09-07-2006, 11:41 PM
How can I do the CRON commands better? I mean, I did it how RS_Jelle said, but all that did and keeps doing is destroying my DB after a few houres. So, can someone take another SS of how it should look like on 3.6? THankx.
Dermo-MIO
09-10-2006, 02:31 PM
i got 536 database error emails for this its a crazy hack in all hosnestly
DementedMindz
09-10-2006, 06:56 PM
i got 536 database error emails for this its a crazy hack in all hosnestly
you didnt do something right I have had this installed since they released it with no errors at all.
aciurczak
09-11-2006, 06:38 PM
No db errors here either; hack's working fine.
juan71287
09-11-2006, 06:44 PM
So like can someone explain the CRON command set up :)?
phonexpo
09-15-2006, 09:18 PM
Installed, and working 100% !
Patrick
www.phonexpo.ie
Mr Peabody
09-16-2006, 12:43 AM
this sort of thing should be standard!
Cheers
Black Tiger
09-16-2006, 07:03 PM
This is already standard, but you can't setup yourself and it does not delete automatically. It just sends messages a couple of days.
So this hack is great!
DementedMindz
09-16-2006, 11:06 PM
How is this standard? Can you point me to it in admincp?
Team17
10-02-2006, 12:34 PM
Hi,
I've installed this hack and on my test account I get the 3 day warning on the 3rd and 4th days, the 5 day on the 5th and 6th etc. I've made some modifications to the script, I hope they are useful to others:
$day = (int)((($currentday - $user['joindate'])/86400)+0.5)
This casts $day to an integer (rounding .5 up and anything under down)
I think before I was getting a mail when $day was 2.5 and when it was 3.5.
Additionally I've changed the if commands to the form:
if ($day == 3) // Email users who have not activated after 3 days.
since they will now be exact numbers.
aciurczak
10-02-2006, 02:51 PM
I was getting the same behavior, and hadn't yet had the patience to track down why the notices may have been going out twice. Thanks for taking the time! :)
ombossman
11-08-2006, 11:26 AM
how to make this settings ??
Set up your cron job to run the script once a day using vBulletin's default system "Scheduled Tasks"
please tell me step and step
DruidToolz
11-08-2006, 11:37 AM
I don't understand why alot of you are having a problem installing this hack or getting DB errors on top of that.. Unless your running something that interfere's with this hack then u might have a problem or even have another file called the same name... Then it might be good not to install the hack..
But for those that you want to install it just read the readme file and you will be able to install it with no problem.. Just try not to change things that you don't understand how it works etc.. If you do you will get DB errors (like some people here are getting).. But anyhow this hack works great for me and it has been working for awhile now.. ^.^ But on a side note to those that do install it.. Remember once the list of "Users Awaiting Email Confirmation" runs out this hack stops working until you get more people that haven't activated there accounts, then u will see the email again..:) Good luck to everyone
tekstylez
11-16-2006, 12:42 PM
How do I un-install this? My users are recieveing 15 emails a day from this thing. I uninstalled the product and the disabled the scedualed task, but they keep getting emails.............
coffee
11-17-2006, 11:55 PM
Installed!
Thank you, sabret00the.
SloppyGoat
11-18-2006, 06:55 PM
Alright, I installed this, then registered a test unactivated user. That user has received the 3 emails since 11/06. When exactly is it supposed to delete this user? 10 days after when? After the last email? Can we speed this up a bit? I think we're giving them too much time, myself....or is this not working right, and this user should've been deleted already?
SloppyGoat
11-19-2006, 05:06 AM
This has done nothing except email the same 3 verification notices. One on the 6th, 8th, and 12th. The user hasn't been deleted yet. What's wrong with it?
coffee
11-19-2006, 05:14 AM
On my side it's working perfectly (3.6.3 here), and deleted more than 50ppl emailed some 15 others ..
The olny thing I did was this: https://vborg.vbsupport.ru/showpost.php?p=1088327&postcount=54 (Thanks to Team17).
SloppyGoat
11-19-2006, 05:25 AM
Ok, I believe it's going to work now, but how do I stop it from emailing me everytime it runs? I can look at the logs. I don't need a daily email. Or maybe just have it email me when it actually deletes someone.
It's that crazy scheduling that makes this kind of goofy.
NiTRoN
11-19-2006, 09:00 AM
Ok, I believe it's going to work now, but how do I stop it from emailing me everytime it runs? I can look at the logs. I don't need a daily email. Or maybe just have it email me when it actually deletes someone.
It's that crazy scheduling that makes this kind of goofy.
goto VBULLETIN OPTIONS/Un-Activated.... and turn it off
HellRazor
11-19-2006, 11:44 AM
You should add an option for it to only send an email to you when there were emails sent to unregistered users (so you don't receive a notification when there were no unregistered users to notify). :)
coffee
11-19-2006, 01:15 PM
HellRazor, Find This:
if ($vbulletin->options['uac_notifyadmin'])
{
vbmail("" . $vbulletin->options['webmasteremail'] . "","Activation Reminder Report (Activation Notification)", $logmessage, "From: \"" . $vbulletin->options['bbtitle'] . " Mailer\" <" . $vbulletin->options['webmasteremail'] . ">");
}
Replace with the next:
$testemailvars = $threedayemail . $fivedayemail . $eightdayemail . $deletedusers;
if ($testemailvars<>'NoneNoneNoneNone')
{
if ($vbulletin->options['uac_notifyadmin'])
{
vbmail("" . $vbulletin->options['webmasteremail'] . "","Activation Reminder Report (Activation Notification)", $logmessage, "From: \"" . $vbulletin->options['bbtitle'] . " Mailer\" <" . $vbulletin->options['webmasteremail'] . ">");
}
}
SloppyGoat
11-20-2006, 11:48 AM
goto VBULLETIN OPTIONS/Un-Activated.... and turn it off
HAHA!!! Ok, I'm on medication! Nobody laugh!!! There it was all the time. :confused: Thanks! I got it it working now. Great hack! *goes to click install*
perfphysio
11-24-2006, 10:31 AM
since upgrading the 3.6.3 I have encontered the following error
Database error in vBulletin 3.6.3:
Invalid SQL:
SELECT u.username, u.userid, u.email, u.joindate, ua.activationid, u.languageid
FROM vb_user u
LEFT JOIN vb_useractivation ua ON (u.userid = ua.userid)
WHERE u.usergroupid = 3 AND u.posts = 0;
MySQL Error : Can't open file: 'vb_useractivation.MYI'. (errno: 145)
Error Number : 1016
Date : Friday, November 24th 2006 @ 04:30:40 AM
Script : http://www.physiobob.com/forum/admincp/cronadmin.php?do=runcron&cronid=9
Referrer : http://www.physiobob.com/forum/admincp/cronadmin.php?do=modify
IP Address : 81.149.142.220
Username : physiobob
Classname : vb_database
Any ideas
sabret00the
11-24-2006, 10:44 AM
since upgrading the 3.6.3 I have encontered the following error
Database error in vBulletin 3.6.3:
Invalid SQL:
SELECT u.username, u.userid, u.email, u.joindate, ua.activationid, u.languageid
FROM vb_user u
LEFT JOIN vb_useractivation ua ON (u.userid = ua.userid)
WHERE u.usergroupid = 3 AND u.posts = 0;
MySQL Error : Can't open file: 'vb_useractivation.MYI'. (errno: 145)
Error Number : 1016
Date : Friday, November 24th 2006 @ 04:30:40 AM
Script : http://www.physiobob.com/forum/admincp/cronadmin.php?do=runcron&cronid=9
Referrer : http://www.physiobob.com/forum/admincp/cronadmin.php?do=modify
IP Address : 81.149.142.220
Username : physiobob
Classname : vb_database
Any ideas
Run a repair on your useractivation table.
HellRazor
11-24-2006, 11:04 AM
HellRazor, Find This:
if ($vbulletin->options['uac_notifyadmin'])
{
vbmail("" . $vbulletin->options['webmasteremail'] . "","Activation Reminder Report (Activation Notification)", $logmessage, "From: \"" . $vbulletin->options['bbtitle'] . " Mailer\" <" . $vbulletin->options['webmasteremail'] . ">");
}
Replace with the next:
$testemailvars = $threedayemail . $fivedayemail . $eightdayemail . $deletedusers;
if ($testemailvars<>'NoneNoneNoneNone')
{
if ($vbulletin->options['uac_notifyadmin'])
{
vbmail("" . $vbulletin->options['webmasteremail'] . "","Activation Reminder Report (Activation Notification)", $logmessage, "From: \"" . $vbulletin->options['bbtitle'] . " Mailer\" <" . $vbulletin->options['webmasteremail'] . ">");
}
}
Awesome, thank you!
coffee
11-24-2006, 06:59 PM
You're most welcome :)
jluerken
11-25-2006, 09:13 PM
After a board update to 3.6.4 the users are listed twice
manageActivation Complete;
3 Day Reminder Sent To: FlaTroN, FlaTroN, dna bg, dna bg, tony de sousa, tony de sousa.
5 Day Reminder Sent To: senteniel, senteniel, sandu_chirita, sandu_chirita.
8 Day Reminder Sent To: None.
Users Deleted: Denver474.
tekstylez
12-05-2006, 02:04 PM
How do I un-install this? My users are recieveing 15 emails a day from this thing. I uninstalled the product and the disabled the scedualed task, but they keep getting emails.............
Red Spider
12-25-2006, 12:37 AM
EXCELLENT! Just What i needed :)
dilbert
12-25-2006, 02:20 AM
/me installs.
Thank you.
RS_Jelle
12-25-2006, 08:18 AM
Maybe you can change the "manageActivation Complete" text? It's a bit a strange start of the daily report mail :)
I first thought there was a phrase missing. Maybe you can phrase it?
A bug: it deletes members who set a new email address and don't confirm it by reactivating their account (after one day already).
ickie
01-05-2007, 09:19 PM
I installed this last night, and I use 3.6.2 and it works perfect.
Thank you.
I read all the posts on this, and seen there was some questions by others that wasn't really answered correctly.
This is what I did.
1) upload manageActivation.php to the forums/includes/cron folder
2) in my control panel I added this product product-uam3_sabret00the.xml
3) I setup a cron job, "varname" was an issue, see my pic
https://vborg.vbsupport.ru/
4) turn on this plugin, see pic
https://vborg.vbsupport.ru/
I hope this helps
maroceve
01-31-2007, 12:08 PM
This might be a stupid question but .... :
I have around 10 000 UAEC, Will this hack "once installed" consider them as new accounts and does this :
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
OR : since it's been more than 10 days that the accounts were created, it will Delete them automatically ?
dilbert
01-31-2007, 04:07 PM
I had far less than you, about 100, and they were all deleted when I installed it.
maroceve
01-31-2007, 07:23 PM
Thanks god i asked.
Thanks for the info
Alfa1
02-04-2007, 02:32 PM
Thanks god i asked.
Yes, indeed. Can someone fix this?
aciurczak
02-04-2007, 06:32 PM
Why is it a problem? Why would you want to treat new members who don't confirm their email address different than older members who haven't done the same? It doesn't delete any users who have > 0 posts, so anyone who ever participated on the board won't be deleted no matter what.
bchertov
02-05-2007, 04:36 AM
Why is it a problem? Why would you want to treat new members who don't confirm their email address different than older members who haven't done the same? It doesn't delete any users who have > 0 posts, so anyone who ever participated on the board won't be deleted no matter what.But if a user gets back on the system without confirming their email, they should also not be removed. As I remember, this hack doesn't check for last activity date > join date. It would be simple to amend...
tanyeri24
02-25-2007, 06:13 PM
freaking' good idea, thanks a lot.
tanyeri24
03-01-2007, 02:50 PM
hundreds of users was deleted but on forumhome there is anyways same registered members count, how possible? deleted or not deleted i am confused.
bigmonay2k
03-13-2007, 09:26 AM
I know this is probably a stupid question but what is the varname in the cron setup?
Can someone give me in lamers terms how to set the cron up.. Hehehe Stupid here needs to know :)
can someone explain it to me thanks
Spinball
03-13-2007, 10:19 AM
Why is it a problem? Why would you want to treat new members who don't confirm their email address different than older members who haven't done the same? It doesn't delete any users who have > 0 posts, so anyone who ever participated on the board won't be deleted no matter what.
People who have several thousand posts should not have their accounts deleted simply because they have gone on holiday before they could reactivate their account.
And where in the hack instructions does it say it doesn't delete members with > 0 posts?
If this is the case (and I hope it is since it's a good thing) then it should certainly say so in the instructions.
Neo_Angelo
03-13-2007, 10:51 AM
It does exactly what it says on the tin, excellent i'll be installing this when i get the net back at home (stupid school computers prevents downloads of ANYTHING :( ) excellent job Amy ^_^.
aciurczak
03-13-2007, 01:26 PM
And where in the hack instructions does it say it doesn't delete members with > 0 posts? If this is the case (and I hope it is since it's a good thing) then it should certainly say so in the instructions.
See this post: right here. (https://vborg.vbsupport.ru/showpost.php?p=1069238&postcount=38)
Not sure if it is in the hack's original instructions or not.
KHALIK
03-14-2007, 08:43 PM
I installed this last night, and I use 3.6.2 and it works perfect.
Thank you.
I read all the posts on this, and seen there was some questions by others that wasn't really answered correctly.
This is what I did.
1) upload manageActivation.php to the forums/includes/cron folder
2) in my control panel I added this product product-uam3_sabret00the.xml
3) I setup a cron job, "varname" was an issue, see my pic
http://www.ickie.net/varname.jpg
4) turn on this plugin, see pic
http://www.ickie.net/look.jpg
I hope this helps
Big-Up :) to you for doing the screenshots, without the screenshots I would not have installed this hack.
clicks install :D
bada_bing
03-15-2007, 02:21 AM
Any chance of adding a feature where the times can be changed witin admincp ? example instead if checking after 3 days I can change to to 5 days or 7 days and so on?
Phillip Chapman
04-25-2007, 03:57 PM
I've been using this for the past month on a 10,000 member board. It's been great and helped tremendously in pruning members.
However, recently the reports are showing that one user in particular is receiving an e-mail twice. The membername is listed twice in the reports each time, even though obviously this person only has one account.
Is there anything that can be done to fix this?
djbaxter
04-25-2007, 04:08 PM
Have you checked your database? Is it possible there are two records for that user?
Phillip Chapman
04-25-2007, 04:40 PM
Have you checked your database? Is it possible there are two records for that user?
The vB control panel is only showing one account for that membername. How would I go about checking the database and fixing it if indeed that's the problem?
Thanks in advance for any help that you guys can provide.
djbaxter
04-25-2007, 04:47 PM
phpMyAdmin
wilburshere
04-26-2007, 11:46 AM
ill give it a test run on me test site first but looks good
Almotmaiz.Net
04-26-2007, 02:36 PM
nice >> installed :D
ARABIC Lang in Attachment
:up:
Phillip Chapman
04-28-2007, 01:14 PM
Ok... the same thing happened again with another new member appearing twice in the 3-day report.
Interestingly, in the earlier scenario I posted about a few days ago, when the 5-day report was sent to the previous 3-day duplicate member, he was only shown once in the 5-day report.
Brilliant hack! Installed and working.
Tri@de
05-16-2007, 04:38 PM
There's a way to change days for reminder mail?
mahakala
05-27-2007, 09:30 AM
thanks for this mod !
blackvborg
05-30-2007, 08:21 PM
is it possible to customize the emails sent?
Mrdby
06-02-2007, 04:38 PM
where do we go to set the cron?
djbaxter
06-02-2007, 04:44 PM
Admin CP | Scheduled Tasks | Scheduled Task Manager
maroceve
07-12-2007, 08:32 AM
Well in my case, it deleted 10 000 members :D ...As soon as the cron worked.
Good thing i guess...
Alfa1
07-12-2007, 10:54 AM
The problem I see in this is that many of those members do want to activate their account, but the email from your site land in their overzealous spam filters. A simple check will show you that most of the un-activated member accounts have hotmail, yahoo or other email providers with overzealous spam filters. You do not solve that by emailing or erasing those members. Why not add a PM copy or a way to surpass those spam filters?
Fenriz
07-19-2007, 03:45 PM
Hi! As I see in logs, it sends the 3-day notification message on 3 and 4 days, 5-day n.m. on 5 and 6 days and 8-day n.m. on 8 and 9 days. Is there any chance to send it just on 3, 5 and 8 days as it should be?
MiahBeSmokin420
08-16-2007, 10:18 PM
Is This Confirmed To Work With
vB Version 3.6.7
???????????????
Dannyloski
08-20-2007, 09:32 PM
Might install this, still debating it ...
djbaxter
08-20-2007, 09:36 PM
Is This Confirmed To Work With
vB Version 3.6.7
Yes. It works fine on 3.6.7 and 3.6.8.
Might install this, still debating it ...
Stop debating and install it - great add-on which saves a lot of admin time. I've had it installed for some time now over three or four upgrades at least. No problems with it at all and no conflicts with any other add-ons.
crxrocks
08-20-2007, 09:59 PM
Yes. It works fine on 3.6.7 and 3.6.8.
Stop debating and install it - great add-on which saves a lot of admin time. I've had it installed for some time now over three or four upgrades at least. No problems with it at all and no conflicts with any other add-ons.
Exactly. I figured it would stop working after an upgrade or two but it just keep doing what it is meant to do - great mod.
Mr Peabody
08-22-2007, 08:32 AM
This should be standard in VB, such a pain in the arse to have to do it manually.
Mrdby
08-22-2007, 03:52 PM
can we mass prune with this?
Delphiprogrammi
08-29-2007, 03:57 PM
i didn't test this but ....
$logmessage = construct_phrase($vbphrase['task_activation_log'],$threedayemail,$fivedayemail,$eightdayemail,$dele tedusers);
log_cron_action($logmessage, $nextitem,1);
manageActivation Complete; \n 3 Day Reminder Sent To: "{1} ".\n\n 5 Day Reminder Sent To: "{2}". \n\n 8 Day Reminder Sent To: "{3} ". \n\n Users Deleted: "{4}".";
will phrase the cronlog ?
jokerz
08-31-2007, 05:11 AM
Nice nice, will see if it's working to delete unactivated user :)
Yes it does work with 3.6, such as Version 3.6.8 latest
djbaxter
08-31-2007, 07:58 AM
can we mass prune with this?
That's not the purpose of this add-on. This only affects members who register but never validate their accounts by following the activation link in the email verification message. Some of those are likely bogus email addresses; others may have changed their minds about joining. But either way, they are not going to be posting.
Alfa1
09-06-2007, 03:33 PM
I request a PM feature, which informs unactivated members that a activation email has been sent to their email account, but their account has not been activated yet and tells them to check their spam filters.
The majority of inactivated users are caused by spam filters.
djbaxter
09-06-2007, 03:59 PM
I request a PM feature, which informs unactivated members that a activation email has been sent to their email account, but their account has not been activated yet and tells them to check their spam filters.
The majority of inactivated users are caused by spam filters.
If they haven't activated their memberships, they won't be able to read their PMs. That's why email is used.
BadgerDog
09-06-2007, 05:41 PM
Ok, installed this, then did a RUN NOW to test....
Got this message below on the screen when it ran, but never received an email, so... anyone help me out as to the problem?
Also, I assume the good news is that it deleted two users who had never validated their email link and it was more than 10 days ago?
Email users to remind them to activate account
ActivationID created to 7018
Deleted 7018
ActivationID created to G. W. Gill
Deleted G. W. Gill
Fatal error: Call to a member function query_first() on a non-object in XXXX/includes/class_mail.php(266) : eval()'d code on line 4
I XXXX'd out some link data for privacy..
Thanks ... :)
Regards,
Badger
BadgerDog
09-07-2007, 09:50 AM
I realize that this mod is not supported, but I was hoping that someone else here with more experience and knowledge with it could suggest where to look to solve the above problem?
This mod would be really helpful to me if I could get it working.... :)
Any suggestions would be appreciated.....
BTW, I run v1.09 of the Inactive Users Email mod, the Manage Bounced Email mod, plus all of the standard vBulletin email sending processes and they work fine, so I know my system can handle the sending of emails.
Line 4 in class_mail.php is just the start of the module and it's comments only, so I don't understand why this mod has a fatal error there? :confused:
Regards,
Badger
Alfa1
09-07-2007, 11:57 AM
If they haven't activated their memberships, they won't be able to read their PMs. That's why email is used.
I see. It would be good to to override that. The EZbounced email hack overrides this, so it must be possible to add this feature. I think this would be very effective in helping with unactivated user management.
djbaxter
09-07-2007, 04:58 PM
I request a PM feature, which informs unactivated members that a activation email has been sent to their email account, but their account has not been activated yet and tells them to check their spam filters. The majority of inactivated users are caused by spam filters.
I'd guess that the majority of non-activated users for many forums, including mine, are invalid email addresses. In the "tech support" section, we have a post explaining how to avoid filters using the address book or whitelist.
If they haven't activated their memberships, they won't be able to read their PMs. That's why email is used.
I wouldn't give unactivated members access to PMs. That's just begging for PM spam, especially since the spammer doesn't even have to provide a valid email address in order to be able to access the forum members.
I see. It would be good to to override that. The EZbounced email hack overrides this, so it must be possible to add this feature. I think this would be very effective in helping with unactivated user management.
:confused: Overiride what? The Ez Bounce add-on doesn't send PMs.
Alfa1
09-07-2007, 05:33 PM
Yes, it does. See here (https://vborg.vbsupport.ru/showthread.php?t=138884).
PM is sent to Member notifying them of bounced email & asking them to update email address
djbaxter
09-07-2007, 05:39 PM
Sorry, you're correct. What I meant to say was that it doesn't override access to PM permissions. And for the reasons stated above, I wouldn't want to give non-activated members access to the PM system.
The fact that EZ Bounce sends that PM is actually a bit annoying. If the member's registration email address is invalid, and the member is close to the limit for stored PMs or has PM email notification turned on, EZ Bounce generates 2 or 3 bounced emails instead of just the original. It's a little like the problem of autoreplies, where you get emails bouncing all over accomplishing nothing useful.
Alfa1
09-07-2007, 06:23 PM
Isn't it possible to automatically send the member a PM, without giving further access to the PM system? I think this is what EZ bounce does as well.
Ez bounce turns all email notification off, so sending out more emails is no issue.
djbaxter
09-07-2007, 06:30 PM
Isn't it possible to automatically send the member a PM, without giving further access to the PM system? I think this is what EZ bounce does as well.
Not as far as I know, no.
Ez bounce turns all email notification off, so sending out more emails is no issue.
I definitely still get bounce-backs regarding the "PM full" or "PM almost full" emails so it is an issue.
And I know I used to get additional bounce-backs for notifications - I suppose that may have been in an earlier version.
But that said, this is the Un-Activated User Management Thread. Perhaps further discussion about EZ Bounce should continue in that thread.
xandizitxu
09-08-2007, 01:44 AM
I want to delete all my users in 20 days if they don't login, this mod does this, I quite didn't understand if it doest it. Sorry my english sux!
djbaxter
09-08-2007, 01:49 AM
I want to delete all my users in 20 days if they don't login, this mod does this, I quite didn't understand if it doest it. Sorry my english sux!
You'd need to modify the code a bit for 20 days.
The way it works now is it sends reminder emails at 3, 5, and 8 days after registration. After that, if the member hasn't validated the registration by 10 days, he or she is deleted.
Alfa1
09-08-2007, 11:55 AM
But that said, this is the Un-Activated User Management Thread. Perhaps further discussion about EZ Bounce should continue in that thread.
Excuse me DJBaxter, I did not intent to focus the discussion on EZBounce. I only mentioned specific functions to illustrate functional possibilities for your hack, not in order to compare. Un-Activated User Management is something different and should not be compared.
djbaxter
09-08-2007, 12:00 PM
Excuse me DJBaxter, I did not intent to focus the discussion on EZBounce. I only mentioned it to discuss suggestions for your software.
Actually, this is sabert00the's add-on, not mine, so it would be up to him. :)
That said, I wouldn't want a PM solution for this add-on personally. If it were added as an extra option (email and/or PM), I suppose that would work because I'd just turn off the option for PMs.
xandizitxu
09-09-2007, 01:12 AM
It is spamming my users O.O can anyone post a screenshot how to set the cron?
BadgerDog
09-09-2007, 10:41 AM
Uninstalled .... :down:
Unable to solve the fatal error issue. vBulletin support says there's something wrong with the mods and they can't help.
Anyway, thanks to the author for the effort ... :)
Email users to remind them to activate account
ActivationID created to 7018
Deleted 7018
ActivationID created to G. W. Gill
Deleted G. W. Gill
Fatal error: Call to a member function query_first() on a non-object in XXXX/includes/class_mail.php(266) : eval()'d code on line 4
Regards,
Badger
Tynian
09-23-2007, 11:01 PM
Unable to solve the fatal error issue. vBulletin support says there's something wrong with the mods and they can't help.
r
Same problem. Is there any solution to this?
Ramsesx
10-11-2007, 01:34 PM
A registered and activated user changed the email and got deleted without a warning after one day. This was a useful hack for a long time, but now I can only suggest to not install this hack.
djbaxter
10-11-2007, 02:09 PM
A registered and activated user changed the email and got deleted without a warning after one day. This was a useful hack for a long time, but now I can only suggest to not install this hack.
I've been using this through several upgrades now and I've never seen that happen. In fact, the add-on sends out emails daily listing who got the 3-day, 5-day, and 8-day warnings so I can't even imagine how anyone would be deleted by the add-on after one day.
Are you certain the member didn't do something odd or forget to do something (e.g., hit the "Save" button after changing the email address)?
Ramsesx
10-12-2007, 02:25 AM
I've been using this through several upgrades now and I've never seen that happen. In fact, the add-on sends out emails daily listing who got the 3-day, 5-day, and 8-day warnings so I can't even imagine how anyone would be deleted by the add-on after one day.
Are you certain the member didn't do something odd or forget to do something (e.g., hit the "Save" button after changing the email address)?
The user registered on 25.07.2007 and was a regular and activated member, changed the email address on 10.10.2007 and got deleted yesterday. So this script seems only to compare two values, the registration time and the status of activation.
This means if a long time member changes the email and doesn't activate before the cronjob start than this member will be deleted. In the Activation Reminder Report mail, this user is listed too as deleted user.
djbaxter
10-12-2007, 02:30 AM
The user registered on 25.07.2007 and was a regular and activated member, changed the email address on 10.10.2007 and got deleted yesterday. So this script seems only to compare two values, the registration time and the status of activation.
This means if a long time member changes the email and doesn't activate before the cronjob start than this member will be deleted. In the Activation Reminder Report mail, this user is listed too as deleted user.
If this is confirmed, that's a serious problem with this add-on. :eek:
sabret00the
10-12-2007, 08:43 AM
The user registered on 25.07.2007 and was a regular and activated member, changed the email address on 10.10.2007 and got deleted yesterday. So this script seems only to compare two values, the registration time and the status of activation.
This means if a long time member changes the email and doesn't activate before the cronjob start than this member will be deleted. In the Activation Reminder Report mail, this user is listed too as deleted user.
he had zero posts?
Darat
10-12-2007, 08:49 AM
If this is confirmed, that's a serious problem with this add-on. :eek:
We approve all new account registrations and that means when someone changes an email address we have to re-approve the account. And that can take 24 hours or more and we've never had one instance when a member who has made posts has had their account deleted.
So if this is the case it can only happen to accounts with zero posts so it's not going to be a very serious in practice problem. (Since it will only delete an account with zero posts so that member would have the slight inconvenience of having to re-register but they could use the same user-name, email address and so on, again in practice not much more work than changing an email address.)
djbaxter
10-12-2007, 12:14 PM
if this is the case it can only happen to accounts with zero posts so it's not going to be a very serious in practice problem. (Since it will only delete an account with zero posts so that member would have the slight inconvenience of having to re-register but they could use the same user-name, email address and so on, again in practice not much more work than changing an email address.)
sabret00the, can you confirm that the add-on also checks for zero posts? I have temporarily disabled this on two forums until I can verify that it won't delete a member who has posted.
Ramsesx
10-13-2007, 08:08 AM
he had zero posts?
I think he had zero post but I'm not sure. I'll try to do a test with my test account.
hilfe-forum
10-13-2007, 08:25 AM
I think he had zero post but I'm not sure. I'll try to do a test with my test account.
Und gehts?
djbaxter
10-13-2007, 12:03 PM
I've just checked the script myself and it clearly requires zero posts before anyone is deleted:
SELECT u.username, u.userid, u.email, u.joindate, ua.activationid, u.languageid
FROM " . TABLE_PREFIX . "user u
LEFT JOIN " . TABLE_PREFIX . "useractivation ua ON (u.userid = ua.userid)
WHERE u.usergroupid = 3 AND u.posts = 0
Any user with zero posts who is deleted by changing an email address faces the minor inconvenience of re-registering. Not a big deal, in my opinion. The main worry I had (setting all the member's posts to "Guest") cannot occur, as far as I can see.
Ramsesx
10-14-2007, 07:33 AM
Users Deleted: Tester. This was my testaccount, registered since two years, yesterday I wrote a post with this one and after I changed the email adress and and 8 hours later my testaccount was gone.
djbaxter
10-14-2007, 07:42 AM
Users Deleted: Tester. This was my testaccount, registered since two years, yesterday I wrote a post with this one and after I changed the email adress and and 8 hours later my testaccount was gone.
Was the post in a forum where post counts would be incremented?
Ramsesx
10-14-2007, 08:29 AM
Was the post in a forum where post counts would be incremented?
No, was in a testforum where posts are not counted.
djbaxter
10-14-2007, 02:50 PM
No, was in a testforum where posts are not counted.
That's the reason then: The post count was still zero.
Ramsesx
10-14-2007, 03:18 PM
That's the reason then: The post count was still zero.
Maybe, but this script should not do that. I have some paying members and I think they will not understand why they get deleted.
djbaxter
10-14-2007, 05:17 PM
Maybe, but this script should not do that. I have some paying members and I think they will not understand why they get deleted.
I think it unlikely that anyone would have paying members with zero posts - and if they do, there's something wrong (or at least very odd) with the configuration of your forum. Maybe rethink the number of forums that do not count toward post counts?
Ramsesx
10-14-2007, 05:48 PM
Maybe rethink the number of forums that do not count toward post counts?
This may be an idea to solve this problem, but it would be better if the hack could check the registration date too.
AzaDiyaR
02-12-2008, 07:49 PM
this working very good for me :D
www.azadiwelat.org
Vinyljunky
02-13-2008, 01:09 PM
I think it unlikely that anyone would have paying members with zero posts - and if they do, there's something wrong (or at least very odd) with the configuration of your forum. Maybe rethink the number of forums that do not count toward post counts?
This may be an idea to solve this problem, but it would be better if the hack could check the registration date too.
I have long time members that have never posted. They come to my site to download quizzes and play games. To me they are valuable as they keep coming back and hence see my Google Ads.
This is a great mod but I agree that it needs to check the registration date :rolleyes:
Any chance this can be coded in?
Thanks
VinylJunky
djbaxter
02-13-2008, 01:21 PM
I have long time members that have never posted. They come to my site to download quizzes and play games. To me they are valuable as they keep coming back and hence see my Google Ads.
So do I. You have the option of setting the add-on to check for last activity instead of last post, which is what I've done. If they log-in, even if all they do is play games, that updates last activity so they'll won't receive an email.
Vinyljunky
02-13-2008, 02:11 PM
So do I. You have the option of setting the add-on to check for last activity instead of last post, which is what I've done. If they log-in, even if all they do is play games, that updates last activity so they'll won't receive an email.
Thats great! What do I need to change?
Many Thanks
VinylJunky
djbaxter
02-13-2008, 02:35 PM
Admin CP | vBuleltin Options | vBulletin Options | Inactive Users Email
Inactivity based on last post = No
Set the inactivity based on the last post made by the user. If set to no, the inactivity will be set by the last activity field (ie, when the member last visited)
Vinyljunky
02-13-2008, 02:49 PM
Admin CP | vBuleltin Options | vBulletin Options | Inactive Users Email
Inactivity based on last post = No
I feel daft now as I didnt look hard enough.
Thanks for your help!
VinylJunky
Alibass
02-13-2008, 03:07 PM
Are you guys talking about the same hack here? This hack works on Users Awaiting Email Confirmation using usergroup 3 only and deletes them after 10 days if they don't activate via their email activation link. I keep these users cut off from using my board in anyway until they confirm there email addy by clicking link. This stops potential spammers from spamming my board using a bogus email addy.
James Argo
03-28-2008, 02:13 PM
Admin CP | vBuleltin Options | vBulletin Options | Inactive Users Email
Inactivity based on last post = No
You must have been talking about this mod, right?
https://vborg.vbsupport.ru/showthread.php?t=138946
:)
BTW, I had a little problem here. I clean installed the mod, it sends email to members who haven't activated their account as stated. But after 2 months installed, it seems never delete any single member from the database... any clue? :erm:
Alibass
03-28-2008, 02:34 PM
This hack only works on "Users Awaiting Email Conformation" group with zero posts and sends people emails reminders at 3, 5, 8 days and on the 10th deletes them.
I don't understand what you mean about single members.:confused:
If you allow posts in UAEC group the hack will not delete them.
James Argo
03-29-2008, 03:45 PM
This hack only works on "Users Awaiting Email Conformation" group with zero posts and sends people emails reminders at 3, 5, 8 days and on the 10th deletes them.
That's what it supossed to be :) One of it's job is to delete certain member after registration, if they don't activate their account after 10 days. Right?
I don't understand what you mean about single members.:confused:
If you allow posts in UAEC group the hack will not delete them.
Like many others, I never let anyone in UAEC to post :) They can't post before they activate their account. My board has been running for years, it has thousands member. Half of them had never activated their account after registration. I installed this hack in January 2008 to encourage them to activate their account. This hack sent emails to members in UAEC after 3,5,8 days. Even UAEC member before I installed this hack got the email. It's all good.
But in my case, this hack doesn't delete them after 10 days. In my database, I can see I still have thousands UAEC member who registered since begining of the site. That's what I'm trying to say... :)
Any hints? Thanks :)
;)
Jaymz
is it possible to set this to NOT delete any users, just give warns?
thanks
James Argo
04-09-2008, 08:26 AM
That's what it supossed to be :) One of it's job is to delete certain member after registration, if they don't activate their account after 10 days. Right?
Like many others, I never let anyone in UAEC to post :) They can't post before they activate their account. My board has been running for years, it has thousands member. Half of them had never activated their account after registration. I installed this hack in January 2008 to encourage them to activate their account. This hack sent emails to members in UAEC after 3,5,8 days. Even UAEC member before I installed this hack got the email. It's all good.
But in my case, this hack doesn't delete them after 10 days. In my database, I can see I still have thousands UAEC member who registered since begining of the site. That's what I'm trying to say... :)
Any hints? Thanks :)
;)
Jaymz
Ok, I solved my problem. I don't know about others, but I had to rename the manageActivation.php to manageactivation.php <-- No uppercase "A" on "activation" and edit the scheduled task .php name to reflect my change (all lowercase). It works now... :) :up:
Phillip Chapman
05-18-2008, 08:12 PM
We've been using this hack for about a year. It's been great. However, we recently noticed that awhile back we stopped receiving the e-mail summary each day. However, accounts are still being pruned from this system. If anyone has any step-by-step advice on how we can correct this issue it would be most appreciated.
StepOnFrog
07-15-2008, 03:07 PM
Does anyone know if this is working with 3.7.x...?
djbaxter
07-15-2008, 03:13 PM
Working for me up to 3.72 PL1.
Grimmwor
08-03-2008, 03:12 PM
I recently installed this mod and I like, but I have just a couple questions:
1. The notification emails are being sent every day rather than on the 3rd, 5th, 8th and 10th day. Is there any way to manipulate/fix this? I have created a test account and confirmed that the 3rd day email was sent on days 3 and 4, the 5th day email sent on days 5, 6, and 7, etc...
2. How can I edit/customize the email text?
is this work for 3.8.1 version . please help
RS_Jelle
03-07-2009, 05:50 PM
is this work for 3.8.1 version . please help
Yes, but there's an ugly bug in it. View #2 of Grimmworf's post (above yours).
shadowevil
03-12-2009, 12:36 PM
plz update mod work with 3.7.x. I need it's, thanks
AScherff
04-07-2009, 06:27 AM
i like this Mod, because it helps manage the unactivated users.
The days are calculated as float, so you will not get the exact days after registering, that causes the "bug" posts before...
I modified the php sources to calculate the days other way - and the mod now is working very well also on 3.8.2
My hack lookes like this:
$tag=date('Ymd',$user[joindate]);
$heute=date("Ymd");
$j=(int)substr($tag,0,4);
$m=(int)substr($tag,4,2);
$t=(int)substr($tag,6,2);
$datum3=date('Ymd',mktime(0,0,0,$m,$t+3,$j));
$datum5=date('Ymd',mktime(0,0,0,$m,$t+5,$j));
$datum8=date('Ymd',mktime(0,0,0,$m,$t+8,$j));
$datum10=date('Ymd',mktime(0,0,0,$m,$t+10,$j));
...
if ($heute == $datum3) // Email users who have not activated after 3 days.
...
GamblerZ
09-24-2009, 03:37 PM
Is it possible to change the number of days to extend the period (ie. 3, 7, 14, 30)?
AScherff
09-24-2009, 03:47 PM
...to extend the period (ie. 3, 7, 14, 30)?
sure: ;)
$datum3=date('Ymd',mktime(0,0,0,$m,$t+3,$j));
$datum5=date('Ymd',mktime(0,0,0,$m,$t+7,$j));
$datum8=date('Ymd',mktime(0,0,0,$m,$t+14,$j));
$datum10=date('Ymd',mktime(0,0,0,$m,$t+30,$j));
Hello, this mod work on vb 3.8.x ??
ckgreenman
12-03-2009, 01:43 PM
Hello, this mod work on vb 3.8.x ??
Judging by the previous posts on this page, yes but with a nasty bug that emails everyday regardless of the settings.
skariko
12-23-2009, 07:51 AM
Anyone try this on VB4?
TransAmDan
12-27-2009, 06:57 AM
Anyone try this on VB4?
I was wondering this too. It seems like a handy mod that I'd like to use, but dont want to just try it in VB4 until someone else has. :)
skariko
12-28-2009, 12:17 PM
Me too. :D
I am terrified to have all the user deleted or something similar. :D
greenchicken
01-19-2010, 06:41 PM
wonder if this will be available for vb4?
This is a great tool
Videx
02-20-2010, 09:12 AM
I dunno. Until this gets updated for vb4, at least VSa - Advanced Registration (https://vborg.vbsupport.ru/showthread.php?t=236117) will delete inactive registrants after x days.
hey sabre,
this one was a fantastic help in 3.x !
if you got a big board you can't live without this, it stops the crap from piling up.
Any chance you could port this for a use with the 4.x series ?
thanks to anyone that will port this mod to vb4!! please :D
Hi,
this Addon will work under VB4.
BirdOPrey5
07-12-2010, 06:33 PM
i like this Mod, because it helps manage the unactivated users.
The days are calculated as float, so you will not get the exact days after registering, that causes the "bug" posts before...
I modified the php sources to calculate the days other way - and the mod now is working very well also on 3.8.2
My hack lookes like this:
$tag=date('Ymd',$user[joindate]);
$heute=date("Ymd");
$j=(int)substr($tag,0,4);
$m=(int)substr($tag,4,2);
$t=(int)substr($tag,6,2);
$datum3=date('Ymd',mktime(0,0,0,$m,$t+3,$j));
$datum5=date('Ymd',mktime(0,0,0,$m,$t+5,$j));
$datum8=date('Ymd',mktime(0,0,0,$m,$t+8,$j));
$datum10=date('Ymd',mktime(0,0,0,$m,$t+10,$j));
...
if ($heute == $datum3) // Email users who have not activated after 3 days.
...
Does anyone know where to make these changes?
Edit- I've read the php code and see no reason why there would be a 'bug' that causes the emails to be resent day after day... the code clearly sends it once (if $day > 2 AND $day < 4) for exampe... maybe it should be changed to if ($day > 2.999 AND $day < 4) then?
AScherff
07-12-2010, 08:54 PM
Does anyone know where to make these changes?
manageActivation.php
BirdOPrey5
07-12-2010, 08:57 PM
Thanks for the quick reply on this old thread!
I figured as much on the file, but where do I make the edits in the file? What lines do I change? I don't see any code resembling this.
MonkYZ
08-28-2010, 08:11 PM
I strongly advice you not to use this on 3.8.5. I've had over 648 members in "Awaiting Email Confirmation Group". Installed this hack and runned it from Scheduled Task manager. It instantly deleted 636 members... no questions asked ! So, DO NOT USE IT ! It's not working ok !
djbaxter
08-28-2010, 08:29 PM
I strongly advice you not to use this on 3.8.5. I've had over 648 members in "Awaiting Email Confirmation Group". Installed this hack and runned it from Scheduled Task manager. It instantly deleted 636 members... no questions asked ! So, DO NOT USE IT ! It's not working ok !
Holy public embarassment, Monk!
Did you not read the description of the add-on? Or look at the options?
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.
1. Just what did you EXPECT to happen when you installed it?
2. Why on earth are you upset that 648 registrants who were still unactivated after 10 days (or in some cases probably much longer) are now deleted from your database? You now have a much smaller database uncluttered by useless records.
BirdOPrey5
08-28-2010, 08:33 PM
I strongly advice you not to use this on 3.8.5. I've had over 648 members in "Awaiting Email Confirmation Group". Installed this hack and runned it from Scheduled Task manager. It instantly deleted 636 members... no questions asked ! So, DO NOT USE IT ! It's not working ok !
If your 648 users were stuck in the "Awaiting Confirmation" group for over 10 days then the mod did exactly what it is supposed to do... Before I installed the mod I manually sent reminders to my 100 or so users "stuck" in the queue- most had entered false or incorrect email addresses as I found out from the bounce backs... a couple actually joined... many never did anything... So then I installed the mod and on the first run it deleted all but 1 of them- 1 of them wasn't 10 days old yet... So I think it's working just fine- maybe you didn't understand how it works...
MonkYZ
08-29-2010, 09:20 AM
1. Just what did you EXPECT to happen when you installed it?
I was expecting to start emailing un-activated users... and after 10 days of email sending, to delete them.
2. Why on earth are you upset that 648 registrants who were still unactivated after 10 days (or in some cases probably much longer) are now deleted from your database? You now have a much smaller database uncluttered by useless records.
I am upset that there was no warning, no confirmation asked, no waiting period before deleting, nothing. I just received an email for the deleted users, and that's all. I could've use prune myself for those users, and it would've been the same.
The problem is that i also have vMail plugin installed... and it seems lately to fail a lot for yahoo/hotmail users (they are complaining because are not receiving the confirmation code/link)... I was hoping for Un-Activated User Management to help me with this by sending them emails... Seems like it just deleted them, with no notification... Anyway, now it's too late...
djbaxter
08-29-2010, 01:26 PM
The problem is that i also have vMail plugin installed... and it seems lately to fail a lot for yahoo/hotmail users (they are complaining because are not receiving the confirmation code/link)... I was hoping for Un-Activated User Management to help me with this by sending them emails...
If they weren't receiving your previous emails, why would you think they would receive another email from you?
1. Instruct your users to whitelist your forum email address.
2. If they don't receive the activation email, they can request another one or you can send them another one.
BirdOPrey5
08-29-2010, 04:16 PM
I was expecting to start emailing un-activated users... and after 10 days of email sending, to delete them.
I am upset that there was no warning, no confirmation asked, no waiting period before deleting, nothing. I just received an email for the deleted users, and that's all. I could've use prune myself for those users, and it would've been the same.
The problem is that i also have vMail plugin installed... and it seems lately to fail a lot for yahoo/hotmail users (they are complaining because are not receiving the confirmation code/link)... I was hoping for Un-Activated User Management to help me with this by sending them emails... Seems like it just deleted them, with no notification... Anyway, now it's too late...
I'll grant you it's unfortunate you lost 600+ possible members with no 'warning' except the instructions which to me clearly state what it's going to do... though perhaps another large warning that this WILL delete old users stuck in the queue is in order.
But the fact is 90% or more of those people were never going to complete registration anyway... Also if the mod is installed it will prevent a back-log like that from happening again, which is the main point of this.
Wajdan
10-01-2010, 07:03 AM
I want something for vb4 as well Could you please re-write the codeS?
djbaxter
10-01-2010, 11:48 AM
I want something for vb4 as well Could you please re-write the codeS?
This works fine as is for vBulletin 4.01 through 4.07.
karabaja3
03-16-2011, 11:15 PM
I've noticed in v3.8.x unactivated users older than 10 days are not deleted. What could be the problem?
BirdOPrey5
03-17-2011, 12:46 AM
It's working great for me on 3.8.6... the only changes I made to the cron job file were to change
if ($day > 2 AND $day < 4)
to
if ($day > 2.999 AND $day < 4.0)
and the same for the other hard coded days in the mod, ending with changing...
elseif ($day > 10)
to
elseif ($day > 10.0)
just to be consistent.
karabaja3
03-17-2011, 04:30 PM
I made this changes.
But in log I still have only:
Activation Reminder Emails sent to: xy
Activation Reminder Emails sent to: xy
Activation Reminder Emails sent to: xy
Activation Reminder Emails sent to: xy
Activation Reminder Emails sent to: xy
Activation Reminder Emails sent to: xy
Activation Reminder Emails sent to: xy
Activation Reminder Emails sent to: xy
Unactivated users older than 10 are not deleted. :(
karabaja3
03-21-2011, 04:16 PM
Anyone, please?
BirdOPrey5
03-21-2011, 05:22 PM
Like I said, I'm on 3.8.6 and it seems to work fine- so if you're having trouble I would try disabling any other mods you have to see if they are conflicting. You can manually run the scheduled task from the scheduled task manager to test if it works after you disable some mods.
Black Tiger
06-09-2011, 09:52 AM
Ik have this running on 3.8.7 without making changes like 2 -> 2.9999 or 4 to 4.0 or something like that. Works great!
perfphysio
08-23-2011, 02:43 PM
Any chance someone it going to update this to the latest vb 4.15 etc version?
djbaxter
08-23-2011, 03:14 PM
Any chance someone it going to update this to the latest vb 4.15 etc version?
No need. It works fine in 4.1.5.
The Rocketeer
06-22-2012, 05:33 PM
will it work with 4.2?
djbaxter
06-22-2012, 07:36 PM
will it work with 4.2?
Yes. Still working just fine for me in 4.2.0
The Rocketeer
06-23-2012, 06:29 AM
Thanks, So who are the guys that are using it?
I have a lot of Spam bots that join up but since I have set some no sig link and blog post until certain post count they cant post their spam and leave. I also have some members(hums) join up who never seem to confirm their email addresses. Should I Install this? also should I disable being able to make posts and threads for Users waiting email confirmation?
also could anybody show me what values to put under the scheduled tasks / corn job fields? any chanes I need to make to get it working with vbulletin 4.2? Thanks :)
djbaxter
06-23-2012, 11:25 AM
Thanks, So who are the guys that are using it?
I have a lot of Spam bots that join up but since I have set some no sig link and blog post until certain post count they cant post their spam and leave. I also have some members(hums) join up who never seem to confirm their email addresses. Should I Install this?
Yes. That's what it's for. And for the spambots, use GlowHost - Spam-O-Matic (https://vborg.vbsupport.ru/showthread.php?t=248042).
The point is not to inflate the size of your database with bogus members and not to give dubious characters access to your forum.
also should I disable being able to make posts and threads for Users waiting email confirmation?
Absolutely.
also could anybody show me what values to put under the scheduled tasks / corn job fields? any chanes I need to make to get it working with vbulletin 4.2? Thanks :)
I have mine set to run once a day at 1.30 am.
The Rocketeer
06-23-2012, 04:24 PM
I have mine set to run once a day at 1.30 am.
no i mean all the fields, what do i put in them exactly? i'm confused about the values , maybe a screenshots ?
Thanks, :)
djbaxter
06-23-2012, 06:59 PM
no i mean all the fields, what do i put in them exactly? i'm confused about the values , maybe a screenshots ?
Thanks, :)
I thought the scheduled task was added automatically by the product but her's what mine looks like (see attachment):
The Rocketeer
06-24-2012, 03:58 AM
I thought the scheduled task was added automatically by the product but her's what mine looks like (see attachment):
are you sure thats the right one or are you using a different version ? if you look close my one(and the files inside the zip) says manageActivation.php yours says "Inactive Users Reminder Emails" not "Un-Activated User Management"?
djbaxter
06-24-2012, 04:07 AM
are you sure thats the right one or are you using a different version ? if you look close my one(and the files inside the zip) says manageActivation.php yours says "Inactive Users Reminder Emails" not "Un-Activated User Management"?
You are correct... I use both. Here's the correct one:
The Rocketeer
06-28-2012, 04:43 AM
hey djbaxter, this thing is spamming me! I set it to do the corn job every 8 hours (you have it set at 6 hrs) and It sends out spam emails like it sent me 6 reminders everyday from 3Am - 4AM.
look at the attachments
https://vborg.vbsupport.ru/attachment.php?attachmentid=139400&d=1340862206
https://vborg.vbsupport.ru/attachment.php?attachmentid=139399&d=1340862079
people will get very annoyed. one email in 3 days is okay, another in 5 and 8, but so many everyday cant be good.
djbaxter
06-28-2012, 12:53 PM
Sorry. I'm not the author of this add-on, just a user. I don't know why you're getting that result. I have it installed on 2 or 3 forums and that doesn't happen for me at all.
Added: Oh I see your problem.
Where it says "Minute" in the scheduled task, set the first one to zero and ALL other ones to "-".
The Rocketeer
06-30-2012, 02:46 PM
Sorry. I'm not the author of this add-on, just a user. I don't know why you're getting that result. I have it installed on 2 or 3 forums and that doesn't happen for me at all.
Added: Oh I see your problem.
Where it says "Minute" in the scheduled task, set the first one to zero and ALL other ones to "-".
Ah! I see I missed that Zero! Okay added that thanks. But what happens by adding this zero? whats the function?
And a big thanks for all your help :up: really appreciate it :)
djbaxter
06-30-2012, 04:11 PM
Ah! I see I missed that Zero! Okay added that thanks. But what happens by adding this zero? whats the function?
And a big thanks for all your help :up: really appreciate it :)
If it's 0 it means it runs at the top of the hour... it can be any number from 0 to 60.
But the important thing is to set all others to -. The way you had it set it was running every couple of minutes during the hour, which is why you got multiple emails.
Naijasite
11-18-2012, 08:33 AM
it works well on vb 4.x.x nice mod
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.