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

foundry and custom group script

benjamin beaugh · ·
7:03 AM Monday, 19 October 2015
None
Hi guys! Im working on a little custom module that shows all the groups and some information relative to that group. Im stuck at using a few of the api calls that i cant find documentation for.

Please have a look at my test site. http://www.lf1m.org/lf1mtest

<?
require_once( JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php' );?>
<div align="center">
<a data-spotlight="effect:left;" href="http://www.lf1m.org/lf1mtest/index.php/starflight-venture-cooperative">
<img src="/<? echo Foundry::group('2')->getAvatar();?>" align="center" width="180" height="180" alt="" />
<div class="overlay"><? echo "<h2 align='center'>" . Foundry::group( '2' )->getTotalMembers() ." Members</h2>" . Foundry::group( '2' )->getName() . "<br><h4>Star Citizen</h4>";?>
</div>
</a>



i would like this script to run and populate with all the groups.

would like to grab the url to the group
having trouble with grabbing the category name
having trouble with getting the large avatar

and im not sure how to cycle through all the available groups.


any help here would be greatly appreciated!
Benjamin
The replies under this section are restricted to logged in users or users with an active subscription with us