<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://documentation.jomsocial.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://documentation.jomsocial.com/index.php?action=history&amp;feed=atom&amp;title=Hide_%22Invite_Friends%22_option_in_private_groups</id>
		<title>Hide &quot;Invite Friends&quot; option in private groups - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://documentation.jomsocial.com/index.php?action=history&amp;feed=atom&amp;title=Hide_%22Invite_Friends%22_option_in_private_groups"/>
		<link rel="alternate" type="text/html" href="http://documentation.jomsocial.com/index.php?title=Hide_%22Invite_Friends%22_option_in_private_groups&amp;action=history"/>
		<updated>2026-08-17T05:09:49Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.1</generator>

	<entry>
		<id>http://documentation.jomsocial.com/index.php?title=Hide_%22Invite_Friends%22_option_in_private_groups&amp;diff=3301&amp;oldid=prev</id>
		<title>Sinisakrisan at 03:05, 3 October 2014</title>
		<link rel="alternate" type="text/html" href="http://documentation.jomsocial.com/index.php?title=Hide_%22Invite_Friends%22_option_in_private_groups&amp;diff=3301&amp;oldid=prev"/>
				<updated>2014-10-03T03:05:22Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 03:05, 3 October 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{alert|'''NOTE:''' This is a hack and is recommended for you to have backup of the modified files. Hack is tested with JomSocial 3.2.1.4|alert-warning}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Overview==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Overview==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This hack will remove &amp;quot;Invite Friends&amp;quot; button in private groups for all users EXCEPT: group owner, Super User, Administrator.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This hack will remove &amp;quot;Invite Friends&amp;quot; button in private groups for all users EXCEPT: group owner, Super User, Administrator.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sinisakrisan</name></author>	</entry>

	<entry>
		<id>http://documentation.jomsocial.com/index.php?title=Hide_%22Invite_Friends%22_option_in_private_groups&amp;diff=3300&amp;oldid=prev</id>
		<title>Michal at 10:20, 2 October 2014</title>
		<link rel="alternate" type="text/html" href="http://documentation.jomsocial.com/index.php?title=Hide_%22Invite_Friends%22_option_in_private_groups&amp;diff=3300&amp;oldid=prev"/>
				<updated>2014-10-02T10:20:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:20, 2 October 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3.Then replace (starting from line 183):&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3. Then replace (starting from line 183):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Michal</name></author>	</entry>

	<entry>
		<id>http://documentation.jomsocial.com/index.php?title=Hide_%22Invite_Friends%22_option_in_private_groups&amp;diff=3299&amp;oldid=prev</id>
		<title>Michal at 10:19, 2 October 2014</title>
		<link rel="alternate" type="text/html" href="http://documentation.jomsocial.com/index.php?title=Hide_%22Invite_Friends%22_option_in_private_groups&amp;diff=3299&amp;oldid=prev"/>
				<updated>2014-10-02T10:19:57Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:19, 2 October 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;&amp;lt;a tabindex=&amp;quot;-1&amp;quot; href=&amp;quot;javascript:void(0);&amp;quot; onclick=&amp;quot;joms.invitation.showForm(null,'groups,inviteUsers','&amp;lt;?php echo $group-&amp;gt;id;?&amp;gt;',1,1)&amp;quot;&amp;gt;&amp;lt;?php echo JText::_('COM_COMMUNITY_INVITE_FRIENDS'); ?&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;&amp;lt;a tabindex=&amp;quot;-1&amp;quot; href=&amp;quot;javascript:void(0);&amp;quot; onclick=&amp;quot;joms.invitation.showForm(null,'groups,inviteUsers','&amp;lt;?php echo $group-&amp;gt;id;?&amp;gt;',1,1)&amp;quot;&amp;gt;&amp;lt;?php echo JText::_('COM_COMMUNITY_INVITE_FRIENDS'); ?&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br/&amp;gt;&amp;lt; br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;with:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;with:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Michal</name></author>	</entry>

	<entry>
		<id>http://documentation.jomsocial.com/index.php?title=Hide_%22Invite_Friends%22_option_in_private_groups&amp;diff=3298&amp;oldid=prev</id>
		<title>Michal: Created page with &quot;==Overview== This hack will remove &quot;Invite Friends&quot; button in private groups for all users EXCEPT: group owner, Super User, Administrator.  ==Instructions== 1. Copy file: ROOT...&quot;</title>
		<link rel="alternate" type="text/html" href="http://documentation.jomsocial.com/index.php?title=Hide_%22Invite_Friends%22_option_in_private_groups&amp;diff=3298&amp;oldid=prev"/>
				<updated>2014-10-02T10:19:35Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Overview== This hack will remove &amp;quot;Invite Friends&amp;quot; button in private groups for all users EXCEPT: group owner, Super User, Administrator.  ==Instructions== 1. Copy file: ROOT...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Overview==&lt;br /&gt;
