By Avinash on Monday, 29 September 2014
Posted in General Issues
Replies 5
Likes 0
Views 476
Votes 0
Hi,

I would like to set mandatory privacy options for certain fields in profiles - which I have done. But I also do not want the user to be able to change it. In the Edit Privacy view this is possible. Hence how can I remove certain menu items or field items in the "Edit Privacy" View to ensure that users only change privacy settings for specific items only?

Thanks
Avinash
Hi Avinash,

I am sorry for the delay of this reply.

If you are referring to user's field privacy, then what you can do is disable the privacy option from the field from your profile setting page under EasySocial backend. Please see http://screencast.com/t/T7cvV15XAZRM

Once you've that privacy option turned off for a field, your user will no longer able to change the privacy for that particular field

Hope this help and have a nice day
Sam
·
Monday, 29 September 2014 19:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam

That function works well. But I am specifically referring to ES related default privacy settings and not profile information.

For e.g. Achivements and Albums are not something I have activated on my site so I need to remove it from the Edit Privacy Options. I can't expect users to set privacy for features that are not activated...... so I would like to take them off the form in the Edit Privacy Options view. How can I do this?

Cheers
Avinash
·
Tuesday, 30 September 2014 13:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Avinash,

I am sorry for the delay of this reply.

Ah sorry I've misunderstand you earlier but the good news is, I've added a fix in EasySocial so that when you've turn off achievements or albums, your user will not able to see the privacy settings that belong to 'achievements' or 'albums' The fix will be added into next release of EasySocial.

For the quick fix, download the attached two files and :

1. Copy 'form.privacy.php' to folder 'JOOMLA/administrator/components/com_easysocial/themes/default/users/' and overwrite the existing form.privacy.php .
2. Copy 'default.edit.privacy.php' to folder 'JOOMLA/components/com_easysocial/themes/wireframe/profile/' and overwrite the existing file default.edit.privacy.php.

Hope this help and have a nice day
Sam
·
Wednesday, 01 October 2014 11:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam

thanks for that will check that out!! But in terms of being more specific suppose I as the administrator decide that users should not be able to display their friends to others - so I make a default setting. Privacy options allow users to change this setting in the front end - hence I would like to remove that option from the front end.

Is this possible for me to execute.

Cheers
avinash
·
Wednesday, 01 October 2014 14:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Avinash,

Avinash wrote:
But in terms of being more specific suppose I as the administrator decide that users should not be able to display their friends to others - so I make a default setting. Privacy options allow users to change this setting in the front end - hence I would like to remove that option from the front end.


I am sorry but currently this is not possible at the moment. You will need to hack EasySocial files to make that happen Take a look at file 'JOOMLA/components/com_easysocial/themes/wireframe/profile/default.edit.privacy.php' that I attached earlier. You might get the hint how you can actually 'hide' those unwanted privacy setting

Hope this help and have a nice day
Sam
·
Wednesday, 01 October 2014 16:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post