Presently, admin level users can’t see activity feeds for members who have set their privacy options to “only show activity to friends”. Is there any way to get around this so that admins can see everyone’s activity feeds, and profile fields as well? Ideally, I don’t want the privacy options to apply to admins at all.
Many thanks for the tip. I presume adding the line to the functions.php of a child theme would have the same effect.
Crazily enough the plugin still works perfectly. Haven’t tried the linking to social networking bit yet. But otherwise all good. Separate words can be links with square brackets, and you can exclude fields altogether.
edParticipant
1. I’m trying to find a solution for hiding the base profile display name in public view or delete all together. It’s already up next to the avatar. http://cl.ly/2R3e1L1z02332N2T3b1N
#2 – Why are my extra profile fields linking http://cl.ly/2R3e1L1z02332N2T3b1N
Thanks
I’d suggest you look at wp_mail as the starting point https://codex.wordpress.org/Function_Reference/wp_mail. You can hook into the profile fields (with some custom coding) and send using that I think.
I would say looking at a plugin would be a good point to see code if not a direct solution for you.
Hi there,
do you know how to get (as admin) an email notification when a member updated a specific profile field? Not all fields only a few.
I’ve done my research but sadly without real solution. Maybe it’s possible to adapt the email notification group plugin?
Can someone here get me in the right direction?
Thanks!
Thank you Roger et al.
You / we can close this topic.
Best regards,
Kookidooki.
Yes, you need to echo the value returned by bp_get_member_profile_data(), or just use bp_profile_field_data() as you’ve done
Hello Roger,
I’ve used your code bp_get_member_profile_data, but it failed and found out that his code is the solution:
`
<a href="”>Url:
`
I know what you’re thinking: what a weird code …. but anyway it’s working. 
@RogerCoathup – email is sent 
To make the URL clickable, add an anchor tag and use bp_get_member_profile_data() to get the value for the href attribute.
Presume this is the best place for feedback. if not let me know and i’ll do a separate topic.
Bp 1.6 Beta 1 and up to trunk 6154 and wp 3.4.1 local install
on a single site with bp default theme and on a multisite with child of bp default.
Changes to Profile fields visibility don’t seem to be sticking
Hobbies – not a required field Who can see this field ? Anyone (default)
Change Anyone to Logged in Users and Press Save Changes.
Green Box arrives on top of page —-> Changes Saved
But the changes are NOT saved. Everything stays the same !
Refresh page/Empty cache —> No help,
Same for non-admin user as for admin.
I have a good few plugins active and that possibly could be the cause.
Will disable these tomorrow to check.
In the meantime it would be great to have this confirmed or refuted.
Glad it’s working, wasn’t that hard in the end
thanks for posting your example.
i’ve opened a ticket to see if the comment text in the file can be amended with new example.
I’ve made a summary for others and as a reminder:
This is the code you must add around line 30 in wp-content/plugins/buddypress/bp-themes/bp-default/members/single/member-header.php:
`
Location:
Hobbies:
<a href="”>Url:
`
And how do I make the url clickable?
Hello guys,
It works!!!
I’ve replaced in /single/members-header.php the code bp_profile_field_data() by bp_member_profile_data() and it works great!
Thank you guys!!
Why are you looking in bp core files? Dont!
Please read through the thread again all the answers are there – you need to be working in /single/members-header.php
Hello guys,
Thank you for your help; I really appreciate that.
In bp-members-template.php and bp_member_profile_data I’ve found this code at line 596-632:
`function bp_member_profile_data( $args = ” ) {
echo bp_get_member_profile_data( $args );
}
function bp_get_member_profile_data( $args = ” ) {
global $bp, $members_template;
if ( !bp_is_active( ‘xprofile’ ) )
return false;
// Declare local variables
$data = false;
$user_id = 0;
// Guess at default $user_id
if ( !empty( $members_template->member->id ) )
$user_id = $members_template->member->id;
elseif ( !empty( $bp->displayed_user->id ) )
$user_id = $bp->displayed_user->id;
$defaults = array(
‘field’ => false, // Field name
‘user_id’ => $user_id
);
$r = wp_parse_args( $args, $defaults );
extract( $r, EXTR_SKIP );
// Populate the user if it hasn’t been already.
if ( empty( $members_template->member->profile_data ) && method_exists( ‘BP_XProfile_ProfileData’, ‘get_all_for_user’ ) )
$members_template->member->profile_data = BP_XProfile_ProfileData::get_all_for_user( $user_id );
// Get the field data if there is data to get
if ( !empty( $members_template->member->profile_data ) )
$data = xprofile_format_profile_field( $members_template->member->profile_data[$field], $members_template->member->profile_data[$field] );
return apply_filters( ‘bp_get_member_profile_data’, $data );
}`
Is this the code you’re talking about and what should be modified?
@pinhead149 – if you’d like us to quote on the integration work, please email info@21inspired.com
Alternatively, there are a number of other good BuddyPress developers you could approach. You could also try the jobs board on here (although it’s not very active): https://buddypress.org/community/groups/bp-jobs-board/
hm i don’t understand it. can you help me maybe via skype, icq or something? i’ll pay for it if it works.
skype: pinheaduntergrund
icq: 415917355
thanks
Have a look at the templates in /member/single/profile
e.g. edit.php – you’ll be interested in hooks such as bp_custom_profile_edit_fields
You’ll also want to look at members-loop.php to display the plugin fields.
Hi guys,
i’ve installed a plugin called “liveTV bundle”.
The user configuration to add livestreams is included in the normal wordpress profiles. But i want to show that in buddypress profiles. Can somebody edit the following lines?
add_action( ‘show_user_profile’, ‘livetv_show_extra_profile_fields’ ); for example shows the profile fields (that i need) on wordpress profiles. How can i swap it to my buddypress profiles?
Code:
//Now hook to create extra profil fields
add_action( ‘edit_user_profile’, ‘livetv_show_extra_profile_fields’ );
//When the current on the current profil has capabilties to edit -> display
add_action( ‘edit_user_profile_update’, ‘livetv_save_extra_profile_fields’ );
//When the current on the current profil has capabilties to edit -> update
add_action( ‘show_user_profile’, ‘livetv_show_extra_profile_fields’ );
//When the current on the current profil has capabilties to show -> display
add_action( ‘personal_options_update’, ‘livetv_save_extra_profile_fields’ );
//When the current on the current profil is the current and edit -> update
https://buddypress.trac.wordpress.org/ticket/4319 asks the question whether comments shouldn’t be updated.
@shanebp xprofile_get_field_data() is useful if outside of a loop, but this issue is in a members loop so the above function appropriate – but as Roger says why on earth do we still guide people to use bp_profile_field_data() if it effectively doesn’t work?
@shanebp @hnla –
As Hugo points out, we can also use (since 1.5.somethingorother) bp_member_profile_data(), defined in bp-members-template.php
The comments in member-header.php should be updated!
@rogercoathup
In 1.6, you can use
`
xprofile_get_field_data( $field, $user_id = 0, $multi_format = ‘array’ )
`
From bp-xprofile/bp-xprofile-functions.php.
To get a comma-separated string, use the other $multi_format option which will implode the array for you
`
xprofile_get_field_data( $field, $user_id = 0, $multi_format = ‘comma’ )
`
Try using:
`bp_member_profile_data()`
works for me!