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.

Disable "Join Group"

9 years 8 months ago
  • Scott's Avatar
    Topic Author
  • Scott
  • Offline
  • Fresh Boarder
  • Posts: 30
  • Thank you received: 1
Licenses:
JomSocial Active iSEO Expired Socialize Active

All the groups on our site are private. Admins assign users to their respective group. Is there a way we can disable the "Join Group" button on the group pages where users are not members?

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

Hi Scott,

You can modify or override this file /components/com_community/templates/jomsocial/layouts/groups/single.php, and remove this code :

<a href="javascript:" class="joms-focus__button--message" onclick="joms.api.groupJoin('<?php echo $group->id; ?>')">
                        <?php echo JText::_('COM_COMMUNITY_GROUPS_JOIN'); ?>
                    </a>

cheers!

9 years 7 months ago
  • Scott's Avatar
    Topic Author
  • Scott
  • Offline
  • Fresh Boarder
  • Posts: 30
  • Thank you received: 1
Licenses:
JomSocial Active iSEO Expired Socialize Active

This Worked. 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