Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

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

Category: Administrative and Maintenance Tools - Version: 3.8.x Rating:
Released: 07-08-2009 Last Update: 07-08-2009 Installs: 117
Uses Plugins
Re-useable Code Additional Files  
No support by the author.

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.

Download Now

File Type: zip Users-Cleanup-0.1.zip (12.2 KB, 764 views)

Screenshots

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

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.
    3 благодарности(ей) от:
    ricardoNJ, TAIFUN_T, xorex

    Comments
      #2  
    Old 07-09-2009, 07:18 AM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Some hints. Here is current config at my site. Can't recomment to everyone, but that can give you some ideas.

    User groups (upgraded on time basis):

    1. Just registered - no posting permissions, upgraded after 1 day. Nice way to beat spammers.
    2. Novice - specific for my forum. Limited access. Can make posts, but no writing access to "trading" categories. Upgraded after 30 days.
    3. Full memfer

    Cleanup rules:

    1. Delete "Just registered" after 7 inactivity days.
    2. Delete "Novice" with zero posts after 21 inactivity days.
    3. Delete "Full Members" with zero posts after 180 inactivity days.
    4. Delete "not validated emails" after 3 days.

    Effectivity - 60%.

    Also tested this rule: "delete old members, less than 5 posts, gone more than 2 years ago". - only 5% effectivity.
    Reply With Quote
      #3  
    Old 07-09-2009, 07:55 AM
    Ronald0's Avatar
    Ronald0 Ronald0 is offline
     
    Join Date: Jan 2009
    Posts: 219
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Wow, this is a very useful module, might end up using it in the future. Depending on whether or not i want to keep my statistics or not.

    When you say above "havent viewed in a long time", what do mean like whats the set time?
    Reply With Quote
      #4  
    Old 07-09-2009, 08:02 AM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I'm not sure, that understand your question. Any rule set depends on forum policy, and can't be generalised. All possible conditions are shown on screenshot, but values depend on each forum owner.
    Reply With Quote
      #5  
    Old 07-09-2009, 08:27 AM
    YISRAEL YISRAEL is offline
     
    Join Date: Feb 2009
    Posts: 7
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Not so useful but still thanks a lot
    Reply With Quote
      #6  
    Old 07-09-2009, 08:44 AM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by YISRAEL View Post
    Not so useful but still thanks a lot
    I don't agree. More than 50% accounts are dummy, and can be cleared, to free usernames. That make sense for big forums, and simplify maintenance in some cases.

    Stats for mu forum:

    - last user ID 50652
    - total users (after cleanup) 19359

    PS. Added statistics to mod description.
    Reply With Quote
      #7  
    Old 07-09-2009, 10:00 AM
    ishare ishare is offline
     
    Join Date: Jun 2006
    Location: Stockholm
    Posts: 118
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Vitaly you do great works.. And i appreciate it very much. This is very very useful and i will sure use it in near future. Right now i will tag it for future use. But i did want to thank you for this great job.
    Reply With Quote
      #8  
    Old 07-09-2009, 10:14 AM
    Frondy's Avatar
    Frondy Frondy is offline
     
    Join Date: Feb 2009
    Location: Zagreb, Croatia
    Posts: 62
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Very useful, thanx!

    installed

    Little suggestion:

    When testing, it displays all users defined by rule on sinle page, maybe will be better to split on several pages, e.g. 100 per page?
    Reply With Quote
      #9  
    Old 07-09-2009, 10:30 AM
    Vitaly's Avatar
    Vitaly Vitaly is offline
     
    Join Date: Apr 2004
    Location: Russia, St.Petersburg
    Posts: 428
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Added "live config" example to second post. Enjoy

    Quote:
    Originally Posted by Frondy View Post
    Little suggestion:

    When testing, it displays all users defined by rule on sinle page, maybe will be better to split on several pages, e.g. 100 per page?
    When your rules are active, those are applyed every days, and test results are very small. Big list can exist ONLY before first cleanup. So, I don't see reasons to overcomplicate code

    Hint: you can increase "inactivity" value and clear users manually with several passes.
    Reply With Quote
      #10  
    Old 07-09-2009, 10:59 AM
    Frondy's Avatar
    Frondy Frondy is offline
     
    Join Date: Feb 2009
    Location: Zagreb, Croatia
    Posts: 62
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Vitaly View Post
    Added "live config" example to second post. Enjoy



    When your rules are active, those are applyed every days, and test results are very small. Big list can exist ONLY before first cleanup. So, I don't see reasons to overcomplicate code

    Hint: you can increase "inactivity" value and clear users manually with several passes.
    Yes, that is true. Before first clean up, my Firefox stops responding, but now, everithing works fine :up:

    Thank You
    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:40 PM.


    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.06761 seconds
    • Memory Usage 2,334KB
    • Queries Executed 25 (?)
    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
    • (3)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
    • (2)pagenav_pagelink
    • (10)post_thanks_box
    • (3)post_thanks_box_bit
    • (10)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (1)post_thanks_postbit
    • (10)post_thanks_postbit_info
    • (9)postbit
    • (3)postbit_attachment
    • (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
    • 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