Support

  1. mindoxy
  2. Support
  3. Sunday, April 10 2016, 10:18 PM
Good day,

I have restricted user access to profiles i also want to restrict sending of friend request, please how do i do that.

Thanks Team
admin Accepted Answer
Admin
Before we inform you that Social Network Plugin have a possibility to override template files to not loss your changes when you upgrade/reinstall the plugin, see these steps to understand now to do this:
- Access to Admin panel (http://docs.easy-profile.com/index.php/article/social-network-configuration)
- Go to Theme Manager
- Choose "SocialNetwork Theme"
- Choose your file to override on left menu
- Click on button "Copy" and copy it in "Blue Theme"
- Come back and choose "Blue Theme"
- You will see your override to customize in files list

"Social Network theme" is a system theme, so it will be overwritten every upgrade/install of this plugin
"Blue Theme" is an example theme and you can customize without loss your modifications on upgrade/install of this plugin



Button "Add as Friend" come from different files, you need to remove this button if user not have permissions:
- Elements/cover.ctp (profile page) - You can skip this file because normal users can't see this page, you have already restricted this page
- Elements/misc/user_mini.ctp (this is shown in some user list)
- Elements/misc/users_list_bit.ctp (this is shown in People section)
- Blogs/view.ctp (this is a user box in Blogs article)



TIP
to get user access levels you can use function getAuthorisedViewLevels, see this example:
$jUser=JFactory::getUser();
$acl=$jUser->getAuthorisedViewLevels();
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Hi,
sorry this is not possible with a simple way. You need to make many changes to source code of plugin.
  1. more than a month ago
  2. Support
  3. # 2
mindoxy Accepted Answer
Thanks for the response.

Kindly advise on the source code to change and how to go about it

Warm Regards
  1. more than a month ago
  2. Support
  3. # 3
mindoxy Accepted Answer
This is awesome... Thanks...

However i will have to liaise with the website owner first. It might take a while before i post here...


Thanks once again
  1. more than a month ago
  2. Support
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.