The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
When running a query to pull a list of users, how do I exclude all users in certain usergroups from being added to this list?
|
|
#2
|
||||
|
||||
|
[sql]SELECT (columns) FROM user WHERE usergroupid NOT IN(1,2,3);[/sql]
Where 1,2,3 are the usergroups you want to exclude. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|