Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Users Cleanup Details »»
Users Cleanup
Version: 0.4, by Vitaly Vitaly is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.x Rating:
Released: 06-15-2010 Last Update: 03-20-2011 Installs: 153
Uses Plugins
Re-useable Code Additional Files  
No support by the author.

3.8 version repost. The same code.

This mod helps to automatically delete user account upon custom-defined rules. For example, you can delete members, who didn't comfirmed emails after 3 days, delete members, who have zero posts and didn't visited your forum for a long time, and so on.

Any conditions can be defined! Cleanup can be done in both automatic and manual mode.

Difference between built-in vB user pruner:

1. Completely automated.
2. Comfotable management of multiple rules.
3. More flexible prune criterias.

Some stat for my forum (only zero-posts users were cleared):

- last user ID 50652
- total users left 19359

60% effectivity!!!

Installation:

Upload files and import product XML.

Configuration:
  • Enter ACP and go to Users -> Cleanup.
  • Create cleanup rules you needs, and save in inactive state.
  • Test you rules. Do manual cleanup, if you wish.
  • Activate rules (enable automatic cleanup), if you are satisfied with testing results.
Warning! Don't activate cleanup rules without testing! Don't forget to backup your forum database!

PS. Product is marked as beta, because i can't test all possible rules combinations. But those been used - works fine. If you have strange results duging testing, don't hesitate to post screenshot with your rule, and explain what is wrong.

Was NOT tested with 3.6.x & 3.7.x, but probably works.

This mod is delelopped here http://github.com/rcdesign/vb-users_cleanup . Patches are welcome.

History:

0.4
- Fixed SQL queries for some conditions (thnks to phr4nk13)

0.3
- compleete code rafactoring
- removed deletet posts count as useless
- added support for blogs & social groups

(!) For upgraders - your cleanup rule swill be disabled! Plese, recheck & enable again.

Download Now

File Type: zip Users-Cleanup-0.1.zip (12.2 KB, 201 views)
File Type: zip vb-users_cleanup-0.3.zip (12.0 KB, 55 views)
File Type: zip vb-users_cleanup-0.4.zip (12.0 KB, 786 views)

Screenshots

File Type: gif uc1.gif (37.6 KB, 0 views)
File Type: gif uc2.gif (53.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Insta-Gator

Comments
  #82  
Old 03-03-2015, 12:32 AM
PeteMarko PeteMarko is offline
 
Join Date: Feb 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After uploading I import product users cleanup from my computer can you verify please
Reply With Quote
  #83  
Old 03-03-2015, 12:37 AM
PeteMarko PeteMarko is offline
 
Join Date: Feb 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All done and good, perfect, thank you
Reply With Quote
  #84  
Old 03-03-2015, 12:45 AM
PeteMarko PeteMarko is offline
 
Join Date: Feb 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just trying to delete all users with zero posts and do not belong to certain groups, eg, administrators, top poster etc. It does not seem to play to the rule after I save ?
Reply With Quote
  #85  
Old 03-03-2015, 12:49 AM
PeteMarko PeteMarko is offline
 
Join Date: Feb 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get invalid query, this is what was happening in the default move / prune routine also?
Reply With Quote
  #86  
Old 03-03-2015, 01:28 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you post a screenshot of the error?

Also how many members are listed with 0 posts from phpmyadmin? I would check and verify that its not a large number... if any mod attempts to delete via query a large amount of data or tons of users accounts it could timeout or produce a similar error (possibly it depends on a number of factors server type mainly) and this is why with most of the maintenance offered within the admincp you see notations about processing in batches of 250/500 but nothing over 500.
Reply With Quote
  #87  
Old 03-03-2015, 05:50 AM
PeteMarko PeteMarko is offline
 
Join Date: Feb 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been trying to delete far in excess of 500 so I'm sure that is the issue, I will try less and report back.

Is there away to restrict the amount of deletions? Doing by checking the list manually is longwinded.

Thank you for your response so far, its appreciated
Reply With Quote
  #88  
Old 03-03-2015, 06:44 AM
PeteMarko PeteMarko is offline
 
Join Date: Feb 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have managed to delete the contacts I needed to by doing it in chunks.
Reply With Quote
Благодарность от:
TheLastSuperman
  #89  
Old 03-03-2015, 12:29 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PeteMarko View Post
I have been trying to delete far in excess of 500 so I'm sure that is the issue, I will try less and report back.

Is there away to restrict the amount of deletions? Doing by checking the list manually is longwinded.

Thank you for your response so far, its appreciated
No place to edit and enter in a #, no. However in a sense by showing w/ option to check it simply won't process in a large batch. Long winded yes but for inexperienced users more safe than typing out a query that their unsure of what exactly its doing etc.

Quote:
Originally Posted by PeteMarko View Post
I have managed to delete the contacts I needed to by doing it in chunks.
Awesome .
Reply With Quote
  #90  
Old 10-17-2015, 03:53 AM
Reminisce32 Reminisce32 is offline
 
Join Date: Jul 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this on my 4.2.3 and activated plugin and the Clean Up link shows up no where in my Users section of admincp. Help please...?
Reply With Quote
  #91  
Old 11-15-2015, 06:05 AM
andy2295 andy2295 is offline
 
Join Date: Nov 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine on 4.2.3 providing you dont try to prune more than 500 users at once
Reply With Quote
Reply

Thread Tools

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 06:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05076 seconds
  • Memory Usage 2,338KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete