Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Kunena 5.x Profile Links Broken

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

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:

/forum/userid-789?func=profile

And are not being translated into their proper SEO form:

/forum/profile/735-hayward

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

EDIT:

Here's the fix:

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

To this:
Code:
$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"
Last edit: 7 years 8 months ago by theITfactor.

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

Moderators: beatnantslabbikrileon
Powered by Kunena Forum