- Posts: 5
- Thank you received: 0
Kunena 7.0.9 & Kunena 6.4.14 – Security Updates Released
The Kunena team has announce the arrival of Kunena 7.0.9 [K 7.0.9] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question Two problems with online-list
I have two problems since the new version 1.5.4
Users, which have set there options to be hidden are shown to everyone as hidden users.
Normaly it should only be seen by moderators.
And if I click on "online" on the screen, I come to the list, which shows, where my users are online.
There are the IPs shown also to everybody. That should also just be seen by moderators.
so, it seems like there is somewhere a little bug inside, which makes evereybody to a moderator in the "online-section".
Would be nice, if someone could help me,
maybe in german?

sry for my bad english.
Edit:
found the lines in the files. the important thing is
if ( $kunena_my->gid > 1 )
which is, and i don't know why, always true..
where is gid set?
i tried to change it to if ( $kunena_my->moderator > 0 ) but it doesn't work..
maybe someone of you could help me,
thanks
Edit2 and solution!:
\components\com_kunena\template\default\plugin\who\who.php
#104:
if ($kunena_my->gid > 1 && $is_Moderator)
\components\com_kunena\template\default\plugin\who\whoisonline.php
#99:
<?php if ( $kunena_my->gid > 1 && $is_Moderator){
#116:
<?php if ( $user->showOnline < 1 && $kunena_my->gid > 1 && $is_Moderator){ ?>
Would be nice if you could fix it?
Greets, SoS
Please Log in or Create an account to join the conversation.
Thanks for reporting this, I will report this to the DEVs and it will check this when they have time.
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
edit file:
components/com_kunena/template/default/plugin/who/whoisonline.php
change line 99 to:
add to line 125:
edit file:
components/com_kunena/template/default/plugin/who/who.php
add to line 72:
Please Log in or Create an account to join the conversation.
Hi SoS!Edit2 and solution!:
\components\com_kunena\template\default\plugin\who\who.php
#104:
if ($kunena_my->gid > 1 && $is_Moderator)
\components\com_kunena\template\default\plugin\who\whoisonline.php
#99:
<?php if ( $kunena_my->gid > 1 && $is_Moderator){
#116:
<?php if ( $user->showOnline < 1 && $kunena_my->gid > 1 && $is_Moderator){ ?>
Thanks a lot for this quick solution, it works very nice!!
:woohoo:
Please Log in or Create an account to join the conversation.