By Teleperformance Germany S.à.r.l. & Co. KG on Saturday, 22 April 2017
Posted in General Issues
Likes 0
Views 129
Votes 0
We disabled the friend function in the admin panel. However its still possible to use the "invite a friend". I mean without the friend function this option would be useless or?

I personally would like to see the option hidden here as the friends option is disabled.
Hello,

Thanks for the input on this. Yep, you are correct. If friends is disabled, then it doesn't make sense to render this menu. Temporarily to fix this, edit the file /components/com_easysocial/themes/wireframe/events/item/default.php

[gist]
<?php if ($event->canInvite()) { ?>
<li>
<a href="javascript:void(0);" data-es-events-invite data-id="<?php echo $event->id;?>" data-return="<?php echo $returnUrl;?>" ><?php echo JText::_('COM_EASYSOCIAL_GROUPS_INVITE_FRIENDS');?></a>
</li>
<?php if ($event->canAccessActionMenu()) { ?>
<li class="divider"></li>
<?php } ?>
<?php } ?>
[/gist]

This will also be fixed in the next release of EasySocial.
·
Saturday, 22 April 2017 16:16
·
0 Likes
·
0 Votes
·
0 Comments
·
hm, the code above looks exactly like on my installation.
·
Monday, 24 April 2017 14:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Yeah, you will have to remove that set of codes
·
Monday, 24 April 2017 14:51
·
0 Likes
·
0 Votes
·
0 Comments
·
oh, my fault. I expected you need that i add something. but I performed the change now and its working. So that for the fix and the info that it will be solved in the next version .
·
Wednesday, 26 April 2017 19:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating, glad that your issue is resolved now.
·
Wednesday, 26 April 2017 19:08
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post