Jump to content

[HQ] Members Viewing Forums


Recommended Posts


File Name: [HQ] Members Viewing Forums

File Submitter: InvisionHQ

File Submitted: 21 Feb 2012

File Category: User and Social Engagement

This hook will show, on board index and subforums, how many users (guests and registered members) are viewing each forum. You can set if you want to include all subforums active members; if you want to show (0 Viewing) when no user is viewing the forum/subforums and the groups allowed to see the total of users viewing forums.

Copyright Note:

  • This hook is an update of D23-# Members Viewing Forum v1.0, from Dean & Logan, D-Scripting. This update was authorized by Logan.

  • No file or template edit required.
  • This hook adds only ONE query for all forums you have (not one query per forum).

  • IP.Board 3.4.X
  • IP.Board 3.3.X
  • IP.Board 3.2.X

here to download this file

Link to comment
Share on other sites

  • Replies 122
  • Created
  • Last Reply
  • 3 weeks later...
  • 2 weeks later...

Doesn't seem to be working for me. It never shows anyone as viewing any particular area, even when I test with a second account and know that it should. When I change "display 0 viewing" to "yes", it DOES show the "0 viewing" text, but it will never update.

Using IPB 3.2.3 and the most recent version of this (3.0.1). ALL groups are selected, "include subforums" is set to "yes".

Oddly enough, the "Topics Being Viewed Now" mod works just fine. That isn't conflicting, is it?

Scratch that. A reinstall worked fine. There had been a permissions issue that got suppressed.

Link to comment
Share on other sites

Works fine now. Thanks!

If would be great if you could add an option to turn-off anchor link on the "# viewing". Also, the names on the list of users viewing the forum popup should not link to their profile if the user viewing doesn't have permission to access user profiles.

Link to comment
Share on other sites

I thought the new 3.0.2 version fix the text showing on top of the forum? Doesn't seam so because I try switching to an default unmodified IPBoard skin and this still showing.

Please fix this.

%7Boption%7D30ms5ys.jpg' alt='' class='ipsImage' wid" alt="" class="ipsImage" width="1000" height="103">

Link to comment
Share on other sites

The main version (3.0.2) is for IP.Board 3.3 only. For 3.2.X, you need to download version 3.0.1 from Previous versions.

If even after install 3.0.1 shows on board top, post your skin name... A quick edit on XML will solve it.

Adriano, I don't see version 3.0.1 anywhere to download. When I click download it only let me download v3.0.2. Please help.
Link to comment
Share on other sites

Just download v3.0.1 and now it is working. Does this Hook use high query and take away a lot of SQL Database Connection? My host only limit to 25 Connections Max for MySQL.

Can this also be remove? I don't need it, and don't want everyone clicking on it overloading the database, Thanks.


Link to comment
Share on other sites

As stated on this file note:

This hook adds only ONE query for all forums you have (not one query per forum).

To doesn't show the popup, open this hook XML and find:

	<if test="$qtd >= 1">

		<a title="{$this->lang->words['usersViewingForums_listmembers']}" href="{parse url="app=forums&amp;module=extras&amp;section=stats&amp;do=whoviewing&amp;f={$id}" base="public"}" onclick="return ipb.membersviewingforums.retrieveWhoViewing( {$id} );">{$text}</a>

	<else />



Change to:


I will create a setting for this in next version.

Link to comment
Share on other sites

Hi, this hook seam to only work when I turn the Display 0 Viewing? Yes

However, it display ( 0 Viewing ) everywhere making it very ugly. Do I need to delete that last </if> at the end too, leaving only the {$text}?

Thanks, sorry for being a noob.

Link to comment
Share on other sites

Great hook!... but I'm only seeing 1 name listed on the pop up, no matter how many people are viewing the forum. Thoughts? Oh and I am running IP.Board 3.3.0 and using the 3.0.2 version of your hook and just installed for the 1st time today.


Link to comment
Share on other sites

Hi there.

Could the rest be guests ? I can only list registered members.

What appears to you on online list from that forum ?

Sorry for the delay in responding... right now it shows I have 14 members viewing the forum and when I browse the forum I see 8 members and 6 guests and 0 anonymous. But on this hook when I click to view the list I'm still only seeing a single listing and that appears to be the 1st user that would show up if the list were sorted alphabetically. Does that help?
Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...