The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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 ,,
|
|
#2
|
||||
|
||||
|
primary or secondary?
|
|
#3
|
|||
|
|||
|
<u>primary </u>
remove them from usergroupid = 677 to Registered "usergroupid = 2" |
|
#4
|
||||
|
||||
|
That is easy
PHP Code:
|
|
#5
|
|||
|
|||
|
thank you very much
|
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
Well, if you are experimenting a lot ... creating and deleting usergroups
|
|
#8
|
|||
|
|||
|
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.... |
|
#9
|
|||
|
|||
|
Yes that would work fine
|
|
#10
|
|||
|
|||
|
So I've saved this code:
PHP Code:
I'm a tard, what am I doing wrong? |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|