![]() |
They want it on the who's online page. ;)
|
Quote:
this code will work for forumhome. |
Quote:
|
Try using the same plugin code, only use hook location "online_query" instead.
|
Quote:
Guests are not counted. Example: Active Users: 316 (316 members and 0 visitors.) Don't show banned users, but not counted visitors |
What exactly are you trying to do and on what page? Who's Online or Who's logged in? (They are different pages.)
|
Quote:
Not forum/online.php |
Indeed I can confirm it does remove all the guests as well. Unfortunately I have no explanation as to why though... This is a pretty simple query adjustment... :confused:
|
Have you tried:
Code:
$hook_query_where .=" AND user.usergroupid <> '8'"; |
Quote:
Anyway, i have made a new code for this thing, which is much better than previous one. Why it is better: it counts banned user in online list but don't show their username. (like invisible mode) Plugin Hook: forumhome_loggedinuser Code: Code:
if ($loggedin['usergroupid'] == 8) { Note: 1. where 8 is the banned usergroupid. 2. And don't forget to remove old plugin (if u created) for this thing. |
All times are GMT. The time now is 10:24 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:
|