UPDATES EasyBlog 6.0.11 Released! Update to the latest version 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

User Group Module

benjamin beaugh · ·
11:00 AM Friday, 04 December 2015
Normal
Hi Guys!
Id like to display members from a particular group. I have the following code to display all members of the site but i would like to limit it to a particular group. Thanks for any help you can provide!
<?
require_once( JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php' );


$model = FD::model('Users');
$users = $model->getUsers();

foreach ($users as $user) {

$gr = FD::user($user->id);
echo $gr->getPermalink($options);
echo $gr->getName($options);


}
?>


As always, THANKS!
Benjamin
The replies under this section are restricted to logged in users or users with an active subscription with us