The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Can anyone write a query that unbans every member that was banned by a particular moderator?
so like the moderator's user id and unban everyone banned by that person. Thank you --------------- Added [DATE]1361219532[/DATE] at [TIME]1361219532[/TIME] --------------- bump? help please |
|
#2
|
|||
|
|||
|
bump
|
|
#3
|
||||
|
||||
|
You would need to provide more details like what usergroup have the users been banned to? What usergroup do you wish them to be put in when unbanned?
|
|
#4
|
|||
|
|||
|
Registered user. regular user
|
|
#5
|
||||
|
||||
|
There is no "regular user" group. We need some usergroupids for this.
|
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
||||
|
||||
|
What about if the user has changed it and uses a custom group for Registered Users?
|
|
#8
|
|||
|
|||
|
Try this:
Code:
UPDATE userban SET liftdate = 1 WHERE adminid = X where X is the userid of the mod you mentioned (it's called adminid but it's also for mods). Then run the "Restore Temporarily Banned Users" schedule task (or wait for it to run). |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|