![]() |
Currently Active Users In Header
A request that I happened to need ASAP so I did my first hack (be gentle!)
Inspired on vBExternal and live stats on header 1. Add the plugin to set the value of $onlineusers 2. Edit header template to add $onlineusers If you want to put it under the logo, the same place the live stats on header puts it, do this: In the header template: Find: (ususally at the end of the template file) Quote:
Quote:
http://sinsdawn.ffproject.net/index.php Note: If your forum is very active (lucky you), your current online string gets too big. The plugin stops the gathering of user names when the string reaches 80 charaters. If you want more than that, just edit the plugin and at the bottom find Quote:
|
|
Thanks for this mod.
Do you know how I can do for display only the numer of member, and not the name? exemple : online : 13 |
Hi
You would need to use this Code:
<div align="left"><span class="smallfont"><b>Online: </b> $totalonline</a> Code:
<div align="left"><span class="smallfont"><a href="online.php$session[sessionurl_q]"><b>Online: </b> $usersonline</a> Hope this helps :) |
Quote:
or do what Bashy said :) |
Thx a lot for your help :)
|
Quote:
|
Quote:
|
works on 3.62.... but it displays all invisible members
|
|
All times are GMT. The time now is 08:26 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:
|