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=178069)

Paul M 05-03-2008 10:00 PM

Move inactive users to new usergroup
 
This modification is no longer available or supported.

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.7.001 : First Release for vB 3.7.


Super Jinni 05-04-2008 12:21 PM

Hi man

I was waiting for this

thank you som much

at last it's working on 3.7.

installed

KURTZ 05-04-2008 01:05 PM

*installed, thx Paul ... :)

Super Jinni 05-04-2008 03:12 PM

the daily update corn job was an hour ago, but nothing changed

I think this does not work..

I hope I'm wrong

Paul M 05-04-2008 04:15 PM

Works fine for me, are you sure you've actually set the usergroups in the settings.

Also, the daily cron job normally runs just after midnight, are you sure it ran just over an hour ago ?

EagleNick 05-04-2008 08:21 PM

What is the point of moving them to a usergroup if they don't log in for x days, and then when they do login, they are restored back to the Registered Users group?

KURTZ 05-04-2008 08:23 PM

Quote:

Originally Posted by Paul M (Post 1508243)
Works fine for me [cut]

me too, i've ran manually the cronjob and the inactive users are gone correctly in the 'inactive ug' (that i've previously created)

Super Jinni 05-04-2008 08:24 PM

yes, I set the user group and did everything as I did just on 3.8.0 yesterday

and yes as I saw the schedule and it was just an hour ago when I post that

don't forget that the difference in the time zomes

I'll wait till tomorrow then I can tell for sure if it is working or not..

thank for your quick reply

:)

Super Jinni 05-04-2008 08:27 PM

Quote:

Originally Posted by EagleNick (Post 1508526)
What is the point of moving them to a usergroup if they don't log in for x days, and then when they do login, they are restored back to the Registered Users group?

that an opetional you can set..
you can choose to make them be restored or not..

Super Jinni 05-04-2008 08:39 PM

ok now..

it works for me now

great..

thanks for the great job Paule

EagleNick 05-04-2008 11:20 PM

Quote:

Originally Posted by Super Jinni (Post 1508542)
that an opetional you can set..
you can choose to make them be restored or not..

I understand that.... but what would be the point of restoring them?
It would go by as if nothing has happened...

airborneCAL 05-04-2008 11:39 PM

Does this look in the primary usergroup or additional usergroups to make the determination? Basically, if a user is in primary group X, but are also in additional groups Y and Z will the hack move the user from X only into the inactive group and then restore into group X (if chosen) or do something else?

COBRAws 05-05-2008 05:01 PM

Quote:

Originally Posted by airborneCAL (Post 1508736)
Does this look in the primary usergroup or additional usergroups to make the determination? Basically, if a user is in primary group X, but are also in additional groups Y and Z will the hack move the user from X only into the inactive group and then restore into group X (if chosen) or do something else?

I second this.

VB-STYLE 05-05-2008 05:28 PM

Move active users to new usergroup will be good allso :)

If a member spend more time in the forum
like style for X hours or conut how many post in the month.

Paul M 05-05-2008 06:21 PM

Quote:

Originally Posted by airborneCAL (Post 1508736)
Does this look in the primary usergroup or additional usergroups to make the determination? Basically, if a user is in primary group X, but are also in additional groups Y and Z will the hack move the user from X only into the inactive group and then restore into group X (if chosen) or do something else?

This does not check, or affect, secondary usergroups (at all).

slowphantom 05-06-2008 07:36 AM

nice thx
is there is way to make it in another way

like lets say the Registered Users who only read without write any thing of even thx after x days of Register will change from Registered Users to another group

i gusse this will be more helpfull

thx paul ur hack r always so good
i will wait ur answer

Kinneas 05-06-2008 12:18 PM

Again, thanks Paul :)

Paul M 05-06-2008 12:45 PM

Quote:

Originally Posted by slowphantom (Post 1510149)
like lets say the Registered Users who only read without write any thing of even thx after x days of Register will change from Registered Users to another group

If you re-wrote the SQL query then i think you could do that, but I cant really help you on that as its a totally different thing.

Silvio 05-07-2008 01:34 PM

ty so much installed and very appreciated.

