View Full Version : Administrative and Maintenance Tools - Move inactive users to separate usergroup
Paul M
09-08-2007, 10:00 PM
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 ;)
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
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.
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. :)
jellybaby
09-09-2007, 06:59 PM
How do they get moved across - it doesnt seem to be moving anyone across on my forum?
Pirate45
09-09-2007, 07:10 PM
Great idea.. in fact I once asked for something similar and this will do the job. I just installed it. I assume there will be a mass move when it hits for the first time? How long until that happens?
Paul M
09-09-2007, 08:13 PM
The moves are done as part of the hourly update cron job. I've added that to the description so it's clear.
jellybaby
09-09-2007, 08:19 PM
I clicked on it so it did that and its still not showing for some reason that they have moved across, I have checked that I have the settings right and they are.
Paul M
09-09-2007, 08:22 PM
If it's set-up correctly then it's pretty hard for it not to work, what settings do you have ?
jellybaby
09-09-2007, 08:26 PM
I have set up which groups to check for inactive users, and a new group to move inactive users to. I clicked on the hourly update cron job and it doesnt seem to have done anything
Paul M
09-09-2007, 08:38 PM
I meant what settings exactly do you have. Which cron job exactly did you run ?
There is just no way I can see this would not do anything if everything is set-up correctly. There is really nothing in it to break.
jellybaby
09-09-2007, 08:40 PM
The hourly clean-up, was that the one you meant?
Paul M
09-09-2007, 08:43 PM
Yes.
Masiello
09-09-2007, 08:44 PM
Thanks Paul, please, can you make this for 0 posters too?
Inactive - Option
0 Posters - Option
Paul M
09-09-2007, 08:46 PM
Sorry, as posted earlier, I do not plan to change this in any way atm, it was written a long time ago for internal use on CF. I've simply posted it up as someone was looking for something similar.
jellybaby
09-09-2007, 08:51 PM
Maybe I have a cron problem then as its not working but I haven't noticed a problem before.
Masiello
09-09-2007, 08:54 PM
Sorry, as posted earlier, I do not plan to change this in any way atm, it was written a long time ago for internal use on CF. I've simply posted it up as someone was looking for something similar.
No problem Paul, it is anyway a great mod and I used for sure :)
Paul M
09-09-2007, 08:55 PM
@jellybaby - I really cannot say, and unless you plan to send me acp access there is nothing I can look at. You obviously have a problem, but I cannot imagine what. It's a single SQL statement, pretty hard to break.
Masiello
09-09-2007, 08:59 PM
I have set up which groups to check for inactive users, and a new group to move inactive users to. I clicked on the hourly update cron job and it doesnt seem to have done anything
Same here :(
jellybaby
09-09-2007, 09:12 PM
Ahh I think I have found the problem - the product installed as automatically disabled for some reason - have enabled and will try now!
Edit: Yes that works now! Thanks
xandizitxu
09-09-2007, 09:17 PM
Simple question before I install this mod
I don't want to move then to another group I want the accounts deleted. Is it possible?
Masiello
09-09-2007, 09:18 PM
Ahh I think I have found the problem - the product installed as automatically disabled for some reason - have enabled and will try now!
Edit: Yes that works now! Thanks
Uuups, true!
Edit: only the user title remain the same of the primary group (Registered Users)
Edit2: showing after updating user title.
But a question, have to update user title everytime when a user jump from a usergroup to other?
Paul M
09-09-2007, 10:01 PM
Ahh I think I have found the problem - the product installed as automatically disabled for some reason - have enabled and will try now!
Edit: Yes that works now! Thanks
Oh B*****, so it does, fixed.
If you downloaded it prior to this post, make sure you enable it in the product manager.
Paul M
09-09-2007, 10:06 PM
Edit: only the user title remain the same of the primary group (Registered Users)
Edit2: showing after updating user title.
Correct, that's by design - on our forum we don't want any visible change for inactive users.
jellybaby
09-10-2007, 05:25 AM
Thanks Paul great mod.
mrahul
09-10-2007, 06:41 AM
does this work on 3.6.4 ?
Pirate45
09-10-2007, 08:49 AM
For me, when I installed it, it was not enabled automatically. That slowed me down for a moment but it works great and this is very useful.
Paul M
09-10-2007, 09:42 AM
does this work on 3.6.4 ?
Yes, I believe I wrote it during the 3.6 beta phase.
Masiello
09-10-2007, 12:23 PM
If I want for example to mass move the "Inactive Users" to the "Registered User" group, to rebuild user titles and showing only Inactive in the AdminCP end not be visible how you say in the forum by members, it is possible to do a reverse process?
lazydesis
09-10-2007, 04:22 PM
awesome :D this is more like the promotion/demotion system :)
this was wat i was looking for since a long long time
now i can send emails seprately one kind to the active and the other kind asking them to be active to the inactive users ...
thanks PauL :)
Paul M
09-10-2007, 05:01 PM
If I want for example to mass move the "Inactive Users" to the "Registered User" group, to rebuild user titles and showing only Inactive in the AdminCP end not be visible how you say in the forum by members, it is possible to do a reverse process?
I've read this twice and still don't understand what you're asking, can you clarify ?
Masiello
09-10-2007, 06:40 PM
If I needed to replace in the Registered Users Group all of the users they are now in the Inactive Users Group, is there any way to do the Mass Move from one group to other?
JohnBee
09-10-2007, 06:41 PM
Great MOD! thanks for this.
Paul M
09-10-2007, 08:38 PM
If I needed to replace in the Registered Users Group all of the users they are now in the Inactive Users Group, is there any way to do the Mass Move from one group to other?
You can use the ACP Users > Prune / Move Users to do one off mass usergroup moves.
lostgirl815
09-12-2007, 05:57 AM
I'm sorry to be a dolt, but do I upload this to products, or plugins?
Kinneas
09-12-2007, 09:39 AM
Woo! Thanks for this PaulM!
I seem to remember requesting this a while back. Might have been my thread you saw :)
Edit: Yeah it was, just saw your reply on it :p
Kinneas
09-12-2007, 10:42 AM
I'm sorry to be a dolt, but do I upload this to products, or plugins?
It's a product :)
KURTZ
09-12-2007, 04:56 PM
interesting Paul ... thx 4 sharing ...
Kurtz cliks INSTALL ... :D
lostgirl815
09-12-2007, 06:38 PM
Thanks Kinneas! :)
kollam003
09-15-2007, 04:20 PM
Kollam003 Clicks INSTALL .....
Roxie
09-15-2007, 04:41 PM
I've been doing this manually for 3 years now, so this is a great option for me!
I have a question. I have two banned usergroups. BANNED and UNDER 21. Will it move inactive members from these usergroups to the inactive group?
Roxie
09-15-2007, 04:42 PM
Duh. Nevermind. I should have read the description more carefully. Thanks for another great mod!
Paul M
09-15-2007, 05:40 PM
Version 1.02
I've added a setting to make the auto restore optional - to upgrade simply import the new product.
Note: If you changed the default restore usergroup, you will need to set that again as the previous setting will be lost.
KURTZ
09-18-2007, 10:59 PM
thx Paul ;)
UPDATED!
AzaDiyaR
09-18-2007, 11:59 PM
thanks installed
nice work
mgurain
09-29-2007, 09:11 AM
It seems a perfect mod for me.
mgurain
09-30-2007, 08:34 AM
Installed.
Paul, could you make a new release that features the following:
I have created the follwoing groups:
1. Golden Users
2. Inactive golden users
3. Normal Users
4. Inactive normal users
I need that hack to be able to move inactive users from golden and normal groups to the respective usergroup.
means from 1 to 2
& 3 to 4
I may create 5 & 6 with the same idea.
Can you do it ?
Thanks in advance,,
Roonie
09-30-2007, 09:47 PM
Would be it possible to auto restore users when they post "X" new thread(s)?
Paul M
10-01-2007, 12:09 AM
Sorry, the answer to both questions (mgurain & Roonie) is no.
flynnibus
10-07-2007, 07:38 PM
thank you paul for another simple and effective mod!
Doctor Death
10-18-2007, 03:56 PM
Thanks, this is very useful... Only suggestion is capacity to "restore" user to original group?
Does this leave there orginal secondary usergroup intact? Or does it reset all this on the restore?
Paul M
10-19-2007, 09:20 AM
Secondary groups are unaffected.
Guest191216
10-27-2007, 09:03 AM
Very helpful mod!
Installed without any problem on 3.6.8
I like it.
As usual...some questions came up
It would be nice if the moved users would receive an e-mail about their ststus, any plans on this ?
I recently migrated my old ikonboard forum to VB, which was an easy job btw.
I have plenty of users who haven't been active since a year or so. will they be moved now to inactive ? (my threshold is 120days).
thanks again for the great mod.
kh
Paul M
10-27-2007, 10:35 AM
There are no plans for this to send an e-mail.
Assuming that your imported users had a valid last visited date set then they should get moved.
Guest191216
10-27-2007, 10:43 AM
OK, no problems if they don't get a mail, the'll see when they come back..
Just looked at my inactive usergroup and....450 users sitting there now :), so they had a last visited date and have been moved.
Thanks again !
kh
One thing I do wrong, because I do not see the user in the new group, and I have subtracted from the original, as I can restore the original state? Thank you.:confused:
Paul M
11-05-2007, 12:03 AM
Huh ?
Please excuse my English, we do not see users, as I retrieve?
Paul M
11-05-2007, 10:21 PM
Sorry, but I just don't understand what your issue is, perhaps you can find someone to translate for you.
Konstantinos
12-15-2007, 07:58 AM
why dont u add an auto prune function and maybe an email reminder like in this hack https://vborg.vbsupport.ru/showthread.php?t=94041
Paul M
12-15-2007, 02:21 PM
I don't need those features atm, so they are very unlikely to get added.
Aquestor
02-06-2008, 01:19 PM
HI i think i am a Dummie, can`t find were i enable this Hack. There are many HAcks in my Forum but i canĀ“t find it maybe its to hot.:-)
Greetz
Aquestor
02-09-2008, 09:53 PM
marked as installed, made the Installation a second time and the users are not moved yet.
That could not be so difficult...:-( must be my fault, made all settings and did the cron manuell but nothing happend..
Thanks for help Kai
dtv100
02-09-2008, 10:51 PM
can this work with 3.7 ?
Paul M
02-10-2008, 03:08 PM
You cannot install this on 3.7 unless you edit the xml, but I see no reason it wouldnt work.
dtv100
02-11-2008, 09:41 AM
thanks for reply I still using 3.6.8 but when vb 3.7 gold is out want to make sure all hacks in my board will work .
thanks
Kinneas
02-19-2008, 08:04 AM
I have upgraded to 3.7 and this still works fine AFAIK.
Majest
02-19-2008, 10:43 PM
This is a great idea, something that should be vB standard. Thanks for posting this hack it has just made my life so much easier, now to wait for the hourly update cron job to happen to actually see how many inactive users I actually have.
rwoscott
02-19-2008, 11:40 PM
Yes, it is an excellent hack. It changed my usergroup numbers quite dramatically. Not sure how I missed it before now.
Future Addition that would be nice: Have multiple usergroup demotion/promotion options.
raagaswaram
04-12-2008, 03:04 AM
is there any way to make it send emails to inactive users?
Paul M
04-12-2008, 12:41 PM
Nope.
walidaly
04-12-2008, 01:33 PM
how to run the move operation manually?
amirlol
04-12-2008, 05:14 PM
thanks !!!!!
KURTZ
04-30-2008, 10:10 AM
Paul i'm wondering about this hack: can you release a similar for the 3.7?
thx
PS. i don't saw the hourly update cronjob into my tasks (3.7.0)
Paul M
04-30-2008, 10:24 AM
Yes, I will release a 3.7 version.
KURTZ
05-01-2008, 09:57 AM
Yes, I will release a 3.7 version.
OK thx ;)
Super Jinni
05-03-2008, 05:34 AM
I don't think this one does work with 3.7.0
I've tried it and did everything mentioned here, but it does not work... nothing changed..
I've tried it with 3.6.8 and it works fine..
when will the one for 3.7 be released?
I hope that it will be so soon
thanks Paul
Paul M
05-03-2008, 09:33 AM
Just to be clear - You are correct - this will not work on 3.7.
Super Jinni
05-03-2008, 10:39 AM
yeah, just as I thought..
so hurry up man and bring the 3.7.0's release to the life..
I think this is one of the best of vbulletin products and add-ons ever
:)
I've looked for such one and I found it at last.. but unfortunately it does not work on 3.7
I really need it..
thanks man
edgegamers
07-12-2008, 04:45 PM
This did not add anything to the scheduled tasks. How do I manually add it in?
Paul M
07-12-2008, 06:56 PM
This doesnt add anything to the scheduled tasks.
mahakala
01-19-2009, 03:56 PM
hi paul,
i like this mod - even if it is discontinued ;)
well - how could i add (in your xml) an option, to figure out the last post. so move inactive posters to another usergroup.
best regards,
thomas
BadgerDog
01-01-2010, 10:04 PM
Just found this and installed it ...:up:
Thanks you ... :)
Is there any way to turn it OFF until I'm ready to use it?
I don't see an ON and OFF button in AdminCP ... :confused:
Regards,
Badger
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.