- Posts: 54
- Thank you received: 0
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 Removing profile links from main forum page...
emeyer wrote:
Probably sh404sef could be faster, it's true. I don't have any benchmark data and haven't looked into the caching algorithm. I would guess it's a linear search. The sh404sef maintainer would probably be glad of assistance if he was contacted directly.
Here's another thought...current Google SEO documents state that pages should not contain more than a hundred links (some other pages on the Web suggest this information is out of date, but the Google docs state they were updated this year). So, reducing the number of links on densely linked pages probably improves ranking if there are very many. Also, this reduces any SEF processing!
So, on the categories and forum thread lists, I removed links to member profiles from the template, just putting the name without a link. This reduced the number of content links which need to be processed on each page by ~30% (the profile links are still available in the message threads). It's just a thought which may be useful to some.
Does anyone know how to remove the links to member profiles from the template, just putting the name without a link? I would appreciate help with this. THanks.
Please Log in or Create an account to join the conversation.
it's possible, open the file components\com_kunena\template\default_ex\listcat.php and at line 582 replace this :
by this :
open too the file components\com_kunena\template\default_ex\flat.php and at line 441 replace this :
with this :
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.
components\com_kunena\template\default_ex\fb_pathway.php
Replace line 130 with
Just working on the other locations - a switch in the back end to have no profiles would be eternally useful!
Ruth
Please Log in or Create an account to join the conversation.
components\com_kunena\template\default\plugin\who\whoisonline.php
Replace line 31 with
To remove link to user list & profile link for latest user on Forum Stats (when you click on the forum stats)
components\com_kunena\template\default\plugin\stats\stats.php
Replace line 76-77 with
To remove links to user profiles on popular users,
components\com_kunena\template\default\plugin\stats\stats.php
Replace line 213 with
You probably want to remove the users by profile hits section (as you're not using the profiles, so delete/comment out the bits between <b and f> (lines 240-295).
The process is quite similar for the front end stats which appear beneath the categories page. Simply change the following lines in
components\com_kunena\template\default\plugin\stats\frontstats.php
To remove link to members list
Line 68:
To remove the bottom link to User List delete on line 79:
To remove profile link from "currently browsing"
components\com_kunena\templates\default_ex\fb_layout.php
Replace line 130 with:
Ruth
Please Log in or Create an account to join the conversation.
1. Recent discussions, the link to profile under the topic
2. Viewing a thread - remove the link to profiles on RHS by avatar
3. Remove profile button on above page to the right of PM icon
4. Remove the "My Profile" tab from the menu
5. Remove the link to profiles when viewing threads in a forum (appears after date posted, before number of views.
And yet another plea, give the option to turn OFF profiles.
This has taken me all blimmin night trying to figure out what files are involved where!
Please Log in or Create an account to join the conversation.
Does anyone know how to remove the links to member profiles from the template, just putting the name without a link? I would appreciate help with this. THanks.
Hello Fran
try to do in this way.
Open the file kunena.link.class.php
and comment the line 213 (Kunena 1.5.7) red color linecomponents / com_kunena / lib /
function GetProfileURL($userid)
{
$fbConfig =& CKunenaConfig::getInstance();
// Only create links for valid users
if ($userid > 0)
{
if($fbConfig->fb_profile == 'cb')
{
$kunenaProfile =& CKunenaCBProfile::getInstance();
return $kunenaProfile->getProfileURL($userid);
}
elseif ($fbConfig->fb_profile == 'jomsocial')
{
return CRoute::_('index.php?option=com_community&view=profile&userid='.$userid);
}
elseif ($fbConfig->fb_profile == 'aup')
{
$api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php';
if ( file_exists($api_AUP)) {
$useridAUP = AlphaUserPointsHelper::getAnyUserReferreID( $userid );
return JRoute::_(KUNENA_PROFILE_LINK_SUFFIX.$useridAUP);
}
}
else
{
//return JRoute::_(KUNENA_PROFILE_LINK_SUFFIX.$userid);
}
}
return '';
}
I think this will disable the profile link in whole forum
Please Log in or Create an account to join the conversation.