Jump to content

Download: (SOS33) Staff Members Online

Featured Replies

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

Why am I still showing up in both lists? I'm the admin.

  • 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).

Hmmm, disabled it and still showing. Is there another hook that would interfere?

  • 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...

I just installed it and it's showing fine on my board. Thank you very much for updating this!

Great Mod... Thank you..

  • 1 month later...

Works, thanks

  • 1 month later...
  • 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.

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.

  • Author

Updated.

Compatibility:

  • Version 2.1.0 => IP.Board 3.3.X
  • Version 2.0.0 => IP.Board 3.2.X
  • 1 month later...

Great!

  • 8 months later...

From time to time, the hook shows multiple instances of the same staff member online. Do you have any idea why that would be?

  • 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.

  • 2 months later...

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.

  • 4 months later...

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.

  • Author

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 );
 	}    

Archived

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

Recently Browsing 0

  • No registered users viewing this page.