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 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

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