![]() |
Quick query needed, apprecated
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 |
bump
|
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?
|
Registered user. regular user
|
There is no "regular user" group. We need some usergroupids for this.
|
Quote:
|
Quote:
|
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). |
All times are GMT. The time now is 02:26 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:
|