The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||||
hello. I want to know how you would add a thing to the currently active users thing and the users online today hack that says how many admins and Mods are/came on. If you look at my attachment, I have it say how many members and how many guests are on. I would like to add another thing next to it that says how many admins and how many Mods are on. Then I would like to do the same thing for the users online today hack. Thanks in advance.
Download Now
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
hmmm... nobody knows how to do this?
|
|
#3
|
||||
|
||||
|
In index.php add something like this in the loop when fetching all the online users:
Code:
if ($user['usergroupid']==5 or $user['usergroupid']==7) {
$modsonline++;
} elseif ($user['usergroupid']==6) {
$adminsonline++;
} else {
$membersonline++;
}
|
|
#4
|
||||
|
||||
|
So, would that make it so the Mods and Super Mods aer in one thing, the admins are in another thing, and the Normal Users would be in another thing?
I don't have access to files right now either, because my webhost is doan and has been down for days... I bought a new webhost but since my other one is down I can't downlaod the database... |
|
#5
|
||||
|
||||
|
Well, I really have no clue where to add that code. Can you tell me now?
|
![]() |
|
|