The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Quick question - SQL Query to return banned usergroups
Hi guys.
I'm struggling to find out how I evaluate, presumably 'genericoptions' in the usergroup table, to determine if a usergroup is banned or not. Dont suppose any of you guys could point me in the right direction? Thanks. |
#2
|
|||
|
|||
Bumpski
|
#3
|
||||
|
||||
Can I ask why you want to use a query for this? This can easily be done with a simple template conditional.
|
#4
|
|||
|
|||
I want to move users to a particular user group based on inactivity. Easy enough to do with a query, but obviously this shouldnt apply to banned users. If I can determine in a query which usergroups are banned, then I can get a result set which doesn't contain members of these groups.
|
#5
|
||||
|
||||
To get banned groups, use this (remove NOT but leave in brackets for opposite result)...
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|