- Posts: 12
- 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
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question Change profile link
16 years 10 months ago #32137
by MaryJane
Replied by MaryJane on topic Re: Change profile link
Is this what you mean?
function GetMyProfileLink($fbConfig, $userid, $name, $rel='nofollow')
{
$fbConfig =& CKunenaConfig::getInstance();
if($fbConfig->fb_profile == 'jomsocial' || $fbConfig->fb_profile == 'cb')
{
return CKunenaLink::GetProfileLink($fbConfig, $userid, $name, $rel);
}
else
{
return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL.'&func=myprofile', $name, '', $rel);
}
}
function GetMyProfileLink($fbConfig, $userid, $name, $rel='nofollow')
{
$fbConfig =& CKunenaConfig::getInstance();
if($fbConfig->fb_profile == 'jomsocial' || $fbConfig->fb_profile == 'cb')
{
return CKunenaLink::GetProfileLink($fbConfig, $userid, $name, $rel);
}
else
{
return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL.'&func=myprofile', $name, '', $rel);
}
}
Please Log in or Create an account to join the conversation.
16 years 10 months ago #32195
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re:Change profile link
Hello,
Yes it's this part of code, you need to change the following line to adapt at your needs :
Yes it's this part of code, you need to change the following line to adapt at your needs :
Code:
return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL.'&func=myprofile', $name, '', $rel);
}
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.
16 years 10 months ago #32205
by MaryJane
Replied by MaryJane on topic Re:Change profile link
Thank You Very Much, but can you maybe also tell me how to change it? I've tried to put the url between (..) but this doesn't do the trick. I'm afraid to mess it all up a bit asswell.
Please Log in or Create an account to join the conversation.
16 years 10 months ago #32210
by MaryJane
Replied by MaryJane on topic Re:Change profile link
Got it Working, Yihaaaaaaaaaaaaaa, Thanks a Bunch for the Help!
return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL.'&func=myprofile', $name, '', $rel);
}
Change into
return CKunenaLink::GetSefHrefLink('index.php?option=com_lovefactory&view=profile&layout=edit&Itemid=', $name, '', $rel);
}
Thanks Again This Helps Me a Whole Lot!!!
return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL.'&func=myprofile', $name, '', $rel);
}
Change into
return CKunenaLink::GetSefHrefLink('index.php?option=com_lovefactory&view=profile&layout=edit&Itemid=', $name, '', $rel);
}
Thanks Again This Helps Me a Whole Lot!!!
Please Log in or Create an account to join the conversation.
16 years 10 months ago - 16 years 10 months ago #32212
by MaryJane
Replied by MaryJane on topic Re:Change profile link
Last edit: 16 years 10 months ago by MaryJane.
Please Log in or Create an account to join the conversation.
16 years 10 months ago #32217
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re:Change profile link
This link is what you have modified previously, maybe i don't understand what you need.
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.
Time to create page: 0.212 seconds