I looked at the Friends page and the Invite Friends button is there as well.
I need it removed from everywhere on the site.
Please let me know what changes to make the what files so the the Invite Friends button does not appear anywhere. I am glad to make the changes to the files.
Thanks
Hi,
please make override file for:
/components/com_community/templates/jomsocial/layouts/friends/list.php and remove this code at line 44
<div onclick="window.location='<?php echo CRoute::_('index.php?option=com_community&view=friends&task=invite'); ?>';" class="joms-button--add">
<?php echo JText::_('COM_COMMUNITY_INVITE_FRIENDS'); ?>
</div>
What you sent me worked for that page, but as I said it is imperative that the Invite Friends button not show up.
So far, I have also found it on the "Friend Request Pending Approval" page and the "Send Friend Request" page.
Please tell me what files those buttons are located and any others.
I'll edit and create the override files.
Thanks!
Please put this custom CSS at: /templates/yoo_monday/styles/default-cce/css/custom.css
.cFriends .joms-subnav__menu, .cFriends .joms-subnav--desktop {
display: none !important;
}
Thank you for your suggestion, however it did not do what I am looking to accomplish.
As you can see from the attached image, the Invite Friends button still shows in places.
The only place it does not show is on the Member Directory page where you told me what PHP file to edit.
I know that we have being going around on this for a long time, but it is imperative that these invitations do not go out and just as imperative that if they do somehow go out, that JomSocial does not create an account for then when they click the link in the email that Invite Friends sends.
Regards
Hi,
You did so it for /friends/list.php and it works great. THANKS!
However, I also need it for the other places also such as "Friend Requests Pending Approval" and "Sent Friend Requests".
If you could tell me the files I am happy to create the overrides and can comment out the code.
I will open the FTP ports again and let you know when that is available.
In the meantime, I have enabled your Super User account on cce-dev.zacaw.com
If you make the changes, I will of course need to know the files you modify.
Thanks,
Hi,
here the modify:
THANK YOU!
THANK YOU!
THANK YOU!
I realize that this was a painful process for both of us, but THANK YOU again for sticking with it with me! I appreciate it!
I think that we can finally put this one to bed!