MyBB Community Forums

Full Version: Count Forum Viewers (Problem)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
It is showing now zaher1988 but it is showing double :~


Edit: i give up,.... this thing is not working at all i told my staff and see does it show (1 viewing) but it still shows (0 viewing) what crap. Sad
Oh well then you have the variable 2 times in the template.

Anyway.. too bad you are not willing to continue.

Regards
Well zaher1988 i am having a alots of problems lately some of the images were gone and some misplaced and on top of that this mod is not working at all....... which part of the code do i have to paste here? So that you all can see it ...
Code for what? The plugin?
I mean how can i fix it? do i need to show anything?
in forumbit_depth2_forum you will find 2 times {$viewscount}.
Nope only one..

<tr>
<td class="trow2" align="center" valign="middle"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" /></td>
<td class="trow1" valign="top">
<strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong>  {$viewscount}    <div class="smalltext">{$forum['description']}{$subforums}</div>
</td>
<td class="trow2" width="236" valign="top" align="left" nowrap="nowrap">$lastpost</td>
<td class="trow1" width="16" valign="middle" align="center" nowrap="nowrap">$threads</td>
<td class="trow2" width="20" valign="middle" align="center" nowrap="nowrap">$posts</td>
</tr>
oh weird.. well i hope you still want to keep trying.

I'd recommend starting everything all over, what is mean is to disable the plugin, have a clean original forumbit_depth2_forum template, clean new functions_forumlist.php, then activate.
I try using 1.2.2 mod and it is still the same it still shows two viewing "(0 viewing) (0 viewing)" and when any of the member is viewing the thread it still shows zero?? Please come here and see www.gxcom.org
Im using this mod and it works great

I have one question though, would it be possible to modify it so the {0 viewing} includes users who are viewing posts within that forum? As at the moment it only counts the users who are veiwing the thread list in the specific forum. I'm always getting {0 Veiwing} as users dont stay on the thread list for long.
Pages: 1 2 3 4 5