Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Groups Showing Partial # of Avatars

9 years 9 months ago
Licenses:
JomSocial Expired

ISSUE SUMMARY:
All groups member avatars seem to be stuck on 8. No matter how many members are actually in a group, the groups sidebar module only shows 8 avatars. I would like to be able to choose how many I want to display.
Shouldn't this be an option in the module so we don't have to change code? It doesn't make any sense.

STEPS TO REPLICATE:
1 Go to any group page
2 Count the number of avatars on the right
3 The number will always be 8 regardless of how many members are in that group
4 Click on "View All" to verify how many members are actually in the group you are testing to see in fact there are more than 8 members.

RESULT: Only 8 avatars show
EXPECTED RESULT: Need to be able to choose to show all members
BROWSER: Firefox 39.0

Attachments:
9 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Fred,

That is only for summary members group, to see all you click "view all"

well by default it should show 12 members on the members sidebar, but seems your developer hack the code on this file components/com_community/groups/view.html.php, this is the code :

/****************************TOM**********************************/
			$limit = CFactory::getConfig()->get("pagination");
            $approvedMembers = $groupModel->getMembers($group->id, $limit, true, false, true);
			/****************************TOM**********************************/

If you wanna change the limit member you should remove that code, and edit this code "12" to your own value :
$limit = 12;

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW