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.

Number of members showed in module "Members" in groups

10 years 2 months ago
Licenses:
JomSocial Expired

ISSUE SUMMARY:
How can I change number of members showed in module "Members" in groups? Current number is 12. I asked about that in previous version of JomSocial but it's changed in v4.

STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

10 years 2 months ago
Licenses:

Hi, Drazen.

Try to change value here:

Backend -> Components -> JomSocial -> Configuration -> Layout -> Default pagination -> 20


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 2 months ago
Licenses:
JomSocial Expired

That's OK, but I want to change number of members in module on the right side.

Attachments:
10 years 2 months ago
Licenses:

Hi, Drazen.

Ok, you want to "change" - but could you specify what exactly? You wan to increase it, decrease or hide?


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 2 months ago
Licenses:
JomSocial Expired

I want to increase, to 50 for example

10 years 2 months ago
Licenses:

Hi, Drazen.

Copy this file: ROOT/components/com_community/templates/jomsocial/layouts/groups/single.php
to: ROOT/templates/your-template/html/com_community (if you don't have any of those folders, feel free to create them)

And remove this:

if (--$limit < 1) {
                            break;
                        }

from line 603.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 2 months ago
Licenses:
JomSocial Expired

I did that, and nothing's changed.

10 years 2 months ago
Licenses:

Hi, Drazen.

I assign developer to this thread.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 2 months ago
Licenses:

Hi Drazen,

If you want change the number only, copy single.php from /components/com_community/templates/jomsocial/layouts/groups/ to /templates/[your frontend template]/html/com_community/layouts/groups/

at line 613 you can see this code

<?php echo JText::_('COM_COMMUNITY_VIEW_ALL'); ?> (<?php echo $membersCount; ?>)
changing it to any i.e:
<?php echo JText::_('COM_COMMUNITY_VIEW_ALL'); ?> (50)

Regards

10 years 2 months ago
Licenses:
JomSocial Expired

I want to increase members showed in that box, not just to change the number

10 years 2 months ago
Licenses:

Hi Drazen,

I'm not really clear what you want.
basically, you need to invite more people to joining that group.

Regards

10 years 2 months ago
Licenses:
JomSocial Expired

For example I have one group, that group has 104 members. When I go to the group, we have module "Members" that is showing avatars of 12 members (see the picture above). I want to increase the number of members showed in that box.

10 years 2 months ago
Licenses:

Hi,

sorry, now I know what exactly what your mean :)
please revert back my changes and please do this:
edit [joomla site root]/components/com_community/views/groups/view.html.php
at line 1141 you can find this code

$limit = 12;

free fill to changing that number.

Regards

The following user(s) said Thank You: Drazen
10 years 2 months ago
Licenses:
JomSocial Expired

Thanks,that's it.

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