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 and Lurker Users To New Usergroup (https://vborg.vbsupport.ru/showthread.php?t=231874)

Paul M 01-01-2010 10:00 PM

Move Inactive and Lurker Users To New Usergroup
 
As of 23 Nov 2017 this modification has been withdrawn.

This runs daily to check the activity of members and move them to a new usergroup if they meet certain rules.

Lurkers
If a member has not posted on the forum for a defined number of days (90 by default) then they will be moved from their existing usergroup to the defined usergroup (this can be any existing usergroup, however, you should really create a new 'Lurkers' group

Inactive Members
If a member has not visited the forum for a defined number of days (180 by default) then they will again be moved from their existing usergroup to the defined usergroup (this can also be any existing usergroup, however, you should again really create a new 'Inactive Users' group.

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

If a member of the Inactive usergroup returns to the forum, or the Lurkers usergroup posts again, and auto-restore is enabled, they are automatically restored either to another pre-defined usergroup (by default this is usergroup 2, Registered Users) or to the usergroup they were in before they got initially moved. Note that if you use this option then you really must have seperate Inactive and Lurker usergroups, otherwise you are going to get in a mess.

Any of the options above can be disabled if not required. All options are in ACP > Options > Inactive and Lurker Members

To install simply download the file and import in vbulletin using the product manager.

Note: The move of inactive users is done once per day as part of the existing vbulletin daily update cron job. The restore function should be pretty much instant. Also, this works purely on the Primary usergroup, secondary groups are neither checked or altered.


History:

v4.0.1 : 02-Jan-2010 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 02-Jan-2010 : Prevent restore to usergroup 0 if old usergroup data is missing.
v4.0.3 : 16-Feb-2010 : Lurker & Inactive settings split out.
v4.0.4 : 18-Feb-2010 : Installer & code updates.
v4.0.5 : 12-Sep-2010 : Fix bug in disable options.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.

v4.2.0.0 : 24-May-2012 : Updated for vBulletin 4.2.0.


Super Jinni 01-02-2010 02:02 AM

This one is one of my favorite mods.
Thanks for the update, Paul :)

One question:
will the auto-restore work with inactive users who moved before upgrading to vB 4 (as we will remove all hacks before upgrading then install the new ones after upgrading to vB4)? Or it will only work with users who moved using this new release?

Paul M 01-02-2010 02:12 AM

Quote:

Originally Posted by Super Jinni (Post 1944569)
One question:
will the auto-restore work with inactive users who moved before upgrading to vB 4 (as we will remove all hacks before upgrading then install the new ones after upgrading to vB4)? Or it will only work with users who moved using this new release?

Yes (and no ....) as long as you define the usergroup correctly it will be able to restore them to the pre-defined usergroup. However, it will not be able to correctly restore them to their old usergroup, as that information does not exist. If you try to do that, they will end up in usergroup 0. I will fix that shortly so they go to the predefined group.

Hornstar 01-02-2010 02:28 AM

This is what I would like to do.

Usergroup special....if anyone in that usergroup is inactive for 60 then they are moved to registered usergroup......if they come back active again I don't want anything to change..

Can this do what I want?

Dr.osamA 01-02-2010 03:08 AM

my favorite

thanxxx Paul M

gooood mod

installed

translation later
________
IOLITE PORTABLE VAPORIZER INSTRUCTIONS

mitch84 01-02-2010 05:30 AM

thank you

mitch84 01-02-2010 10:28 AM

when you says
Quote:

Lurkers
If a member has not posted on the forum for a defined number of days (90 by default) then they will be moved from their existing usergroup to the defined usergroup (this can be any existing usergroup, however, you should really create a new 'Lurkers' group
it's a simple reply or a new topic? thx

Paul M 01-02-2010 10:29 AM

Quote:

Originally Posted by hornstar1337 (Post 1944585)
Usergroup special....if anyone in that usergroup is inactive for 60 then they are moved to registered usergroup......if they come back active again I don't want anything to change..

Can this do what I want?

Yes. As long as the "special" group is their primary group.

Paul M 01-02-2010 10:30 AM

Quote:

Originally Posted by mitch84 (Post 1944824)
when you says it's a simple reply or a new topic? thx

Posted means reply or new topic.

Weetabix 01-02-2010 10:38 AM

Just what I've been looking for. Excellent work, good sir :)

mitch84 01-02-2010 01:01 PM

Quote:

Originally Posted by Paul M (Post 1944827)
Posted means reply or new topic.

ok, thank you

Boots 01-02-2010 01:58 PM

Will this give them an additional usergroup instead of moving them?

Paul M 01-02-2010 02:18 PM

As it says ;

Quote:

... this works purely on the Primary usergroup, secondary groups are neither checked or altered.

Boots 01-02-2010 03:09 PM

Quote:

Originally Posted by Paul M (Post 1944969)
As it says ;

Any chance of adding that ability? I'd like to be able to flag lurkers with an additional usergroup so I can treat them differently but it would break everything if I changed their primary group.

Boots 01-02-2010 03:10 PM

Keep up the good work btw. I run a ton of your mods :)

captkirk 01-02-2010 03:29 PM

Great mod, as I had 5 thousand zero posters last year and 200 of them would visit every day.
Will vote on this one.:D

Alibass 01-02-2010 10:21 PM

Paul M

How does your mod work when it moves a lurker or inactive member to the inactive/lurker groups, does it return them immediately back to their previous status or do they have to post first? I am really looking for something to force them in to posting first before they can return to their previous status.

Paul M 01-03-2010 01:36 AM

If they are classed as inactive, then simply returning will trigger the restore, if they are currently classed as a lurker, then they must post to trigger a restore.

Alibass 01-03-2010 02:01 AM

Thanks Paul, I can make that work for what I need to do.

*Installed*

Alibass 01-03-2010 04:34 AM

Paul M,

When the cron routine ran everything executed as it should have and put my lurkers/inactive members into the groups created. It also changed the primary group name appropriately but it did not change their user title I have set for the lurker/inactive groups. Does this mod to this? I would really like for the lurkers and inactive to show in the member list with their new group user title.

Paul M 01-03-2010 10:17 AM

No, this will not update user titles. Thats an added complication I didnt need.

If they dont have a custom title then vb may show the new group title anyway.

Skyrider 01-03-2010 11:26 AM

Which cron job is it exactly Paul and can I force it? I'd like to see results right away :p.

Paul M 01-03-2010 11:46 AM

Daily Cleanup - however, that performs other vbulletin tasks (I dont know what without looking at the code) so I cannnot advise what other effects manually running it will have.

Alibass 01-03-2010 02:15 PM

Quote:

Originally Posted by Paul M (Post 1945808)
No, this will not update user titles. Thats an added complication I didnt need.

If they dont have a custom title then vb may show the new group title anyway.

Thanks Paul and I understand your decision. Main thing your mod will help me get some of my members to posting. :)

Skyrider 01-15-2010 07:24 PM

Not sure if this plugin works properly. Got a message from a member who couldn't post as his username was still in the lurkers usergroup, and the "Restore Feature" was set to "Restore to usergroup specified below" to usergroup 2 = Registered Users. It never moved the user back. User's last activity, Jan, 15 2010. Which is, today. Yet he's still in Lurkers.

Paul M 01-15-2010 07:54 PM

Lurkers are members who have not posted - therefore they will only be restored if they post again - if you have prevented the Lurkers group from posting then they are going to have a bit of an issue :)

Skyrider 01-15-2010 08:40 PM

Quote:

Originally Posted by Paul M (Post 1956822)
Lurkers are members who have not posted - therefore they will only be restored if they post again - if you have prevented the Lurkers group from posting then they are going to have a bit of an issue :)

He had a post count of 46, so how come he has been moved to lurker then? Shouldn't he be in inactive?

Paul M 01-15-2010 09:30 PM

How many posts they have is not relevant, please read the definitions. :)

Skyrider 01-16-2010 09:16 AM

Heh, now I get it. I thought they also would have been automaticly moved. My bad, thanks.

baghdad4ever 01-22-2010 10:11 AM

thanks paul

i have small question

what is the benefit of it?

if i move them to new usergroup so what is the point?

thanks

Paul M 01-22-2010 10:56 AM

Its not my place to explain any benefits, people use it for different reasons. If you have a use for this then thats great, otherwise you simply dont install it. :D

Skyrider 01-26-2010 08:31 PM

Disabled for now.. I personally don't wish to use the Lurker, but the inactivity group only. When I change the usergroup of the lurkers to 0 in hope to disable it. The users are being moved to (COPPA) Users Awaiting Moderation. While through the usergroup, no users are in (COPPA) Users Awaiting Moderation.. When I edit the user, it strangely seem to be in (COPPA) Users Awaiting Moderation.

Is there anyway I can disable the lurkers check?

Paul M 01-26-2010 08:40 PM

Well I suppose you could read the options ;)

Quote:

Lurker Cutoff Point
Any member who has not posted after this time period (days) will be moved.
This must be lower than the Inactive setting. Set to 0 to disable this feature.


BTW, those users are not in COPPA, they will have a usergroup of zero - its just that vbulletin has no u/g of zero, so it shows the first one in the list.

Skyrider 01-26-2010 08:45 PM

I really fail at reading, heh, Thanks.

adembaba 01-26-2010 09:12 PM

What is the advantage of putting users in a new usergroup? :s

Paul M 01-26-2010 09:18 PM

See post #31 :)

Skyrider 01-30-2010 04:26 PM

Paul, there are tons of people now within the unknown usergroup that does not exist (usergroup 0 that I used to fill in as lurkers usergroup). How do I fix this for them to be moved to the registered usergroup again?

Sador 01-30-2010 08:19 PM

Nice mod, used it on vb 3.x as well.

I do wonder though, if I have the 3.x version of this mod installed, do I need to upgrade to this version (I suppose so) and if I do, will the usergroups all correct themselves when I upgrade the script (assuming I set up a special usergroup for the inactive people) or do I need to change those manually?

Thanks.

Rob F 02-02-2010 03:21 PM

Have installed this on test forums and it works perfectly.

Question/Suggestion for future upgrade of mod though - would it be possible to have the option added whereby you could decide for each group as to whether the restore feature is enabled? For the likes of Inactive users it'd be handy to be able to set the restore feature to be enabled, but for Lurkers leave it so they have to contact admin to have their accounts restored.

Paul M 02-02-2010 03:52 PM

Seems reasonable, I'll consider that for a future upgrade.


All times are GMT. The time now is 11:00 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.01488 seconds
  • Memory Usage 1,819KB
  • 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
  • (10)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