will never be possible to have an ON/OFF switch on the admin panel options menu?

take care

ciao

echo2kk5 05-07-2008 02:48 PM

Thanks Paul. **Installed

Mum 05-14-2008 06:08 PM

installed :)

KURTZ 06-19-2008 11:19 AM

Paul, just a little thing :p

right now i put into the 'List of Checked Groups' some UGs like Registered (ID. 2), Moderators (ID. 5) and some other special UGs (ID. 10 etc.) ... so obviously when a user of these goes into 'inactive list' they are moved onto the new UG that i've created (ID. 14) ... so it's fine ...

but when they returns on-line they are moved by default into Registered Users (UG. 2), so i need an option that puts the users into their previous UG ... it's possible?

example:

User (UG.2) ---> Inactive (UG.14) ---> Active (UG.2)
Moderator (UG.5) ---> Inactive (UG.14) ---> Active (UG.5)
BOT (UG.10) ---> Inactive (UG.14) ---> Active (UG.10)

Paul M 06-19-2008 04:36 PM

Nope, that facility does not exist, nor do I have any plan to add it. The common group they get returned to is an option already.

AdrianH 06-23-2008 03:33 PM

:up: another nice mod thanks Paul.

PHILIPS-08 06-24-2008 04:02 AM

Thanx for the cool mod

fukdawrld 07-13-2008 03:25 PM

It says it moved my inactive users to usergroup 9??? This doesn't exist so I have now way of editing them. If I uninstall this what happens to my users?

Paul M 07-13-2008 04:20 PM

You should have changed the settings when you installed it.

Nothing will happen to them if you uninstall it, they will stay where they are.

BigDog56 07-13-2008 04:47 PM

Clicked 'Installed'. Works fine!

Paul M 07-13-2008 09:13 PM

Quote:

I made a new usergroup that I'd like them to enter. Do I have to do this manually or will It do it on it's own?
Set the "Inactive Group" to your new usergroup, and add the old usergroup (9 ?) to the "List of Checked Groups" and it will move them all next time it runs.

x-death 07-18-2008 08:52 AM

thanks post

forumrunt 07-26-2008 08:01 AM

XML Error: not well-formed (invalid token) at Line 1

Not sure what this means

AuroraStorm 08-02-2008 07:08 PM

Sweet...I prune every 30 days so this will help the administrators out tremendously and keep them from having to search for non-active members...

*installed*

sinucello 08-05-2008 10:44 PM

Hi,

thanks, great mod. A general question: is it possible to keep the members of the inactive group from increasing the total of the user-counter at the bottom of the forum?

thank you - all the best,
Sacha

Paul M 08-06-2008 01:03 AM

Nope, vb will always count them, no matter what usergroup they are in.

sinucello 08-06-2008 10:20 AM

Quote:

Originally Posted by Paul M (Post 1592297)
Nope, vb will always count them, no matter what usergroup they are in.

thanks for your reply, I added a feature request for it.

best,
Sacha

popowich 08-08-2008 12:38 PM

I wish i noticed this sooner. I tried doing the job manually a few weeks ago and accidentally turned all the banned members into inactive members. *installed* Thanks as always for yet another nifty product! :D

-Raymond

popowich 08-08-2008 01:12 PM

Quote:

Originally Posted by EagleNick (Post 1508526)
What is the point of moving them to a usergroup if they don't log in for x days, and then when they do login, they are restored back to the Registered Users group?

I will be using this to easily identify members who have not been active for over 90 days.

I can send my regular news letters only to those who visit the site at least semi regularly.

I can every 6 months or so try to get back the people who did not come back (and the inactive reminder e-mail at 2 weeks didn't work...)

-Raymond

ssandgirls 08-08-2008 11:32 PM

Great mod....... is there a way to also delete all PMs upon being moved to the inactive group?
Many thanks

Binoy 08-24-2008 11:52 AM

*Clicks Install.

Btw, Is there any option to view which usergroup does these users earlier belonged to ?

Paul M 08-25-2008 09:16 AM

Nope, no record is kept of that.


All times are GMT. The time now is 06:18 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.03408 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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