The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I need an SQL Query that will move all banned users that were just moved to the usergroup Banned and do not have an actual ban reason.
Is this possible? Thanks |
#2
|
||||
|
||||
![]() Quote:
Run this query: Code:
UPDATE vb_user LEFT JOIN vb_userban ON (vb_userban.userid = vb_user.userid) SET vb_user.usergroupid = x WHERE vb_user.usergroupid = 8 AND vb_userban.reason = ''; Also make a backup of the user and userban tables as well before you run the query. |
#3
|
||||
|
||||
![]()
I just now got around to doing this and that query only does members that were actually banned using the banning system.
My issue is the users were just changed to the banned usergroup. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|