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.

How to remove add friend button from Jomsocial profile

11 years 5 months ago
Licenses:
JomSocial Expired

ISSUE SUMMARY:

I want to remove at friend button from jomsocial profile
STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

11 years 5 months ago
Licenses:

Hi, Andrew.

Add this code to your current template main css file:

.joms-focus__header .joms-focus__button--add {
display: none !important;
}


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
11 years 5 months ago
Licenses:
JomSocial Expired

Hi Michal,
Is it in the cpanel>ftp>templates>template name>css
Now in the css folder, there is a whole lot of css files there. Namely
bootstrap.css, camera.css, default css, template.css, overides.css, komento.css, layout.css and a whole lot more.

Just to be sure, do i add the code to my template.css?

11 years 5 months ago
Licenses:

Hi, Andrew.

This file exactly: ROOT/templates/theme1871/css/template.css


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
11 years 5 months ago
Licenses:
JomSocial Expired

Thank you very much you are so good and i am happy with you response.My problem has been solved.The add friend button has been removed. But i have one more question.
Is there any way that i can add a link button like (add to cart) to a profile that leads to a checkout?
Because my website deals with Soccer players and Soccer teams. I would love to add a link to soccer players profile so they can be bought.

11 years 5 months ago
Licenses:
JomSocial Expired

Can someone help me please. I have been waiting for a reply. I need your help

11 years 5 months ago
Licenses:

Hi, Andrew.

I'm sorry for delay - I had a day of and wasn't working in weekend.
You should also post your request in NEW thread, then someone else will take care of it.
That's why we always say to remember to post in NEW threads with something new.

Sure you can add anything into profile. Many depends where you want to display that button.
I'm guessing that somewhere on profile cover (along with other buttons).

Then you'll need to create override for this file:

Copy file ROOT/components/com_community/templates/jomsocial/layouts/profile/focus.php

to;

ROOT/templates/your-template/html/com_community/layouts/profile (if you don't have any of those folders, feel free to create them)

Then add your button code somewhere lines 73 and 229. Your button should appear a bit below cover. Now you'll need to style it up.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped 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