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.

Gloably remove Invite Friends buttons and links

8 years 8 months ago
Licenses:

Hi,

that's all :)


Regards

8 years 8 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

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

8 years 8 months ago
Licenses:

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>

Regards

8 years 8 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

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!

8 years 8 months ago
Licenses:

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;
}

and for toolbar menu item you can do it from joomla menu manager.

Regards

8 years 8 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

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

This message has an attachment file.
Please log in or register to see it.

8 years 8 months ago
Licenses:

Hi,

strange, I gave you solution for that already.
please unblock jsocial123 from dev site (including FTP). I will do it for you.

Regards

8 years 8 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

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,

8 years 8 months ago
Licenses:

Hi,

here the modify:

This attachment is hidden for guests.
Please log in or register to see it.

unzip and put it at:
/templates/yoo_monday/html/com_community/layouts/

Regards

This message has an attachment file.
Please log in or register to see it.

The following user(s) said Thank You: Edward
8 years 8 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

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!

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