December 15, 2011 in Marketplace
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:
Why am I still showing up in both lists? I'm the admin.
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).
Hmmm, disabled it and still showing. Is there another hook that would interfere?
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...
I just installed it and it's showing fine on my board. Thank you very much for updating this!
Great Mod... Thank you..
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.
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.
From time to time, the hook shows multiple instances of the same staff member online. Do you have any idea why that would be?
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.
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.
its already working with IPB 3.4.5 !
@Adriano, need your help please,
its possible to show the staff members in the >Portal bloc !?
Not with this hook. Make asarch. If I'm not mistaken, already has a portal plug-in to this.
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 );
This topic is now archived and is closed to further replies.
Started September 12, 2019
Started September 8
Started 11 hours ago