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

Reply
 
Thread Tools
Automatic Inactive Users Pruning - vB3.7 RC2 Details »»
Automatic Inactive Users Pruning - vB3.7 RC2
Version: 1.00, by J98680Bxxxxx J98680Bxxxxx is offline
Developer Last Online: Oct 2011 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.0 RC 2 Rating:
Released: 04-27-2008 Last Update: Never Installs: 55
DB Changes
Re-useable Code Translations  
No support by the author.

Originally Created by NeoRevan (in 2005) for vB 3.0.7.

I could not run NeoRevan?s version on vB3.7 CR2.

I also took a look at a similar Mod by Paul M (Dr Pepper Addict) on Inactive Users, but I missed some of NeoRevan?s features on it.

Thus I decided to update NeoRevan?s version to suit my needs on vB 3.7 CR2. If needed, I Will update it accordingly for vB3.7 Gold, once it?s released.

Feel free to use this Mod as you see fit, I just wished to share it with this Community. :up:

What this Mod does:
  1. Runs a daily cronjob, removing all members according to the script's configuration
  2. Exclude selected usergroups from been pruned
  3. Flag automatically selected user(s) for pruning after x days (7 by default)
  4. Email automatically selected user(s) that have been flagged (on by default)
  5. Has the ability to prune users that match ALL the following conditions:
    1. Has not visited in the last x days (30 by default)
    2. Has not posted in the last x days (30 by default)
    3. Has x or fewer posts (0 by default)
    4. Has been flagged for pruning earlier than x days (7 by default)
  6. Send email to pruned users, notifying them of their change in status membership (on by default)
  7. Send email to the admin (webmaster) for book keeping.

Installation instructions in the attachment.

Show Your Support

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

Comments
  #12  
Old 04-30-2008, 11:03 AM
J98680Bxxxxx J98680Bxxxxx is offline
 
Join Date: Jan 2008
Location: Bridge - Enterprise
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by slowphantom View Post
i got idea i hope it will do good jop

what about if the user read x post without posting answer will be moved too
that mean for all usere how log in and read therd without say thx or any thing will be moved to another group

i gusse we will need this option too
If your forum is not a READ ONLY forum, if a user has read x posts without posting a reply in the last x days, you can still have it pruned by adjusting the value of "$lastactivity" to 0 or 1 in the configuration file. But choose your values accordingly so that they apply is a consistent manner as the days go by and your forum is running.
Reply With Quote
  #13  
Old 05-13-2008, 03:17 AM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With the setting you told us to use this is generating every 24 hours I think is there a way to have this done monthly only and how do I go about that please?
Reply With Quote
  #14  
Old 05-13-2008, 05:16 PM
J98680Bxxxxx J98680Bxxxxx is offline
 
Join Date: Jan 2008
Location: Bridge - Enterprise
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
With the setting you told us to use this is generating every 24 hours I think is there a way to have this done monthly only and how do I go about that please?
Hi Charlie,

You can specify when you wish to have the cron executed in the ACP -> Scheduled Task Manager -> Prune Inactive Members (Edit)

To have it executed every 29th (at 00:00) of the month for example, select the value 29 from the "Day of the month" drop down selection. :up:

Title : Prune Inactive Members
Day of the Week : *
Day of the Month : 29
Hour : 0
Minute : 0
Active : Yes
Reply With Quote
  #15  
Old 05-13-2008, 08:21 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you I thought it was a small tweak such as this.
Reply With Quote
  #16  
Old 05-14-2008, 09:37 AM
Mum Mum is offline
 
Join Date: Jun 2006
Location: New Zealand
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, however it appeared to only flag 2 users, which is incorrect... i didn't get an email or anything tell me...
Reply With Quote
  #17  
Old 05-21-2008, 09:41 AM
BluAzn BluAzn is offline
 
Join Date: Dec 2006
Location: UK
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having problems using this mod, most of the users haven't posted over months and still their status is still there. I have adjusted the configuration of the file, help would be great. I wanted to prune the users to the "Newbie" status.
Reply With Quote
  #18  
Old 05-21-2008, 10:46 AM
J98680Bxxxxx J98680Bxxxxx is offline
 
Join Date: Jan 2008
Location: Bridge - Enterprise
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BluAzn View Post
I am having problems using this mod, most of the users haven't posted over months and still their status is still there. I have adjusted the configuration of the file, help would be great. I wanted to prune the users to the "Newbie" status.
Which configuration parameters are you using?
Reply With Quote
  #19  
Old 05-21-2008, 12:30 PM
BluAzn BluAzn is offline
 
Join Date: Dec 2006
Location: UK
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
// Configuration parameters

// The user must had logged in the forum in the last x days
$lastactivity = 5;

// The amount of days an user stays "flagged" before been pruned
$flaggedtime = 7;

// The user must have posted in the forum in the last x days
$lastpost = 5;

// Users with more than this amount of posts will not be pruned
$maxposts = 100;

// Set this to true to email the members that are been pruned
$sendmail = true;

// This is the UserGroup that will receive pruned members. 
// If you do not have such usergroup already available, 
// please create one and refer to its id number here.
$groupid = 2;

// Set here the usergroups you do NOT wish to have modified,
// seperate each groupid with a space 
$exclude = "6 7 5 13 133 9 136 134 12 60 135 11"; 

// End Configuration parameters
Reply With Quote
  #20  
Old 05-21-2008, 06:42 PM
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and what about if the users who got pruned signed in and/or post a thread or post?
do they automatically remove to the group which they were belonged to before pruning?

thank you for this, I didn't notice it just now..
and currently I'm using Paul's which I really like.. but as you said, it has not features as yours..

are they work in the same way with Paul's or there is differences?
Reply With Quote
  #21  
Old 05-21-2008, 07:24 PM
J98680Bxxxxx J98680Bxxxxx is offline
 
Join Date: Jan 2008
Location: Bridge - Enterprise
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BluAzn View Post
Code:
// Configuration parameters

// The user must had logged in the forum in the last x days
$lastactivity = 5;

// The amount of days an user stays "flagged" before been pruned
$flaggedtime = 7;

// The user must have posted in the forum in the last x days
$lastpost = 5;

// Users with more than this amount of posts will not be pruned
$maxposts = 100;

// Set this to true to email the members that are been pruned
$sendmail = true;

// This is the UserGroup that will receive pruned members. 
// If you do not have such usergroup already available, 
// please create one and refer to its id number here.
$groupid = 2;

// Set here the usergroups you do NOT wish to have modified,
// seperate each groupid with a space 
$exclude = "6 7 5 13 133 9 136 134 12 60 135 11"; 

// End Configuration parameters
Hi BluAzn,

I suppose that you are placing your registered members in usergroup(s) different from the standard "Registered Users" group (of Id = 2)?

Please ensure that the Usergroup that will receive pruned members is different from the usergroup(s) where those members are selected before been flagged or pruned.

Let me know if that's not the case.
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 09:37 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.04689 seconds
  • Memory Usage 2,313KB
  • 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
  • (2)bbcode_code
  • (4)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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