Admin chooses who sees certain profile fields?

Dolphin allows members to choose who sees profile fields or profile field blocks via the little key icon. Unfortunately this feature doesn't seem to be available to Admin.

We've removed the keys to stop our members from hiding profile fields that should be accessible to everyone.

We have a problem where members are entering stuff in their profile fields that isn't suitable for general viewing. To overcome this problem, we wish to create a Profile Field block called "Friends" which can only be accessed by the member's friends.

I can make the mod provided I know where to look. I'm guessing it's a field in the database which only allows friends to access data in the record.

Can some kind person tell me what the field I have to change?

Quote · 15 Jun 2017

Does anyone know of a commercial app that does this. As far as I can recall, it's built in to Elgg and possibly Oxwall. Sadly, Dolphin seems to offer more options to users and less to admin.

I just want to be able to make certain fields or field blocks "Friends Only" at admin level.

It would be great to have this feature:

Who Sees This Field:

Everyone

Friends Only

Me Only

"Me Only" would allow a user to make personal comments in their own profile.

I just want Everyone and Friends Only.

Thanks

 

 

Quote · 21 Jun 2017

> we wish to create a Profile Field block called "Friends" which can only be accessed by the member's friends.

It's possible to create separate block with different set of fields in Fields Builder, after adding additional block in Fields Builder, similar block will appear in Pages Builder, so users can set separate visibility options for this block via "key" icon.

Rules → http://www.boonex.com/terms
Quote · 24 Jun 2017

Hi AlexT and many thanks for your reply. We already have separate blocks as you suggest, but we've removed the keys because we don't want our users hiding random stuff from other users. We need a specific site-wide block that can only be seen by friends of the user. This must apply to every member:

General info - all members can see this block.
Location - As above
My Statistics - As above
Personal stuff - To be seen by the member's friends only, (Set by Admin, not the user)

I've solved part of the problem, but it's a manual operation. The block is number 200 and I can go to the database  and alter the records by setting the view level to 5 (Friends Only)

table sys_page_compose_privacy

(9, 1, 200, 5);

However this is very time consuming and errors can creep in. When a new member joins, I need this block to be set to 5 automatically.

I'm sure a simple IF statement in the file member_privacy.php will do the job, but not being good at PHP, I'm not sure where to put it. This is a rough example.

If block_id = "200";
      allow_view_block_to`= "5";
endif

 

 
 
Quote · 25 Jun 2017

Yes, in this case this is small custom modification, it's better to post small job offer for this in forum or jobs section:

https://www.boonex.com/jobs

Rules → http://www.boonex.com/terms
Quote · 11 Jul 2017
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.