The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Find, Optionally Email and Optionally Delete Inactive Members Details »» | |||||||||||||||||||||||||||
Find, Optionally Email and Optionally Delete Inactive Members
Developer Last Online: Nov 2013
This hack is designed to allow you to:
a) Find users who have not logged in to your board in X days. X is configurable by you in the control panel. b) Email the inactive users. When the email is set, the date is recorded so that you will not email them again within X days c) Delete the inactive users. This can happen in two ways: 1) If you don't have email users set, it will simply delete users who have not logged in to your forums in the past X days. 2) If you have emails turned on, it will delete users who have not logged in during the past X days AND who were sent the warning email more than 15 days before. The email is a template configurable by you. Here is how this hack will behave: If you have email on and delete off, it will email inactive users every X days. If you have email on and delete on, it will email a warning then delete 15 days later. If you have emails off and delete on, it will delete users who have been incactive for X days. If you have email off and delete off, it will list the inactive users for you in a very crude plain text list. This is not a hack for newbies. If you don't know how to run Queries, don't touch this hack. It is still In Beta. If I get bored and ambitious, I will write an install script and make it idiot-proof. Screen Shots to Follow I will Support this hack for users with some hacking experience. I will fix bugs. I will not teach hacking basics though. !Important - After You Install the hack, go to your Control Panel and Set the Options! Otherwise it will NOT work. Show Your Support
|
Comments |
#22
|
||||
|
||||
Sounds good so far... I'll wait till this is out of beta before i install
Regards - miSt |
#23
|
||||
|
||||
I am going to give it a few more days. I think It's good to go, but want to wait and see if anyone else has issues.
Amy |
#24
|
||||
|
||||
Does this email every users with xxx inactive days regardless of their usergroup? I have a seperate usergroup 'inactive' which holds all members who were inactive for a year and longer. I want to test it on myself first though (by manually putting myself to 365 inactive days)
Great hack! Absolutely what I've been waiting for! /me clicks *installed* - djr |
#25
|
||||
|
||||
Regardless of the user group, it emails them.
Amy |
#26
|
||||
|
||||
Sorry, already found out! The answer is obviously in the output of manageInactive.php
Ok, have to set myself to a longer inactive time then! Thanks for the prompt answer - djr |
#27
|
||||
|
||||
I'm having troubles, or I don't understand the hack. It installed without problems. I've set the options 'Email' and 'Delete' both to ON, so users will be warned first, wait for 15 days and then deleted if I understood correctly?
I add a user via vB Admin CP with the following info: Username: Testuser Usergroup: Inactive Join Date: 1999-01-01 01:00:00 Last Activity: 1999-01-01 01:00:00 (same for Last Post and Last Visit) All other relevant info set. Fire up manageInactive.php. Output: Email Testuser And boom! The user is deleted immediately, instead of waiting for fifteen days. The e-mail got sent out, though (I used my own email-address). When I search for 'Testuser' in phpMyAdmin in the User table, NADA! Same for vB Admin CP. What am I doing wrong? Please advise. - djr |
#28
|
||||
|
||||
I know what the problem is. Back in a sec with the fix.
Amy |
#29
|
||||
|
||||
K, fixed. I updated the zip file. To upgrade, open your manageInactive.php and
Find: Code:
$DB_site->query("UPDATE user set emailDate=".time()." WHERE userid=$user[userid]"); Code:
$user[emailDate] = time(); |
#30
|
||||
|
||||
Thanks for the quick fix!
I have been looking up and down the .php file, but just couldn't find it.. shows I'm better at hacking than coding All working great now. If you want the lost password added to the message: Quote:
|
#31
|
||||
|
||||
Sorry, back again
As this hacks only deletes the user, but leaves the redundant user settings (customavatar, private messages, etc etc) in the db, I was wondering if it's possible to update this hack so it deletes everything bound to that userid? In admin/user.php there's already the php code for it (find // ###################### Start Remove #######################). Or maybe alot easier, just redirect to the user.php with all the paramaters necessary (userid, http_action 'kill'). I'd love to do it myself, but as said in my earlier post, I can't code :-( Thanks for looking into it! - djr |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|