Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 15, 201113 yr File Name: (SOS33) Staff Members OnlineFile Submitter: Adriano FariaFile Submitted: 14 Dec 2011File Updated: 21 Mar 2012File Category: Hooks and Plugins This hook will show which staff members are online in a different online list in board index. You can set which groups will be removed from regular online list and will be added in this new online list.Compatibility:Version 2.1.0 => IP.Board 3.3.X Version 2.0.0 => IP.Board 3.2.XClick here to download this file
December 15, 201113 yr Author Probably you have secondary group enabled. I can't reproduce it on localhost or online: http://forum.sosinvision.com.br/ You'll see I appear online once (Adriano).
December 15, 201113 yr Hmmm, disabled it and still showing. Is there another hook that would interfere?
December 15, 201113 yr Author Have no idea. Sorry but I can't reproduce, or the other 15 users that already download it. I guess it's better wait a little longer...
December 15, 201113 yr I just installed it and it's showing fine on my board. Thank you very much for updating this!
March 18, 201213 yr Author For the user who reported it as broken. 159 downloads and only you have this problem and report this as broken ?!? The other 158 are not an indication that the problem may be in your installation? I got the hook running here http://forum.sosinvision.com.br/ and here http://www.clubedomarea.com.br/forum/ and I don't see a driver error! I'll ask a marketplace moderator to test the hook and remove the broken flag.
March 18, 201213 yr There's no issue with this file, the same as there was no issue when it was submitted. :smile: I've just redownloaded and retested it, it works fine: To the reporter, if its throwing a driver error then you'll need to get this from the logs or cache directory and post it here so the author can determine if its a conflict with another hook or something else. I'm assuming you have installed it on 323 as indicated, it may or may not work with newer / older board versions.
March 21, 201213 yr Author Updated.Compatibility:Version 2.1.0 => IP.Board 3.3.X Version 2.0.0 => IP.Board 3.2.X
January 13, 201312 yr From time to time, the hook shows multiple instances of the same staff member online. Do you have any idea why that would be?
January 13, 201312 yr Author Someone else already said that but I couldn't reproduce it till today. I'll update it to 3.4 asap... so I'll take a look.
March 27, 201312 yr Hi Adriano. I don't know if you updated or not, but I just wanted to say that I'm running this on my 3.4.3 board and it's working just fine right now. Thanks for doing some great work.
August 23, 201311 yr its already working with IPB 3.4.5 ! @Adriano, need your help please, its possible to show the staff members in the >Portal bloc !? best regards.
August 23, 201311 yr Author Not with this hook. Make asarch. If I'm not mistaken, already has a portal plug-in to this.
August 23, 201311 yr Adriano, thank you for the quick response ! yes there is bloc but it show all the members online ! this is the code for that, i dont know if we can add some thing to show custom group members ! public function online_users_show() { //----------------------------------------- // Get the users from the DB //----------------------------------------- $classToLoad = IPSLib::loadActionOverloader( IPSLib::getAppDir( 'forums', 'forums' ) . '/boards.php', 'public_forums_forums_boards' ); $boards = new $classToLoad(); $boards->makeRegistryShortcuts( $this->registry ); $active = $boards->getActiveUserDetails(); $active['visitors'] = $active['GUESTS'] + $active['ANON']; $active['members'] = $active['MEMBERS']; return $this->registry->getClass('output')->getTemplate('portal')->onlineUsers( $active ); }
Archived
This topic is now archived and is closed to further replies.