Support

  1. woluweb
  2. Bug Report
  3. Thursday, January 14 2021, 08:20 PM
Hi there,

This is my first real case with Easy Profile and so far I am thrilled by the quantity of features available :)

I just had two question about Privacy for Custom Fields.

1.
If I create a Custom Field "Country" for example and enable Privacy, if a user sets its country on Private then indeed another user does not see that country in the Users List or Users Table.

But I also needed to enable Privacy for (First) Name and Last Name... but it does not seem to work : the Users List/Table hides the country... but still shows Name and Last Name.
Is this a bug ? Is this because those fields were pre-existing with Easy Profile ?

2.
Upon account creation, I can select the privacy by clicking on the icon.
But once the account is created,
- I can as super user edit the user from the backend and change their Privacy setting
- ... but in the front-end the button does not show the 3 options, as if nothing was happening (I see in the browser console that the class changes upon clicking though)

Txs !

Marc
woluweb Accepted Answer
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 1
admin Accepted Answer
Admin
Hi,
What do you think ?
Woudn't that be a good & practical solution ?
Or do you see any drawback ? (for example that Search would still fetch out those users ?)
This is perfect way to hide users in the list but there is one problem. If some user know the profile url then the profile will be still reachable.

To avoid this you can do this with Joomla Template Override feature
- Create a file /templates/your-template-folder/html/com_jsn/profile/default.php
- put this code into file
<?php

defined('_JEXEC') or die;

if($this->data->anonymous!='YES')
{
JError::raiseWarning(403, JText::_('COM_JSN_NOTVIEWPROFILE'));
}
else
{
include(JPATH_SITE.'/components/com_jsn/views/profile/tmpl/default.php');
}

?>

This override simply includes the original template if the value of the field "anonymous" is different from Yes, otherwise it returns an error message
  1. more than a month ago
  2. Bug Report
  3. # 2
woluweb Accepted Answer
Txs very much for you suggestion !
I will test definitely test it.

In the meatime, I thought of something :
- I created a Radio field "want to be anonymous" YES/NO
- and in the menu of type "users - list", I added a sql query (very handy that option you added !) with "anonymous = 0"

What do you think ?
Woudn't that be a good & practical solution ?
Or do you see any drawback ? (for example that Search would still fetch out those users ?)

Txs !
  1. more than a month ago
  2. Bug Report
  3. # 3
admin Accepted Answer
Admin
Hi,
1) the field displayed in the Users List is the Format Name, but for this entity is never set the privacy because it is needed for SEO and consistency purpose. We recommend to set as displayed name (from Components->Easy Profile->Options->Core Fields->Display Format Nam ) something else like "username", anyway if you want to keep firstname and lastname in according with privacy then follow these steps:
- Go to Components->Easy Profile->Options->Core Fields
- Set the parameter called "Display Format Name" to "Custom"
- In the parameter called "Custom Display Format Name" set this code "{firstname} {lastname}" (screenshot)
Now the field consists of 2 fields and for each field the privacy will be respected :)

2) Can you please post me your site details to check this? If yes then you can use the form below the reply in "Site Details" tab.
Attachments (1)
  1. more than a month ago
  2. Bug Report
  3. # 4
woluweb Accepted Answer
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 5
  • 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.