Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.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 How do we remove this line...

More
17 years 1 month ago - 17 years 1 month ago #9758 by adnet23


Thanks.
Last edit: 17 years 1 month ago by adnet23.

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago #9759 by Lintzy
kunena.forum.css


.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.

More
17 years 1 month ago #9760 by kenlapz
adnet23 wrote:



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 . ")&nbsp;";
$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.

More
17 years 1 month ago #9764 by adnet23
Thank you both! I commented it out in pathway.php

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago #9766 by kenlapz
adnet23 wrote:

Thank you both! I commented it out in pathway.php


you are welcome :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.234 seconds