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 online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Echo-ing Profile Friends List - Linked to Profile with Avatar

Marcus Palmer · ·
12:23 AM Tuesday, 17 February 2015
None
Ok lads so this

$my	 = JFactory::getUser(); // load current logged in user
$model = FD::model('friends');
$listOfFriends = $model->getFriends($my->id);
foreach ($listOfFriends as $friend) {
echo $friend->name; // display the friend list with their name only
}


Gives me the name of my friends list but how would you

1. link the Name back to friends profile and
2. show friends avatar also within the a href

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