The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
They want it on the who's online page.
|
#12
|
|||
|
|||
Quote:
this code will work for forumhome. |
#13
|
||||
|
||||
Doh... I never visit that page, I forget it exists.
|
#14
|
||||
|
||||
Try using the same plugin code, only use hook location "online_query" instead.
|
#15
|
|||
|
|||
Quote:
Guests are not counted. Example: Active Users: 316 (316 members and 0 visitors.) Don't show banned users, but not counted visitors |
#17
|
|||
|
|||
Quote:
Not forum/online.php |
#18
|
||||
|
||||
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...
|
#19
|
||||
|
||||
Have you tried:
Code:
$hook_query_where .=" AND user.usergroupid <> '8'"; |
#20
|
|||
|
|||
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) { unset ($loggedin); } Note: 1. where 8 is the banned usergroupid. 2. And don't forget to remove old plugin (if u created) for this thing. |
2 благодарности(ей) от: | ||
BirdOPrey5, Boofo |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|