Support

  1. jdrew
  2. General
  3. Friday, September 29 2017, 03:40 PM
Hello,

Is it possible to hide the "Edit Profile" button on the Profile page for a user group?

So if I create a usergroup "A" and when a user exists in that usergroup they cannot edit the profile?

Thank you.
admin Accepted Answer
Admin
Hi,
Is it possible to hide the "Edit Profile" button on the Profile page for a user group?
Joomla allow you to override Easy Profile profile page, so you can do everything you want to profile page. Unfortunately something like this require PHP and Joomla dev knowledges.

How to override Profile page
- Copy file from components/com_jsn/views/profile/tmpl/default.php to templates/your-template-folder/html/com_jsn/profile/default.php
- Edit new File: between lines 37 and 41 you will find the code that show edit profile button,

To do this you can add a code to check Joomla Usergroup (https://api.joomla.org/cms-3/classes/JUser.html#method_getAuthorisedGroups) or Access Level (https://api.joomla.org/cms-3/classes/JUser.html#method_getAuthorisedViewLevels)
  1. more than a month ago
  2. General
  3. # 1
admin Accepted Answer
Admin
Sorry, missing a part of reply

if I create a usergroup "A" and when a user exists in that usergroup they cannot edit the profile?
Sorry this is not possible with a simple way (hide edit profile button does not remove ability and permission to edit own profile).
personally,I should do this with one system plugin, but this way is not so simple :(
  1. more than a month ago
  2. General
  3. # 2
jdrew Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. General
  3. # 3
  • 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 Online

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.