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

Reply
 
Thread Tools
Move inactive users to new usergroup Details »»
Move inactive users to new usergroup
Version: 3.8.001, 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.8.x Rating:
Released: 01-09-2009 Last Update: Never Installs: 398
Uses Plugins
Translations  
No support by the author.

As of 24 Nov 2017 this modification has been withdrawn.

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 once per day as part of the daily update cron job.


History:

v3.8.001 : First Release for vB 3.8.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Martell

Comments
  #72  
Old 06-02-2009, 06:14 AM
Dollarsign's Avatar
Dollarsign Dollarsign is offline
 
Join Date: Apr 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be a good idea to install this, and once 100 / 200 of your members go unactive, then e-mail or pm that entire usergroup to bring them back to the forum?

Or is that considered spam?

I was wondering how I can get older unactive members back to the forum and this looks like a good idea?
Reply With Quote
  #73  
Old 06-02-2009, 07:09 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

You could do that (and Im pretty sure people do).

Bear in mind you will prob get alot of bounces due to old (invalid) email addresses.
Reply With Quote
  #74  
Old 06-03-2009, 11:02 PM
OldDude's Avatar
OldDude OldDude is offline
 
Join Date: Feb 2007
Location: Vancouver, Canada
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My site has several Usergroups (120+) because the forum is used as a private support site for individual customers.

Aside from the pain of entering 100 or so numbers separated by commas, I was wondering if I'll need to update the search Usergroups every time I add a new Usergroup?

Does this plugin scan "secondary" usergroups? If so, then I could create a "common" secondary user group (e.g. "customer") to scan and not have to worry about updating the search usergroup.

I'm not worried about the "restore" feature.
Reply With Quote
  #75  
Old 06-04-2009, 09: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

No, it only checks the primary usergroup.
Reply With Quote
  #76  
Old 06-08-2009, 07:10 PM
OldDude's Avatar
OldDude OldDude is offline
 
Join Date: Feb 2007
Location: Vancouver, Canada
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK... I've entered all the individual usergroups and specified the custom "inactive" group I want them moved to. On the first day, it appeared that the MOD added 9 users to the inactive group. However, if I manually search the groups I have another 50 users that should qualify. No additional members have moved since that first day.

Are there some other requirements that I need to make (e.g. does the server need to be restarted), or are there limitations as to how many usergroups it will scan?
Reply With Quote
  #77  
Old 06-08-2009, 07:26 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OldDude View Post
OK... I've entered all the individual usergroups and specified the custom "inactive" group I want them moved to. On the first day, it appeared that the MOD added 9 users to the inactive group. However, if I manually search the groups I have another 50 users that should qualify. No additional members have moved since that first day.

Are there some other requirements that I need to make (e.g. does the server need to be restarted), or are there limitations as to how many usergroups it will scan?
Make sure the cron job for it runs. If I remember right, it should be added to the vB Daily task. I could be wrong, but make sure it's been run regardless of where it's located. I use this mod and it's been working great for a couple of months.
Reply With Quote
  #78  
Old 06-08-2009, 07:35 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

Quote:
Originally Posted by OldDude View Post
OK... I've entered all the individual usergroups and specified the custom "inactive" group I want them moved to. On the first day, it appeared that the MOD added 9 users to the inactive group. However, if I manually search the groups I have another 50 users that should qualify. No additional members have moved since that first day.

Are there some other requirements that I need to make (e.g. does the server need to be restarted), or are there limitations as to how many usergroups it will scan?
There is no limit on the number of usergroups this will scan.
Reply With Quote
  #79  
Old 06-09-2009, 07:33 PM
OldDude's Avatar
OldDude OldDude is offline
 
Join Date: Feb 2007
Location: Vancouver, Canada
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trek View Post
Make sure the cron job for it runs. If I remember right, it should be added to the vB Daily task. I could be wrong, but make sure it's been run regardless of where it's located. I use this mod and it's been working great for a couple of months.
Thanks for the feedback.... I think I may have another issue causing problems.

By manually running the Daily Cleanup task, I saw the number of Inactive Users change the way I would expect. However, when I looked at my Scheduled tasks I noticed that several of the "Next Times" are dates of June 1-3 (along with one "Yesterday").

Manually launching some of the other tasks (Daily Statistics Log) updated the Next Time correctly to use tomorrow's date. Others tho' (Hourly Cleanup, User Promotions and Weekly Digest) still have the older dates in "Next Time" even though the tasks completed OK.

I suspect that the reason I didn't see any change is because my cron job is not getting launched "Daily" as expected. Any ideas?
Reply With Quote
  #80  
Old 06-23-2009, 09:35 AM
Netz Netz is offline
 
Join Date: Mar 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.

I had problems: My Apache Server was breaking down while running the installation. After I updatet my Apache, PHP and MySQL version (I'm using Apaxx) it is running fine.

btw: It would be helpful to write someware that the config is done under ACP->vB Settings -> Inactive users.

Tanks a lot for your wonderful work!
Reply With Quote
  #81  
Old 07-03-2009, 01:51 PM
HastleGames HastleGames is offline
 
Join Date: Jul 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need to delete inactive users
How can I modify to make this change?

I know the Prune option, but I need to do it automatically

Thanks for the help
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:24 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04394 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
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)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