InvisionHQ Posted February 21, 2012 Share Posted February 21, 2012 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.Notes: No file or template edit required. This hook adds only ONE query for all forums you have (not one query per forum). Compatibility: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 More sharing options...
Buskopan Posted February 22, 2012 Share Posted February 22, 2012 I will pay another 10$ for displaying who is wieving the forum after click :) Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 22, 2012 Share Posted February 22, 2012 You mean open an ajax popup listing those users? Nice... It will be added soon. Link to comment Share on other sites More sharing options...
Meowcious Posted February 22, 2012 Share Posted February 22, 2012 Yeah make it so if you click "1 Viewing" it will popup a list of the members viewing it. Link to comment Share on other sites More sharing options...
Buskopan Posted February 23, 2012 Share Posted February 23, 2012 You mean open an ajax popup listing those users? Nice... It will be added soon.Yes. Correct My english sucks :) Link to comment Share on other sites More sharing options...
Adriano Faria Posted March 9, 2012 Share Posted March 9, 2012 What's New in Version 3.0.1: Added link to an ajax popup to list which users are wiewing the forum. Link to comment Share on other sites More sharing options...
SickBoy Posted March 20, 2012 Share Posted March 20, 2012 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 More sharing options...
idtng Posted March 26, 2012 Share Posted March 26, 2012 This is what happened when I installed this on my forum(3.3) HTML codes are displayed at the top of the page instead of showing it beside forum names. Link to comment Share on other sites More sharing options...
Adriano Faria Posted March 26, 2012 Share Posted March 26, 2012 Probably caused by your skin. Just tell me its name and I'll provide a fix. Link to comment Share on other sites More sharing options...
idtng Posted March 26, 2012 Share Posted March 26, 2012 I'm using the IPB's default skin. The only template that has modification is globalTemplate. Even if I revert globalTemplate to default issue is still there. Link to comment Share on other sites More sharing options...
Adriano Faria Posted March 26, 2012 Share Posted March 26, 2012 True. Weird... Anyway, just made some change. Reupload XML file. Tested now: Link to comment Share on other sites More sharing options...
idtng Posted March 26, 2012 Share Posted March 26, 2012 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 More sharing options...
Joe D Posted March 26, 2012 Share Posted March 26, 2012 I got this on the custom skin Delicate Blue shin only, my stock skins are fine. I posted this on Fisana thread also ok just updated the hook and it works! Thanks!! Link to comment Share on other sites More sharing options...
Kandice Posted March 28, 2012 Share Posted March 28, 2012 Hello, I just purchased this Hook, install it and it's not working for me. I get this strange syntax text on the very top of my forum index. I'm using IPBoard 3.2.3." alt="" class="ipsImage" width="1000" height="58"> Link to comment Share on other sites More sharing options...
Kandice Posted March 28, 2012 Share Posted March 28, 2012 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." alt="" class="ipsImage" width="1000" height="103"> Link to comment Share on other sites More sharing options...
Adriano Faria Posted March 28, 2012 Share Posted March 28, 2012 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. Link to comment Share on other sites More sharing options...
Kandice Posted March 28, 2012 Share Posted March 28, 2012 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 More sharing options...
Adriano Faria Posted March 28, 2012 Share Posted March 28, 2012 Here: Link to comment Share on other sites More sharing options...
Kandice Posted March 28, 2012 Share Posted March 28, 2012 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 More sharing options...
Adriano Faria Posted March 28, 2012 Share Posted March 28, 2012 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&module=extras&section=stats&do=whoviewing&f={$id}" base="public"}" onclick="return ipb.membersviewingforums.retrieveWhoViewing( {$id} );">{$text}</a> <else /> {$text} </if> Change to: {$text}[/code] I will create a setting for this in next version. Link to comment Share on other sites More sharing options...
Kandice Posted March 28, 2012 Share Posted March 28, 2012 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 More sharing options...
Adriano Faria Posted March 28, 2012 Share Posted March 28, 2012 I'm not following you. It works both way. You can set to display 0 Viewing? or not. Just retested and it seems fine for me. Yes, leave just {$text}, sorry. Link to comment Share on other sites More sharing options...
Dolfan23b Posted April 4, 2012 Share Posted April 4, 2012 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 More sharing options...
Adriano Faria Posted April 4, 2012 Share Posted April 4, 2012 Hi there. Could the rest be guests ? I can only list registered members. What appears to you on online list from that forum ? Link to comment Share on other sites More sharing options...
Dolfan23b Posted April 7, 2012 Share Posted April 7, 2012 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.