![]() |
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. |
Bumpski
|
Can I ask why you want to use a query for this? This can easily be done with a simple template conditional.
|
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.
|
To get banned groups, use this (remove NOT but leave in brackets for opposite result)...
PHP Code:
|
All times are GMT. The time now is 11:11 AM. |
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:
|