Jump to content

Download: (SOS33) Staff Members Online


Adriano Faria

Recommended Posts

Posted

File Name: (SOS33) Staff Members Online
File Submitter: Adriano Faria
File Submitted: 14 Dec 2011
File Updated: 21 Mar 2012
File 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.X


Click here to download this file
  • 1 month later...
  • 1 month later...
Posted

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.

Posted

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.

  • 1 month later...
  • 8 months later...
  • 2 months later...
  • 4 months later...
Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...