Page 1 of 1

[KNOWN ISSUE] mod_whosonline bugs when no user online (joomla 1.0.10)

Posted: Fri Aug 25, 2006 12:26 pm
by meriturva
First time i open a site and there is no user online the mod whosonline dosen't show any message.

I found this define into the language file:
/** whos_online.php */
DEFINE('_NONE','Nessun utente online');

but is never user into the mod_whosonline.php module.

I have modified that file and replaced in the end.
Old end code:

echo $output;
?>


New end code:

if ($output==''){
  $output .= _NONE;
}

echo $output;
?>

Meriturva

Re: mod_whosonline bugs when no user online (joomla 1.0.10)

Posted: Fri Aug 25, 2006 1:05 pm
by stingrey
meriturva wrote: First time i open a site and there is no user online the mod whosonline dosen't show any message.

I found this define into the language file:
/** whos_online.php */
DEFINE('_NONE','Nessun utente online');

but is never user into the mod_whosonline.php module.
To be honest I think it would just look wierd if the module showed none, when you do know someone is on the site - you.

The reason it cant show you on first visit is a performance issue we have had to compromise on.

Re: mod_whosonline bugs when no user online (joomla 1.0.10)

Posted: Fri Aug 25, 2006 1:20 pm
by meriturva
When i'm the first one there is no message, if i refresh the page all is ok.

I though about a bug because i found the:
/** whos_online.php */
DEFINE('_NONE','Nessun utente online');

into the language file and not used into the module.

now i'm looking for some old posts about the performance issue you wrote.

but i thinks is a good strategy to be sure that in the output variable there is something anyway.

thanks.

Meriturva

Re: mod_whosonline bugs when no user online (joomla 1.0.10)

Posted: Fri Oct 27, 2006 5:07 pm
by aleksee
Hello,

I have the same problem with the mod whosonline.
Have you fixed the problem ?

Thank you.

Alex.

Re: mod_whosonline bugs when no user online (joomla 1.0.10)

Posted: Sat Oct 28, 2006 9:58 pm
by RobS
This is a known issue for the 1.0.x Branch.  It will not be fixed for 1.0.12. 

Q&T Note; Tagging as Known Issue and moving to appropriate forum.