streams are not related to profile fields. stream is created by site activity. i don’t think theres a decent way to hide that other then for admin users using a plugin or by modifying code stuff.
Just wondering, in future releases, will hidden profile field data be excluded from site member searches as well or is there a way to do this at the moment?
As @sheffieldlad suggests, wp-fb-autoconnect delivers a good off the shelf solution, and provides some integration with BuddyPress profile fields
[ note: wp-fb-autoconnect is a facebook only solution, and everything is installed / controlled on your site; Pro version is a one off payment. Loginradius is a SaaS solution, with monthly payment plans to enable full features, remove labelling, etc. If you want a full SaaS solution, you should also look at Janrain, Gigya and Oneall. ]
Further, just had a quick look at the db, seems visibility levels are saved in the wp_usermeta field bp_xprofile_visibility_levels. Buddypress reads this field and enforces the policy there, so even though you have changed the site wide policy it still enforces the per user settings (if that makes any sense). What you need to do is update each users policies each time the site wide is changed. The plugin was only ever supposed to be an example on how to do it so I don’t think it is robust enough for a live server.
I just installed this plugin and it does work but it seems that previous policies are remembered so even if you change the site wise privacy policy on a field to “Admin Only” each registered user still has it’s old setting. If you set the field so that the user can change their policy then log in as that user and change it to “Admin only” the policy is correctly enforced. I haven’t had time to delve into the db and see where the setting is saved but I suspect that when the site wise policy on a field is set to be enforced each individual user has to be changed at the same time.
@modemlooper Well, that’s plugin/solution I used but now is not working. As you can see, last time was updated 8 months ago. Probably is not anymore compatible with latest versions of BP.
<p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-“>
<?php printf( __( 'This field can be seen by: %s‘, ‘buddypress’ ), bp_get_the_profile_field_visibility_level_label() ) ?> Change
<p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-“>
<?php printf( __( 'This field can be seen by: %s‘, ‘buddypress’ ), bp_get_the_profile_field_visibility_level_label() ) ?>
Then, those are great news!
My site is still under construction and I was surprised when all hidden data suddenly went visible. That will be really bad for whole community. I think it’s better to rely on this future feature of BP and wait. Many thanks for this info. Anyway, I’ll inform plugin author about updating or fixing plugin.
If a plugin doesn’t work, you need to contact its author for support. You’ll be glad to learn we’ve added this into the 1.7 version of BuddyPress (which is still in development) so it will help in future.
and enforce one of those values. The problem is, I need some fields to be visible only to admin or hidden from other members.
Example:
First Name (visible to anyone)
Last Name (visible to anyone)
Birth date (let’s user decide who will see this field)
Passport No (visible only to admin, cause it’s sensitive data)
In plugin I mentioned above, that worked. Now, when I install that plugin, “only admins” option appears but doesn’t work and I’m looking for alternative.
How do I make a drop down box mandatory with ‘—select —‘ as the default field. Obviously I don’t want it to be possible to choose ‘—select —‘ as an option. Just the other options in the list.
Thanks.. I managed to show custom field on user profile.
Now i want to show custom fields on members directory page..
Which file i have to edit?
Thanks..
Hi
In my BP user profile I’d like to have fields which are collections of field types each of which could have different attributes. e.g.
Father: with attributes name, age, occupation
Mother: with attributes name, age, occupation
Brother: with attributes name, age, older/younger
Sister: with attributes name, age, older/younger
Now in the user profile I want to set up fields of the above types where some could have multiple values e.g. more than 1 sister or brother and assign respective attributes.
Is there a way to do this directly or using a plugin in Buddypress? Any other recommendations?
Hello everyone,
i want to show custom profile fields on 2 locations.
1.On members page.
2. In the header of profile of users. Below username
Check this images. http://i.imgur.com/6qbgg.png
Hi All,
I am trying to access a bit of user profile data on the full site activity feed/page in the post update form. It works fine when I am using/viewing the member feed/post update form. I need to get this information to turn on Geo location for each update based on the user’s setting. I’ll eventually make this into a plugin but am just going through the motions right now.
Here’s my code:
`
//START geo location of user if posting an update
if( !bp_is_group() ):
global $bp;
$userid = $bp->loggedin_user->id;
echo ‘
USER ID: ‘.$userid.’
‘;//#for testing
//get user “Use Location” profile input value
$use_location = bp_get_member_profile_data( ‘user_id=’.$userid.’&field=Use Location’ );//#doesn’t work on full site activity
if( $use_location == ‘On’ ):
echo ‘
USE LOCATION is ON
‘;//#for testing
//print out hidden fields for geo location data
//save/update geo location data as meta for the activity
endif;
endif;//!bp_is_group
//END geo location data
`
Any help or direction is greatly appreciated! Thanks
Author
Search Results
Viewing 25 results - 3,151 through 3,175 (of 5,755 total)