- Posts: 7
- Thank you received: 0
Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released
The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.
Question How do we remove this line...
Please Log in or Create an account to join the conversation.
.path-element-users {
display:none;
}
.path-element-last, .path-element-last a:link {
display:none;
}
Please Log in or Create an account to join the conversation.
Thanks.
Find the com_kunena/template/yourcurrenttemplate/fb_pathway.php
Find and remove this line: (I mark them in red)
//get viewing
$fb_queryName = $fbConfig->username ? "username" : "name";
$query= "SELECT w.userid, u.$fb_queryName AS username , k.showOnline FROM #__fb_whoisonline AS w LEFT JOIN #__users AS u ON u.id=w.userid LEFT JOIN #__fb_users AS k ON k.userid=w.userid WHERE w.link like '%" . addslashes($_SERVER) . "%'";
$database->setQuery($query);
$users = $database->loadObjectList();
check_dberror("Unable to load who is online.");
$total_viewing = count($users);
$fireonline = '';
if ($sfunc == "userprofile")
{
$fireonline .= _USER_PROFILE;
$fireonline .= $username;
}
else {
$fireonline .= "<div class=\"path-element-users\">($total_viewing " . _KUNENA_PATHWAY_VIEWING . ") ";
$totalguest = 0;
$divider = ', ';
foreach ($users as $user) {
if ($user->userid != 0)
{
$lastone = next($users)===FALSE;
if($lastone && !$totalguest){
$divider = '';
}
if ( $user->showOnline > 0 ){
$fireonline .= CKunenaLink::GetProfileLink($fbConfig, $user->userid, $user->username) . $divider;
}
}
else
{
$totalguest = $totalguest + 1;
}
}
if ($totalguest > 0) {
if ($totalguest==1) {
$fireonline .= '('.$totalguest.') '._WHO_ONLINE_GUEST;
} else {
$fireonline .= '('.$totalguest.') '._WHO_ONLINE_GUESTS;
}
}
$fireonline .= '</div>';
}
$fr_title = $fr_title_name . $jr_topic_title;
$mainframe->setPageTitle(($fr_title ? $fr_title : _KUNENA_CATEGORIES) . ' - ' . stripslashes($fbConfig->board_title));
$pathway1 = $firepath . $fireinfo; --> Don't remove this one.
$pathway2 .= $firelast . $fireonline;
Don't forget to backup/copy the fb_pathway.php before you do editing
Thank you,
kenlapz
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Thank you both! I commented it out in pathway.php
you are welcome
Please Log in or Create an account to join the conversation.