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 new usergroup (https://vborg.vbsupport.ru/showthread.php?t=201323)

Paul M 01-09-2009 10:00 PM

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


RaceJunkie 01-11-2009 11:09 PM

Great Idea

valendono 01-13-2009 08:30 AM

I am looking at "Scheduled Task Manager" to test "run now" but no option for Inactive users. Should I put manual ? I want to see how it run.

Paul M 01-13-2009 09:28 AM

You will not find anything in the Task Manager, as it says, it hooks into the standard vb Daily Update Job. Running that manually would probably not be a good idea.

Skyrider 01-13-2009 09:41 AM

Thanks! I'll try this out soonish! :D

Sascha Henken 01-19-2009 10:07 AM

Very well done Mr. Paul M. I?m using this since today and it?s doing its job just fine :)

I?ve created a new Usergroup called Inactive Users based upon Registered Users. As I have a League running, i?ll move members from the League Members group to Inactive Users after 60 days of absence. If they come back, they will be restored from Inactive Users to Registered Users again and it?s working very great Sir :)

I really appreciate all you small additions/addons you create Paul. All plugins work without any hassle and do what they should do.

Thank you :)

Paul M 01-19-2009 12:21 PM

Thank you :)

digicom 01-19-2009 10:38 PM

Thanks Paul Installed :up:

buileminh 01-20-2009 06:22 AM

What's the advantage of this mod?

BlackJacket 01-20-2009 11:24 AM

Quote:

Originally Posted by buileminh (Post 1718692)
What's the advantage of this mod?

Does there need to be an Advantage?

Its more for (in my case anyway) keeping the board clean, organized.

robbiefritz 01-24-2009 02:27 PM

Very nice. Thanks.

sandt38 01-24-2009 07:27 PM

Is there a way to redefine "inactive"? For instance, I would like to demote my members that don't contribute, but they come on board and view or do things behind the scenes etc. I want to force them to contribute, or be allowed only to view a "limbo" forum or something. I have some people who have not posted in 2 months, but they show up a couple times a week... It is irritating.

Tolas 01-29-2009 07:16 PM

great mod, thanks Paul!
Any way to log the users this moves?

Paul M 01-30-2009 08:58 AM

No, there is no logging facility.

BlackJacket 01-30-2009 01:08 PM

this is not working for me.

I forgot i installed this like 2 weeks ago, lol. All my inactive people are going somewhere, but not to where i told them to go. Dont ask me where, im still trying to find out. N other group has increased in numbers.

Paul M 01-30-2009 03:51 PM

Did you set the destination usergroup in the options ?

GateKeper 01-30-2009 05:17 PM

I am thinking of using this, but one question, if it moves all the inactive users to a new group, and then I don't see a need for this hack and disable it or remove it for whatever reason, what happens to the users that were moved, where do they end up ?

Also does this affect member count, or will it retain the same count, regardless of the group they are in

never mind the second question, it counts all members, no matter what group they are in, until such a time, that they are deleted, if I am not mistaken...

Thanks

Paul M 01-30-2009 10:07 PM

Quote:

Originally Posted by GateKeper (Post 1729279)
if it moves all the inactive users to a new group, and then I don't see a need for this hack and disable it or remove it for whatever reason, what happens to the users that were moved, where do they end up ?

Nothing happens to them, they remain in the group they were moved to.

Hostboard 02-09-2009 02:31 PM

This is a great modification and huge tool to help monitor/track users.

Would you consider modifying it a bit so that when it scans UserGroups for inactivity based on X days that when/if they return they are restored back to their original group?

I have multiple groups I would like to scan but need them to be returned to their original group if and when they return. It seems by the way it is worded in the ACP that I can only have them return to 1 group.

Also would be a huge bonus if there was an option to create/save a predefined email and send it to the users that are in the inactive group. Then be able to track who received these emails so when emails are sent back out they are not resent to these members (do not want to spam them) or at least be able to define x amount of days before they receive another email.

Thanx

Paul M 02-09-2009 04:40 PM

While both are nice features, I really dont have the time to work on such things at the moment.

Goomzee 02-10-2009 05:36 AM

is this important to make another user group for this Mod

scottny 02-13-2009 04:34 AM

Installed.

One question. Does the time start from the time of installation or does it go back?

Paul M 02-13-2009 06:52 AM

It goes back.

Gosef 02-13-2009 01:32 PM

Good Jop

Thanks a lot

scottny 02-13-2009 01:34 PM

HMMMM,

Ok it only moved one for me. I will have to look closer at it I guess.

Trek 02-13-2009 03:46 PM

Paul, if/when you have some time to work on this, I'd like to see the following feature added if possible.

I'd like to be able to send an IM to a list of users with a list of all users that were moved. I'm using this to keep another list of members within a game in sync and this would help us keep track of things.

Anyway, excellent mod as always, thanks again.

Tolas 02-13-2009 04:02 PM

This thing save me a ton of work, thanks again Paul!

scottny 02-14-2009 02:11 AM

It is working perfectly now. Thanks for it, this is a great one.

sandt38 02-15-2009 01:48 AM

So how do they get out of the restore group? Do we use normal usergroup promotions?

Paul M 02-15-2009 11:29 AM

Please read the main post.

sandt38 02-15-2009 02:21 PM

Is there a way to redefine "inactive"? For instance, I would like to demote my members that don't contribute, but they come on board and view or do things behind the scenes etc. I want to force them to contribute, or be allowed only to view a "limbo" forum or something. I have some people who have not posted in 2 months, but they show up a couple times a week... It is irritating.

Paul M 02-15-2009 04:20 PM

Not unless you re-write the plugin.

manutdvn 02-16-2009 09:22 AM

Thanks Paul.

I have a question. How can I delete those users once they are moved to new group? We have over 20,000 member, but most of them do not online.

Paul M 02-17-2009 04:01 PM

Just use the mass user prune facility in the ACP.

The4um 02-25-2009 10:54 PM

a member of the inactive usergroup is automatically restored to another defined usergroup only if user returns or if user writes any post??

Paul M 02-26-2009 07:12 AM

If they return.

FFTFTCEd 02-26-2009 11:35 PM

I just installed your mod & now I cannot log into the AdminCP, I only get a redirect back to the log in screen over and over, what's the deal, I never even had to time to config the mod. How do I get back into the AdminCP or better yet, how do I uninstall/delete the xml file via FTP as I can't seem to find it in any of the folders on were vB is installed.

Very disappointed.

Ok, one of the other admins was able to get my account reset, not sure what happened, but as I was looking at the usergroup id's to config this mod, the AdminCP page changed to the login for CP & thought, well perhaps I timed out, but my account had been set to registered user & my password had been changed also. Not sure how all that ties into this mod, could be just a freak of nature, but I'm afraid to give it another go until you respond, sorry if I blamed the mod for something it didn't do, but it was the last thing I was doing when the lights went out.

Paul M 02-27-2009 09:03 AM

This mod has no ability to change passwords. Also, unless you edit the settings it has no effect on admins/mods. Sounds to me like someone demoted you.

FFTFTCEd 02-27-2009 10:18 AM

Rgr that, all is well now. I will give this mod another go later today, thanks for your response.

hambil 02-28-2009 11:29 AM

It appears that even though I set the usergroup id for returned users to 9 they still go into 2, the default registered group when they return.


All times are GMT. The time now is 06:30 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.01384 seconds
  • Memory Usage 1,808KB
  • 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
  • (40)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