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!

UddeIM Profile link does not match up with Kunena 4.x

  • tobasium
  • tobasium
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
8 years 8 months ago #279946 by tobasium
The UddeIM Component Manager, under the Integration tab, has an option for "User Profile Links" and "Show Thumbnails". There are four choices for each option:

I want to link my kunena 4 profile but it does not work.

The link which is use from uddeim is:

index.php/forum/userid-198?func=profile

But it must be like

index.php/forum/profile/userid-198?func=profile

Is there an option to change these settings?

Thanks a lot.

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
8 years 8 months ago #280117 by slabbi
From the code:
"index.php?option=com_kunena&func=profile&userid=<id>&itemid=<id>"

As you can see uddeIM uses standard URLs and uses Joomla Framework to translate these links into SEF links.
So when the Joomla configuration is incorrect, these links will be certainly wrong.

In your example you quote "index.php/..." which indicates that your configuration is buggy. "index.php" should never be seen in a correct setup.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

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

7 years 8 months ago - 7 years 8 months ago #293171 by theITfactor
This is still an issue even with a proper configuration, now on Kunena 5.x.

The link that is being generated is as follows:

/forum/userid-735?func=profile

The correct link should be:

/forum/profile/735-username


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