Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mass Delete Inactive Members and Zero Posters Details »»
Mass Delete Inactive Members and Zero Posters
Version: 1.00, by Gamingforce Gamingforce is offline
Developer Last Online: Jan 2007 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-30-2002 Last Update: Never Installs: 47
 
No support by the author.

[ 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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-02-2002, 03:15 PM
LouChipher LouChipher is offline
 
Join Date: Oct 2001
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

-
Reply With Quote
  #23  
Old 08-02-2002, 03:58 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok about the 0 posters thing, would it not be great, where you can offer the user ID to be retaken by new members, with either the same user name or a new one!
Reply With Quote
  #24  
Old 09-03-2002, 09:29 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey d00d does this make it so it don't delete the posts of the members who are mass deleted
Reply With Quote
  #25  
Old 09-23-2002, 05:07 PM
Shaede's Avatar
Shaede Shaede is offline
 
Join Date: Jan 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think this is a great feature. I've always used the move/prune at my board, but from what I can see, it works really well on Gamingforce's board.
Reply With Quote
  #26  
Old 11-10-2002, 11:08 AM
kj187 kj187 is offline
 
Join Date: Aug 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It can for one in such a way make which one by a form in input test AREAS the days and Posts to indicate can and then only delete. Super would be nice.
Reply With Quote
  #27  
Old 12-17-2002, 11:47 PM
mv540 mv540 is offline
 
Join Date: Sep 2002
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet hack, just deleted 550 members with in 2.5 seconds...

Awsum work gentleman!!
Reply With Quote
  #28  
Old 02-20-2003, 12:22 PM
jasonx jasonx is offline
 
Join Date: Dec 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question: How can I set these inactive users so their profile is no longer viewable. They don't get added in total members. You can't PM those users.

But if they log in again it reactivates their account?
Reply With Quote
  #29  
Old 02-20-2003, 02:13 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would there be a way to make this so you can enter the number of days of inactivity each time instead of having it only be in the php file?
Reply With Quote
  #30  
Old 05-07-2003, 09:30 AM
chitown chitown is offline
 
Join Date: Aug 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You, I am very appreciative of this hack, helped clean up alot of crap.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:48 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
  • Page Generation 0.05291 seconds
  • Memory Usage 2,288KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete