Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Mamblog author name not linking to CB user page

18 years 10 months ago #6155 by hansmeiser
hi,

the mamblog integration is very nice, but when i have the mamblog main page containing blog entries from all the different users, the user names are displayed as links with no real function.

is it possible to have them link to the user's cb user page?

appreciate any help. :)

thanks,
norman

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

  • majje
  • majje
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: -1
18 years 10 months ago #6161 by majje
You can try this:

On line 226 in mamblog.html.php (i've messed around in the code so the line numbers might not be the same for you, you have to search).

This line:
[code:1]
<?php echo sefRelToAbs( "index.php?option=$option&amp;Itemid=$Itemid&amp;task=show&amp;action=user&amp;id=$blog->created_by" ); ?>
[/code:1]

Change to this:
[code:1]
<?php echo sefRelToAbs( "index.php?option=com_comprofiler&amp;task=userProfile&amp;user=$blog->created_by" ); ?>">[/code:1]

You have the same on line 232 so change there to.

But as alvays: Do this in your test-environment first, not on a live site.

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

Moderators: beatnantkrileon
Powered by Kunena Forum