Question How do I get the number of active users and display it elsewhere on the forum?

Status
Not open for further replies.

Jeremy

Customer
I look at the template for the number (in the tab), but it just says 0, so I'm not sure how that works.
Code:
<a href="javascript://" onclick="return vBShout{vb:var instance.instanceid}.show_tab('activeusers');">
{vb:phrase dbtech_vbshout_active_users}</a>:
<span id="dbtech_shoutbox_activeusers{vb:var instance.instanceid}">0</span>
Anyway, I'm trying to get that number and put it somewhere else on the forum (like in a navtab) so people can see how many people are chatting.
 
I don't believe this can be easily achieved atm, but for a future version we can look into making this available for templates :)

It works by AJAX fetching the count and overriding that number.
 
Status
Not open for further replies.

Legacy vBShout

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,179
Customer rating
5.00 star(s) 1 ratings
Back
Top