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

Reply
 
Thread Tools
Move inactive users to separate usergroup Details »»
Move inactive users to separate usergroup
Version: 1.02, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.x Rating:
Released: 09-08-2007 Last Update: 09-14-2007 Installs: 146
Uses Plugins
Translations  
No support by the author.

This modification is no longer available or supported.

This is another simple modification written ages ago for my forum, I saw a request for something similar the other day so here is what I use.

If a member has not visited the forum for a defined number of days (180 by default) then they will be moved from their existing usergroup to another usergroup (this can be any existing usergroup, however, you should really create a new 'Inactive users' group - esp if you use the auto-restore option).

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

If a member of the inactive usergroup returns to the forum, and auto-restore is enabled, they are automatically restored to another defined usergroup (by default this is usergroup 2, Registered Users).

Note: The move of inactive users is done as part of the hourly update cron job.



History:

v1.01 : First Release for vB 3.6.
v1.02 : Automatic restore made optional.

Show Your Support

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

Comments
  #12  
Old 09-09-2007, 06:59 PM
jellybaby jellybaby is offline
 
Join Date: Jul 2005
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do they get moved across - it doesnt seem to be moving anyone across on my forum?
Reply With Quote
  #13  
Old 09-09-2007, 07:10 PM
Pirate45 Pirate45 is offline
 
Join Date: Apr 2006
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea.. in fact I once asked for something similar and this will do the job. I just installed it. I assume there will be a mass move when it hits for the first time? How long until that happens?
Reply With Quote
  #14  
Old 09-09-2007, 08:13 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

The moves are done as part of the hourly update cron job. I've added that to the description so it's clear.
Reply With Quote
  #15  
Old 09-09-2007, 08:19 PM
jellybaby jellybaby is offline
 
Join Date: Jul 2005
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I clicked on it so it did that and its still not showing for some reason that they have moved across, I have checked that I have the settings right and they are.
Reply With Quote
  #16  
Old 09-09-2007, 08:22 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

If it's set-up correctly then it's pretty hard for it not to work, what settings do you have ?
Reply With Quote
  #17  
Old 09-09-2007, 08:26 PM
jellybaby jellybaby is offline
 
Join Date: Jul 2005
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have set up which groups to check for inactive users, and a new group to move inactive users to. I clicked on the hourly update cron job and it doesnt seem to have done anything
Reply With Quote
  #18  
Old 09-09-2007, 08:38 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

I meant what settings exactly do you have. Which cron job exactly did you run ?

There is just no way I can see this would not do anything if everything is set-up correctly. There is really nothing in it to break.
Reply With Quote
  #19  
Old 09-09-2007, 08:40 PM
jellybaby jellybaby is offline
 
Join Date: Jul 2005
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hourly clean-up, was that the one you meant?
Reply With Quote
  #20  
Old 09-09-2007, 08:43 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

Yes.
Reply With Quote
  #21  
Old 09-09-2007, 08:44 PM
Masiello's Avatar
Masiello Masiello is offline
 
Join Date: Jul 2005
Location: Italy
Posts: 426
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Paul, please, can you make this for 0 posters too?
Inactive - Option
0 Posters - Option
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 06:10 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.05131 seconds
  • Memory Usage 2,298KB
  • 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)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
  • (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