Support

  1. siptec
  2. Support
  3. Tuesday, April 19 2022, 12:11 AM
I was having to use the Joomla base system for user fields, but didn't want other users seeing personal information by clicking on the user profile in the list module. So, I couldn't use the field control found in EasyProfile. I used a CSS mouse disable, but really need a better solution.

Downloaded the module with FTP. Copied the default.php and edited it saving it as nolink.php. Removed the


<a href="/<?php echo $user->getLink(array('Itemid'=>$params->get('profile_menuid', ''))); ?>">

and

</a>


Then selected the User list module > Advance tab and selected the "nolink" in the Layout dropdown.

Not sure if there's a better way.
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry for late response.
Here some solution for you:

1) Remove Link from User list module
- Go to Extensions->Templates->Templates
- Choose your template
- Choose section "Create Overrides"
- In the column "Modules" click to "mod_jsnusers" it will create a new file in templates/theme-folder/html/mod_jsnusers/default.php
- Open the new file with a editor (FTP) or via Joomla backend (Extensions->Templates->Templates->Choose your template->Choose Section "Editor"->Navigate to path /html/mod_jsnusers/default.php)
- Remove links from the code (remove lines 49,53,62,64)

2) Remove Joomla fields from other profiles (a owner still can see these fields in own profile page):
- Go to Extensions->Templates->Templates
- Choose your template
- Choose section "Create Overrides"
- In the column "Components" click to "com_jsn"->"profile" it will create a some new files in templates/theme-folder/html/com_jsn/profile/
- Open the file templates/theme-folder/html/com_jsn/profile/default_fields.php with a editor (FTP) or via Joomla backend (Extensions->Templates->Templates->Choose your template->Choose Section "Editor"->Navigate to path /html/com_jsn/profile/default_fields.php)
- In the opened file at line 24 add following code
if (JFactory::getUser()->id != $this->data->id) {
unset($fieldsets['fields-0']); /* This remove all custom fields not related to a fieldgroup*/
unset($fieldsets['fields-1']); /* This remove all custom fields related to a fieldgroup with ID 1 */
unset($fieldsets['fields-2']); /* This remove all custom fields related to a fieldgroup with ID 2 */
}
  1. more than a month ago
  2. Support
  3. # Permalink
admin Accepted Answer
Admin
Hi,
in. Easy Profile options you can set the profile visibility:
- Go to Components->Easy Profile
- Click to "Option" button
- Set the options called "Visibility Profiles" to "Private"
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 1
siptec Accepted Answer
Pro
Hi,
in. Easy Profile options you can set the profile visibility:
- Go to Components->Easy Profile
- Click to "Option" button
- Set the options called "Visibility Profiles" to "Private"

Doesn't work in my site. Only "Site Members" keeps the general public out. I have 2.10.0 on a 3.10.6 site. The three other states do nothing.
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,
if you set it to "Private" then the profile page should not be available, It is not so?

Also there is another way to hide parameter, you can set the "visibility for" option for each field to be visible only for Special users, see screenshot.
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 3
siptec Accepted Answer
Pro
Hi,
if you set it to "Private" then the profile page should not be available, It is not so?

Also there is another way to hide parameter, you can set the "visibility for" option for each field to be visible only for Special users, see screenshot.


Yes, if I were using the fields generated by EasyProfile, I could use the visibility option, but I'm using the Joomla field system for other reasons.

Yes, it seems only the "Site Members" selection restricts the general public. All other selections have no effect.

I've had easyprofile in this system for quite a few updates, it could be possible I need to completely uninstall and reinstall to clear the issue. For now, my fix above is doing what I need.
  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 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.