Firefox PHP

Module: Online Users

Posted by Maurice Makaay 
Re: Module: Online Users
May 20, 2010 09:39AM
A better way could be to use Phorum's private key ($PHORUM["private_key"]) as an addition to the cache key. That one is a big random string. Possibly this could be added to the cache layers directly, because when using the same source, more caches could be running into this.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Online Users
May 31, 2010 11:05AM
Hi Maurice,

can you remove please your files for version 2.4.5?

I have already installed the newer version 2.5.1 from Thomas and also Check Modules for Upgrades (version 5.2.1.06) so I get always the advice that there is an update available (see pictures below).

Thanks
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.



Re: Module: Online Users
May 31, 2010 11:23AM
Removing it would remove the module from the module list, since the script only looks at the start message of the thread. I packed the 2.5.1 release and updated the thread starter therefore.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Online Users
May 31, 2010 11:37AM
Quote
Maurice Makaay
I packed the 2.5.1 release and updated the thread starter therefore.

Thanks Maurice!


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Module: Online Users
November 16, 2010 02:09AM
Hello!

I made a tiny correction in the onlineusers.tpl code on line 8. It displays an unnecessary space between the username and comma in the Online Users display. The extra space is right after the closing link (</a>) tag. I then replaced the space after the first {IF OU->ADMIN OR OU->IDLE} statement, since the space should only be shown if a user is an administrator and/or idle (right before the opening parenthesis).

The original code is as follows:
{LOOP MOD_ONLINEUSERS->USERS}{VAR OU MOD_ONLINEUSERS->USERS}{IF NOT FIRST}, {/IF}<a href="{OU->PROFILE}">{OU->NAME}</a> {IF OU->ADMIN OR OU->IDLE}({/IF}{IF OU->ADMIN}{LANG->mod_onlineusers->Administrator}{/IF}{IF OU->ADMIN AND OU->IDLE}, {/IF}{IF OU->IDLE}{OU->IDLE}{/IF}{IF OU->ADMIN OR OU->IDLE}){/IF}{VAR FIRST 0}{/LOOP MOD_ONLINEUSERS->USERS}

My fixed code, with the moved space:
{LOOP MOD_ONLINEUSERS->USERS}{VAR OU MOD_ONLINEUSERS->USERS}{IF NOT FIRST}, {/IF}<a href="{OU->PROFILE}">{OU->NAME}</a>{IF OU->ADMIN OR OU->IDLE} ({/IF}{IF OU->ADMIN}{LANG->mod_onlineusers->Administrator}{/IF}{IF OU->ADMIN AND OU->IDLE}, {/IF}{IF OU->IDLE}{OU->IDLE}{/IF}{IF OU->ADMIN OR OU->IDLE}){/IF}{VAR FIRST 0}{/LOOP MOD_ONLINEUSERS->USERS}

Tiny fix, but I hope it's helpful. :)
Re: Module: Online Users
December 11, 2010 02:53PM
Is it possible to have this module NOT display pending registrations?

For example, a spam bot will register with the name "pornvids" and it will appear as a user online for 10 minutes. This is offensive to some of my members.

I know I should get around to employing the use of the spam hurdles module, but I thought that perhaps the above would be a simple enough change.


Robert Angle
Phorum lover, nothing more.
Ruminations
Re: Module: Online Users
September 16, 2011 09:24PM
I have made a translation to Norwegian.

Thank you for this nice module
Attachments:
open | download - norwegian.php (680 bytes)
Re: Module: Online Users
May 08, 2012 07:47PM
I have a translation to Thai language.

Thank you for this nice module.



Edited 1 time(s). Last edit at 05/08/2012 07:49PM by tonydev.
Attachments:
open | download - thai.php (821 bytes)
Re: Module: Online Users
September 11, 2012 12:45PM
It would be nice if the could be an option to include the names of the latest members registered to the forum.
Between the names of online users and the statistics there could be a section saying something like,
"We welcome our newest members: John Johsen, Simon Smith, Jan Jansen."

How would I go about including that?

Laurenz
Re: Module: Online Users
September 11, 2012 02:31PM
Try the "Forum Stats" module. It has an entry for the most recent user in the setup.
Sorry, only registered users may post in this forum.

Click here to login