Community Support Forums — WordPress® ( Users Helping Users ) — 2011-10-07T18:45:43-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15384 2011-10-07T18:45:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15384&p=45074#p45074 <![CDATA[Re: Hiding Custom Fields from Public Profiles]]>
Wendell wrote:
Hello,

I've imported over 700 members into my Wordpress 3.2.1 site, which also has BuddyPress 1.5 installed.

I've created a number of custom fields in S2Member, and they all show up publicly on each member's profile. I want the standard BuddyPress fields to show to the public, but I do not want ANY of the S2Member fields to show to anyone except Admins and Editors.

I apologize if this has been answered here before, but I searched and searched and could not find the answer. Thank you for your help.

I think this is what you're looking for?
See: s2Member -> General Options -> Custom Registration Fields.
SNAG-0017.png

Statistics: Posted by Jason Caldwell — October 7th, 2011, 6:45 pm


]]>
2011-10-02T12:03:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15384&p=42181#p42181 <![CDATA[Re: Hiding Custom Fields from Public Profiles]]>
Wendell wrote:
I've created a number of custom fields in S2Member, and they all show up publicly on each member's profile. I want the standard BuddyPress fields to show to the public, but I do not want ANY of the S2Member fields to show to anyone except Admins and Editors.


I will be honest first and say that I don't have any experience with buddy press so am not entirely sure what exactly is showing what...

I presume that every user, when logged in, sees the profile pages of everyone else?
And that the profile pages are actually generated by Buddy Press
and that Buddy press has no way to control what is seen or not seen on those profile pages.

I make these presumptions because so far I have never seen wp or s2 show profile info by default.

Then you say...

I still want them to be able to edit the custom fields. But I don't want the public to see their profile fields, as it contains private information that should not be shared with just anyone.

So you want each user to have access to view and edit only their own s2 custom info.

My first thought is that you need to be looking at Buddy Press and not s2 for controlling that display however, if there really is no way to do that you could hide each field based on the user ID.
You would get the current userID and then check that against the user ID dislayed in the profile form. If they are the same you show everything and if they are not the same you hide specific fields.

This thread discusses how to hide a field but you will have to do some additional work: viewtopic.php?f=4&t=14706#p33206.


DP

Statistics: Posted by man-O-media — October 2nd, 2011, 12:03 pm


]]>
2011-10-01T22:26:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15384&p=42126#p42126 <![CDATA[Re: Hiding Custom Fields from Public Profiles]]> Statistics: Posted by Wendell — October 1st, 2011, 10:26 pm


]]>
2011-10-01T22:13:40-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15384&p=42122#p42122 <![CDATA[Re: Hiding Custom Fields from Public Profiles]]>
DP

Statistics: Posted by man-O-media — October 1st, 2011, 10:13 pm


]]>
2011-10-01T19:23:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15384&p=42103#p42103 <![CDATA[Hiding Custom Fields from Public Profiles]]>
I've imported over 700 members into my Wordpress 3.2.1 site, which also has BuddyPress 1.5 installed.

I've created a number of custom fields in S2Member, and they all show up publicly on each member's profile. I want the standard BuddyPress fields to show to the public, but I do not want ANY of the S2Member fields to show to anyone except Admins and Editors.

I apologize if this has been answered here before, but I searched and searched and could not find the answer. Thank you for your help.

Statistics: Posted by Wendell — October 1st, 2011, 7:23 pm


]]>