MyBB Community Forums

Full Version: Who is viewing what forum???
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a plugin out there, that shows on the index page, how many people are viewing each particular forum? Vbulletin has such a mod.....I would like to include this in my new MyBB project. Below is a sample.....an area from the index page of a Vbulletin forum that has this....I highlighted the area in red.
Is this already available or can this be requested???
It's a core feature in MyBB. Smile

ACP > Configuration > Forum Home Options > Show x viewing forum
Hmm.... I went back and checked my forum.....that option is checked....it doesn't show up. I will enable that option on my new MyBB forum and see if it works there.
Question.... does it only show registered members or does it show total that is viewing?
^ IIRC, that should show total number of registered users browsing a forum (you can see how it appears here)
Edit: it appears to be counting guests also.
My old forum.... www.dedoutdoors.com isn't showing this. I wonder why? Could another plugin be affecting this?
^ check if {$forum_viewers_text} exists in forumbit_depth2_forum template
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
This is what is in that template....

<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>