![]() |
How to exclude usergroups condition
I have the following stats code from the widget that displays the total number of users etc. unfortunately, it shows all users, including the ones from waiting for confirmation etc.
What's the condition to exclude them from usergroups 3 and 4? Code:
ob_start(); nobody can help me? |
soo..any help pls? :)
|
How about replacing this:
PHP Code:
PHP Code:
|
tnx alot Lynne, wonderful as always
|
In addition to Lynne's advice which is 100% correct, I'm extending the query in case that you want the usergroupid to not exists even in the additional usergroups. You must add in the query:
Code:
AND NOT FIND_IN_SET($usergroupid, membergroupids) |
All times are GMT. The time now is 04:59 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:
|