Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Move Inactive and Lurker Users To New Usergroup Details »»
Move Inactive and Lurker Users To New Usergroup
Version: 4.2.0.0, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.2.x Rating:
Released: 01-01-2010 Last Update: 05-23-2012 Installs: 497
DB Changes Uses Plugins
Translations  
No support by the author.

As of 23 Nov 2017 this modification has been withdrawn.

This runs daily to check the activity of members and move them to a new usergroup if they meet certain rules.

Lurkers
If a member has not posted on the forum for a defined number of days (90 by default) then they will be moved from their existing usergroup to the defined usergroup (this can be any existing usergroup, however, you should really create a new 'Lurkers' group

Inactive Members
If a member has not visited the forum for a defined number of days (180 by default) then they will again be moved from their existing usergroup to the defined usergroup (this can also be any existing usergroup, however, you should again really create a new 'Inactive Users' group.

Only members of a defined list of usergroups are checked for inactivity.

If a member of the Inactive usergroup returns to the forum, or the Lurkers usergroup posts again, and auto-restore is enabled, they are automatically restored either to another pre-defined usergroup (by default this is usergroup 2, Registered Users) or to the usergroup they were in before they got initially moved. Note that if you use this option then you really must have seperate Inactive and Lurker usergroups, otherwise you are going to get in a mess.

Any of the options above can be disabled if not required. All options are in ACP > Options > Inactive and Lurker Members

To install simply download the file and import in vbulletin using the product manager.

Note: The move of inactive users is done once per day as part of the existing vbulletin daily update cron job. The restore function should be pretty much instant. Also, this works purely on the Primary usergroup, secondary groups are neither checked or altered.


History:

v4.0.1 : 02-Jan-2010 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 02-Jan-2010 : Prevent restore to usergroup 0 if old usergroup data is missing.
v4.0.3 : 16-Feb-2010 : Lurker & Inactive settings split out.
v4.0.4 : 18-Feb-2010 : Installer & code updates.
v4.0.5 : 12-Sep-2010 : Fix bug in disable options.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.

v4.2.0.0 : 24-May-2012 : Updated for vBulletin 4.2.0.

Show Your Support

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

Comments
  #52  
Old 02-06-2010, 10:39 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont understand what you mean by "will the usergroups all correct themselves" ?
Reply With Quote
  #53  
Old 02-07-2010, 09:53 AM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have had the 3.8 version of your mod installed on my 3.8 board. That means some usergroups are in the 'inactive group' already because of that mod. If I would now upgrade to this mod, would that cause any problems with the previous version of the mod? Or should I remove the previous version first before installing this version? Thanks.
Reply With Quote
  #54  
Old 02-07-2010, 11:04 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it should not cause any issues.

Make sure you set the inactive usergroup to be the same as it was before.
Reply With Quote
  #55  
Old 02-07-2010, 01:08 PM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, thanks.
Reply With Quote
  #56  
Old 02-08-2010, 02:40 AM
War.Frog's Avatar
War.Frog War.Frog is offline
 
Join Date: Aug 2009
Location: Ontario, Canada
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this mod, and once it finished the installation process it tried returning me to the Admin CP and I'm stuck on an endless loop of signing in to Admin CP. It's like the mod has stripped my Admin access?

Help! Thoughts?

EDIT: I have lost Admin access to my forum. Wow. I just tried disabling all mods via define('DISABLE_HOOKS', true); with no effect.

Incidentally, my access is via a unique usergroup called "Founder".
Reply With Quote
  #57  
Old 02-08-2010, 03:57 AM
War.Frog's Avatar
War.Frog War.Frog is offline
 
Join Date: Aug 2009
Location: Ontario, Canada
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I restored my access using tools.php. It appears the default values in this mod (e.g. use Group ID #10 for inactive users) can clash with any custom usergroups already set up...especially if those usergroups include Forum admins!

Is there a way to default these values to something else...like 999...so this doesn't happen to anyone else?
Reply With Quote
  #58  
Old 02-08-2010, 10:48 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm. Interesting, it did an automatic "restore" on you.

Its due for a settings update soon anyway, so I'll change the defaults as part of that.
Reply With Quote
  #59  
Old 02-14-2010, 02:40 AM
Tutatruck Tutatruck is offline
 
Join Date: Jan 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea this, helps alot. But i am having a bit of trouble with. It moves a few users to the zero post group even if they have a bunch of post. It also moves users to inactive group even if they had visited the forum within the time set. Could it have something to do with the fact that my forum is a migrated one (from MyBB)?
Reply With Quote
  #60  
Old 02-14-2010, 02:09 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please read the description carefully - its not a zero post group.

If they have a last visit time less than the defined period it cannot move them, maybe migrating them doesnt set that field until they actually login.
Reply With Quote
  #61  
Old 02-15-2010, 05:36 PM
Tutatruck Tutatruck is offline
 
Join Date: Jan 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Please read the description carefully - its not a zero post group.
Oh, so if i set Lurker settings to move users with zero post in 31 days for example, it wont work? But if i set Lurker settings to move users with 1 post in 31 days it will work? Have i understood that correct? If so, is it possible to enhance the mod to be able to handle zero posters aswell?

Quote:
Originally Posted by Paul M View Post
If they have a last visit time less than the defined period it cannot move them, maybe migrating them doesnt set that field until they actually login.
You might very well be correct there, sounds plausible. No biggie really, if they show up in Inactive Users group even if they have been logged in it?s easy to move them manually. The pros are more worth than the cons with this mod
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 08:14 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.05713 seconds
  • Memory Usage 2,315KB
  • 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_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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete