×
K5.1.1 is released (10 Jun 2018)

The Kunena team is pleased to announce Kunena 5.1.1 [K 5.1.1].
Please read the blog post for information:

× Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Loved URL avatar pointing to user profile

More
4 years 10 months ago #1 by MusicInMe
Hi,

I added bootstrap tooltip to user avatar
<a class="hasTooltip" rel="nofollow" href="" title="View <?php echo $user->getName() ?>'s profile">
   <img class="tk-thumbnail" alt="" src="<?php echo $user->getLink($user->getAvatarImage()) ?>
</a>
and almost all works fine except that this avatar has no URL assigned to user profile.
I tried
<?php echo $user->getLink() ?>
inside
href=""
but it breaks the layout inserting user name and some code. SO anyone know what to put there to retrieve URL to user profile?

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

More
4 years 10 months ago #2 by MusicInMe
Was easy ;) added tooltip class to template.php
'kwho-',
'admin'=>'kwho-admin hasTooltip',
'globalmod'=>'kwho-globalmoderator hasTooltip',
'moderator'=>'kwho-moderator hasTooltip',
'user'=>'kwho-user hasTooltip',
'guest'=>'kwho-guest hasTooltip',
'banned'=>'kwho-banned hasTooltip',
'blocked'=>'kwho-blocked hasTooltip'

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.140 seconds