Kunena 5.x Profile Links Broken

5 years 5 months ago - 5 years 5 months ago #293181 by theITfactor
Kunena 5.x Profile Links Broken was created by theITfactor

In Kunena 5.x, Profile link integration is broken. Despite a properly configured SEO site, links to profiles are being built in uddeIM like this:


And are not being translated into their proper SEO form:


Even with SEO off, that older format no longer functions.


Here's the fix:

Change line 125 from this:
$gimmeback = "<a href='".uddeIMsefRelToAbs("index.php?option=com_kunena&func=profile&userid=".(int)$ofanid.$itemid)."'>".$ofaname."</a>";

To this:
$gimmeback = "<a href='".uddeIMsefRelToAbs("index.php?option=com_kunena&view=user&userid=".(int)$ofanid.$itemid)."'>".$ofaname."</a>";

It should be "view=user" instead of "func=profile"

Please Log in to join the conversation.

Moderators: beatnantslabbikrileon
Time to create page: 0.144 seconds

Facebook Twitter LinkedIn