UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

PHP Link to Author Profil

Ronny Wunderlich · ·
10:05 PM Wednesday, 15 April 2015
None
Hi, i use seblod and like to make a Author Box. I have now the name and the Avatar in this Box. But i dont know to link to the Author Profil and Photos.

Here is my code. Link to profil works, but i think its not right. And Link to Photos i have no idea to do this.


<?php
require_once( JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php' );

// Retrieve a specific user given it's id.
$user = Foundry::user( $aut );


?>

<a href="/<?php echo $user->getPermalink(); ?>"><img class="thumbnail" src="/<?php echo $user->getAvatar();?>"></a>

<a href="/<?php echo $user->getPermalink(); ?>">Profil von <?php echo $user->getStreamName(); ?></a>

<a href="/<?php echo $linkphoto; ?>">Bilder</a>



THX
The replies under this section are restricted to logged in users or users with an active subscription with us