vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Move inactive users to separate usergroup (https://vborg.vbsupport.ru/showthread.php?t=157409)

Paul M 09-08-2007 10:00 PM

Move inactive users to separate usergroup
 
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.


Feckie (Roger) 09-09-2007 02:16 PM

Nice One

howiulf 09-09-2007 02:21 PM

thx, a lot.

It's very useful for me.

TheWhite 09-09-2007 03:02 PM

I don't understand why I'd move a user from inactive to registered after 180 days of inactivity (he/she just reregister if they want to come back), anyway if you remove the automatic restore or at least gve us the option to set it to our linkings I will give it a shot.

Regards

kaptanblack 09-09-2007 04:43 PM

Thanks....

firstrebel 09-09-2007 05:14 PM

I can't see any benefit of this either, perhaps if there is, someone can enlighten me.

Bob

Allan 09-09-2007 06:01 PM

Nice idea Paul ;)

sola 09-09-2007 06:13 PM

Thanks for this. An extension of it would be a way for it to work with the "Send an email to inactive user" Mod. If an email is sent out and the system does not log a response (by the user logging in after a set number of days), then he would be moved into the Inactive usergroup - a group one can weed out occasionally. I would rather delete on inactivate a user after he has been contacted to get his account active or lose it.

Thanks Paul M.

Paul M 09-09-2007 06:25 PM

Quote:

Originally Posted by firstrebel (Post 1335553)
I can't see any benefit of this either, perhaps if there is, someone can enlighten me.


We use it simply to seperate out inactive users for things like e-mails.

Quote:

Originally Posted by TheWhite (Post 1335484)
I don't understand why I'd move a user from inactive to registered after 180 days of inactivity (he/she just reregister if they want to come back), anyway if you remove the automatic restore or at least gve us the option to set it to our linkings I will give it a shot.


This is provided 'as is' for anyone who happens to want to use it, I don't plan to change it.

If you don't want the automatic restore then just disable the "Inactive Users (2)" plugin.

PinkDaisy 09-09-2007 06:56 PM

Sweet!! Thanks :D I can get alot of use out of this. :)


All times are GMT. The time now is 06:54 PM.

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.01145 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete