I set in settings - only friends can send messages. It works on desktop but not in mobile. because there users can see send button on every prof ile. How can I fix it?
You can check this profile: https://flirzo.com/member/en/835-fgjhgfjgjhfd/profile at desktop you can not see send message button, but in mobile its showing
Hi
You can add this custom css:
@media (max-width: 992px){ .cProfile .joms-focus .joms-focus__actions a.joms-focus__button--message { display: none !important; } }
Hi all, this is James
Hi, it hide button for friends too 🙁
According to the settings, the button should only be visible to people who are friends. It works fine on desktop. It doesn't work on mobile only.
I updated this file on your site to fix the issue:
/components/com_community/templates/jomsocial/layouts/profile/focus.php
Kindly check.
It works, thank you so much 🙂
My pleasure 😉