The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
There is no need to create a plugin to show the number of invisible users online.
Edit the FORUMHOME template and add Invisible: $numberinvisible anywhere you like. The only weird thing about this is that I made the main admin invisible but it stayed at zero. I logged in with my other username which is in the "Registered Users" group and set him to invisible and it worked. Edit: Code:
<phpcode><![CDATA[ if ($totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)) { Invisible: $numberinvisible; } ]]> </phpcode> So change this Invisible: $numberinvisible; to $myvar = Invisible: . " $numberinvisible; In the appropriate template just add the variable $myvar in it and it'll output the text assigned to it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|