This hack will remove &amp;quot;Invite Friends&amp;quot; button in private groups for all users EXCEPT: group owner, Super User, Administrator.&lt;br /&gt;
&lt;br /&gt;
==Instructions==&lt;br /&gt;
1. Copy file: ROOT/components/com_community/templates/default/groups.viewgroup.php &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
to:&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
ROOT/templates/your-template/html/com_community (if you don't have &amp;quot;html&amp;quot; or &amp;quot;com_community&amp;quot; folders, feel free to create them)&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
2. Replace (start from line 39):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;span4 text-right&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;!-- invite friend button --&amp;gt;&lt;br /&gt;
              &amp;lt;?php if($isMember) { ?&amp;gt;&lt;br /&gt;
                &amp;lt;div class=&amp;quot;btn btn-primary&amp;quot; onclick=&amp;quot;joms.invitation.showForm(null,'groups,inviteUsers','&amp;lt;?php echo $group-&amp;gt;id;?&amp;gt;',1,1)&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;js-icon-user-add&amp;quot;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;?php echo JText::_('COM_COMMUNITY_INVITE_FRIENDS'); ?&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
              &amp;lt;?php } else { ?&amp;gt;&lt;br /&gt;
                &amp;lt;div class=&amp;quot;btn btn-primary&amp;quot; onclick=&amp;quot;joms.groups.join(&amp;lt;?php echo $group-&amp;gt;id;?&amp;gt;)&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;js-icon-user-add&amp;quot;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;?php echo JText::_('COM_COMMUNITY_GROUPS_JOIN'); ?&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
              &amp;lt;?php }?&amp;gt;&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
with:&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;span4 text-right&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;!-- invite friend button --&amp;gt;&lt;br /&gt;
              &amp;lt;?php if($isMember AND !$isPrivate) { ?&amp;gt;&lt;br /&gt;
                &amp;lt;div class=&amp;quot;btn btn-primary&amp;quot; onclick=&amp;quot;joms.invitation.showForm(null,'groups,inviteUsers','&amp;lt;?php echo $group-&amp;gt;id;?&amp;gt;',1,1)&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;js-icon-user-add&amp;quot;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;?php echo JText::_('COM_COMMUNITY_INVITE_FRIENDS'); ?&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
               &amp;lt;?php } elseif($isMine || $isSuperAdmin || $isAdmin AND $isPrivate) { ?&amp;gt;&lt;br /&gt;
                &amp;lt;div class=&amp;quot;btn btn-primary&amp;quot; onclick=&amp;quot;joms.invitation.showForm(null,'groups,inviteUsers','&amp;lt;?php echo $group-&amp;gt;id;?&amp;gt;',1,1)&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;js-icon-user-add&amp;quot;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;?php echo JText::_('COM_COMMUNITY_INVITE_FRIENDS'); ?&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
              &amp;lt;?php } elseif(!$isMember) { ?&amp;gt;&lt;br /&gt;
                &amp;lt;div class=&amp;quot;btn btn-primary&amp;quot; onclick=&amp;quot;joms.groups.join(&amp;lt;?php echo $group-&amp;gt;id;?&amp;gt;)&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;js-icon-user-add&amp;quot;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;?php echo JText::_('COM_COMMUNITY_GROUPS_JOIN'); ?&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
              &amp;lt;?php }?&amp;gt;&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
3.Then replace (starting from line 183):&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;a tabindex=&amp;quot;-1&amp;quot; href=&amp;quot;javascript:void(0);&amp;quot; onclick=&amp;quot;joms.invitation.showForm(null,'groups,inviteUsers','&amp;lt;?php echo $group-&amp;gt;id;?&amp;gt;',1,1)&amp;quot;&amp;gt;&amp;lt;?php echo JText::_('COM_COMMUNITY_INVITE_FRIENDS'); ?&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt; br/&amp;gt;&lt;br /&gt;
with:&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if($isMember AND !$isPrivate) { ?&amp;gt;&lt;br /&gt;
                  &amp;lt;li&amp;gt;&amp;lt;a tabindex=&amp;quot;-1&amp;quot; href=&amp;quot;javascript:void(0);&amp;quot; onclick=&amp;quot;joms.invitation.showForm(null,'groups,inviteUsers','&amp;lt;?php echo $group-&amp;gt;id;?&amp;gt;',1,1)&amp;quot;&amp;gt;&amp;lt;?php echo JText::_('COM_COMMUNITY_INVITE_FRIENDS'); ?&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
                  &amp;lt;?php } elseif($isMine || $isSuperAdmin || $isAdmin AND $isPrivate) {?&amp;gt;&lt;br /&gt;
                  &amp;lt;?php if( $isMine || $isSuperAdmin || $isAdmin ){?&amp;gt;&lt;br /&gt;
                  &amp;lt;li&amp;gt;&amp;lt;a tabindex=&amp;quot;-1&amp;quot; href=&amp;quot;javascript:void(0);&amp;quot; onclick=&amp;quot;joms.invitation.showForm(null,'groups,inviteUsers','&amp;lt;?php echo $group-&amp;gt;id;?&amp;gt;',1,1)&amp;quot;&amp;gt;&amp;lt;?php echo JText::_('COM_COMMUNITY_INVITE_FRIENDS'); ?&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
                  &amp;lt;?php }?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;/div&gt;</summary>
		<author><name>Michal</name></author>	</entry>

	</feed>