![]() |
auto-kick from group after X day without activity ?
hi ,,
is there a hack that remove the user from certain usergroup ? :ermm: i have VIP usergroup ,, and i cant keep my eye on them every day and see if they are active or not .. so it would be great idea to make this hack ,, :) |
primary or secondary?
|
<u>primary </u>
remove them from usergroupid = 677 to Registered "usergroupid = 2" |
That is easy
PHP Code:
|
thank you very much :)
|
Quote:
|
Well, if you are experimenting a lot ... creating and deleting usergroups :D
|
Quote:
If I wanted to run this against multiple usergroups (say group 123, 5 and 6), would I be correct in adjusting the syntax of the code to something along the lines of : user SET usergroupid = 2 WHERE usergroupid = 677 OR 123 OR 5 OR 6 AND lastactivity.... |
Yes that would work fine :)
|
So I've saved this code:
PHP Code:
I'm a tard, what am I doing wrong? |
All times are GMT. The time now is 08:08 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|