![]() |
Mass Delete Inactive Members and Zero Posters
[ Feature Description ]
After some quick calculations we found out that over 7000 of our members were both zero posters and have not visited the board in over one month. After searching first through vBulletin, I noticed there was no script that did this (although there was a script to hunt out inactive users). Deleting each user one by one would take forever so I decided to write a script that made this much easier! In the script just set the minimum number of posts and the maximum number of days inactive and the script will automatically delete these users. Instead of just deleting the user from the user table, all calendar items made by the user are deleted, all custom avatars are deleted, private mesages are deleted and even their subscription settings. I hope this script helps a lot of other people as well. [ What you need to do ] Open up massdelete.php, edit the two variables under CONFIGURATION. Then just drop this into your admin directory and run the file. [ Tested on ] vBulletin versions 2.2.6 (should work with any vBulletin 2+) [ Future Plans ] Probably I will add a feature that emails the user telling them their account has been deleted. Hope everyone finds this hack useful! If you have any comments or suggestions post them here. |
very COOL, Will be installing this baby thanks :)
|
Aha, sweet work gamingforce. When I need it, i'll load it up. Thanks for this extra feature. :rambo:
|
HAHAHAH Funny but have you ever looked at the Move/Prune option in the user area of the admin cp? ;)
LOL |
Hmm.. Good point. I guess we don't need a hack like this then.
|
will the posts of this users also be deleted?
|
]
Quote:
|
Oops! Mine is easier to use though! just change 2 vars, upload and run. Takes 30 secs. ;)
Is it faster too? I dunno. You can use either, and if FireFly wants to delete this he can. Seems like many people don't know about it though. |
for a second version, it would be nice when i can see everyday which users are xx days not logged in (or last activity would be better) and then i can delete this... maybe a automatic mail a week bevor and yes/not auto remind in the user cp...?
|
Quote:
|
All times are GMT. The time now is 01:46 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:
|