Module: Online Users
Posted by Maurice Makaay
Re: Module: Online Users May 20, 2010 03:39AM |
Admin Registered: 20 years ago Posts: 8,532 |
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
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Online Users May 31, 2010 05:05AM |
Admin Registered: 18 years ago Posts: 744 |
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.
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 05:23AM |
Admin Registered: 20 years ago Posts: 8,532 |
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
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Online Users May 31, 2010 05:37AM |
Admin Registered: 18 years ago Posts: 744 |
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 15, 2010 08:09PM |
Registered: 13 years ago Posts: 10 |
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:
My fixed code, with the moved space:
Tiny fix, but I hope it's helpful. :)
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 08:53AM |
Registered: 17 years ago Posts: 533 |
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
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 03:24PM |
Registered: 13 years ago Posts: 11 |
Re: Module: Online Users May 08, 2012 01:47PM |
Registered: 12 years ago Posts: 2 |
Re: Module: Online Users September 11, 2012 06:45AM |
Registered: 13 years ago Posts: 11 |
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
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 08:31AM |
Admin Registered: 18 years ago Posts: 566 |
Sorry, only registered users may post in this forum.