Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #102  
Old 06-16-2010, 06:16 AM
Webbstre Webbstre is offline
 
Join Date: Nov 2009
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've had this installed for about a day and a half now on my test installation, and still there is no change in my users' usergroup associations. Any idea what could be wrong?

If it helps, my board was recently imported from phpbb3 and drupal, but everyone's original join dates stayed the same so I can't imagine that the import would cause anyone to have been said to be online.
Reply With Quote
  #103  
Old 06-16-2010, 09:48 AM
pant pant is offline
 
Join Date: Mar 2010
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You won't have any activity status though will you?
Reply With Quote
  #104  
Old 07-05-2010, 01:49 PM
Movement Movement is offline
 
Join Date: Jan 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*** installed ***

Thanks for the mod, but i have one question:
Once the user is being moved in the Lurkers, posted a message, he moved to the main usergroup, but his status is not changed (remains "Lurker"). How can I force the automatic change of status (according to the criteria the main usergroup)?
Reply With Quote
  #105  
Old 07-05-2010, 04:53 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

Im not really sure why it would say Lurker in the first place, this does not set the usertitle.
Reply With Quote
  #106  
Old 07-05-2010, 05:35 PM
Movement Movement is offline
 
Join Date: Jan 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul M, Ok, I will explain:

1. There is a usergroup "Lurkers", for it defined the special status "Lurker"
2. There is a usergroup "Users", for it special status not defined
3. Defined the following overall statuses (for example):
- 1-10 messages - "Beginner"
- 11-20 posts - "Advanced"
- 21-30 message - "Local"
- etc...
4. The user has 15 posts, belongs to the usergroup "Users" and has the status "Advanced"

This user is silent for some time and moved in a usergroup "Lurkers", it is given the status "Lurker". Then the user writes a message and automatically moved to the usergroup "Users", but he remains the status "Lurker". How can in this case will automatically be returned to him status "Advanced"?
Reply With Quote
  #107  
Old 07-06-2010, 12:16 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 understood your question - however, like I said, I do not know why it would say Lurker in the first place.

In your example ;

Quote:
This user is silent for some time and moved in a usergroup "Lurkers", it is given the status "Lurker"
There is no code in the mod to set usertitles (the bit in red) so something else is doing that.

Obviously, there is no code to reverse something it isnt doing in the first place.
Reply With Quote
  #108  
Old 07-06-2010, 10:45 AM
Movement Movement is offline
 
Join Date: Jan 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul M, Clearly, thanks for the clarification. Apparently changing the status occurred during scheduled update statuses.
Reply With Quote
  #109  
Old 07-07-2010, 06:38 AM
goran424's Avatar
goran424 goran424 is offline
 
Join Date: Feb 2010
Location: Thailand
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed this on vBulletin 4.0.2 Patch Level 4 and 8 inactive members were moved to administrators group.....very scary! I guess i doesn't really work with 4.0.2. Love this mod but obviously it doesn't work for me. Installed but disabled until find out what the problem is.
Reply With Quote
  #110  
Old 07-07-2010, 06:33 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

It works perfectly with any version of 4.0. It can only move people to the usergroups you define in the settings.
Reply With Quote
  #111  
Old 08-17-2010, 08:01 PM
caciocode caciocode is offline
 
Join Date: Apr 2010
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged
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 11:41 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.05938 seconds
  • Memory Usage 2,306KB
  • 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
  • (1)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