Thanks, but isn’t enough..
Here is beta version for my website: http://beta.onemillionnights.com
To be more specific:
I need two members directory, one for free level and one for levels which requires payment with different settings and fields. For example Advisors are displayed on ADVISORS page and they are specific field & settings on profile and CLIENTS are displayed on another page with their’s specific field & settings on profile
Hello
I would like to restrict the visibility of the following tabs to only be visible to the logged in member:
Activity – Favorites
Activity – Friends
Favorites – Groups
Forums – Favorites
To me it doesn’t really make sense that I can see the activity of other members friends, their favorites and the activity of groups that I have not yet joined.
I read here https://codex.buddypress.org/themes/bp-custom-php/ that I can create a bp-custom.php file which I did. Now I only need the code to hide those fields form everyone except the member him/herself.
Thank you very much!
Hi,
Please try to use this plugin https://github.com/wbcomdesigns/bp-modify-member-directory-header
It says that it allows showing profile fields on members directory and profile’s header.
Thanks
Unless you have a database backup from the previous day that you can revert to, then no, it is not recoverable.
It looks like you have a database backup, the DB tables you would want to revert and replace are “wp_bp_xprofile_fields” and “wp_bp_xprofile_groups”. You would have to contact your web host to figure out how to use your backup.
The delete confirmation sounds like a good idea though.
You can try placing this in the functions.php of your Child Theme. Though for buddypress you might want to use bp_get_profile_field_data instead of xprofile_get_field_data.
I’m trying to do something similar, but the fields are not showing up in my email. I have a feeling the email is getting sent before the database is updated, but for the life of me, I can’t get them… Good luck!
Hi,
You can create xprofile fields to save there data and then can search them on the basis of those fields under members directory using this plugin https://wordpress.org/plugins/bp-profile-search/
Thanks
Hi,
If you are able to retrieve those fields then you can easily show them on members’s profile. You just have to override profile template from Buddypress in your child them then just fetch and echo out these values in proper HTML.
Thanks
Is there a way to add filters to the members listing? Out of the box you can search and sort, but my members would benefit from filtering, as well.
I have added additional fields for each member to fill out using the Profile Fields in the Users menu (job title, location, etc). I would like for users to be able to see a list of the fields and be able to filter members by the value(s) of those fields. I realize that those fields are searchable in the standard search box, but I would like UI that would make the filtering more easily accessible.
i.e. – Each member is able to select the county in which they work in their profile. On the member page on the front end, a dropdown (or other UI element) would appear so that the user can select one of the county options. Only members that have selected that county in their profile will appear in the results.
Hi, as seen here at topic Members Masonry, https://buddypress.org/support/topic/members-masonry/, I’m also using this to show extra profile fields. When changing the members-loop.php file to display this it works on the Members page.
Now this doesn’t work when I add a “Members Masonry” Element through WPBakery and display it on my page.
Is there a way to edit this element individually so the loop can work here too?
Thx! 🙂
Nicely done. You do still se an empty area but it’s only a second before redirect. I can live with that.
When people register they se their username as H1 under their “Profil” (Profile), is it possible to change so the H1 automatic picks the Full name instead? I’ve created one named Fulde Navn (Full name) in Users –> Profile Fields.
So this new user:
http://www.legit-check.dk/medlemmer/rasmus94/
Gets “Rasmus Hansen” as H1 and not his username.
Like my user:
http://www.legit-check.dk/medlemmer/legit-check-dk/
(changed it from WP) but it will take long to change every new registred member -.-
When I edit a BuddyPress profile on the front end or WP back end, all the images disappear, and I have to upload all the images again in one edit session and save it to get the images back.
Using BuddyPress profiles with Paid Memberships Pro premium plugin. Created extra profile fields for images (book covers) using plugin “Buddypress XProfile Custom Field Types Reloaded” and for months it’s been working fine, but now images disappear when you edit a profile.
URL: https://novelnetwork.com/
Latest versions of PMPro, AddOns and WP
Running PHP version: 7.0.31
BuddyPress v3.1.0
Would really appreciate some help with this, thanks!
Hi, I am a using a combination of WP Members and Buddypress.
I use Buddypress for the activity registration and the extended profile fields.
As an admin I can see and edit the extended profile field of my members, but they do not have the toolbar. How can I add a ‘my profile page’ where they can see and edit their extended fields and activities?
They can now only see it when they click on their own picture at ‘who’s online’.
Thanks for the help!
Hi,
If you want to go with the contact form plugin then there is no need to select a registration page in BuddyPress amd have to use shortcode on the page and then create a button on header(as you like) and link it to the register page.
Now, if you want to save data in xprofile fields then have to do custom coding for sure.
Thanks
shanebp,
Thanks for the prompt reply.
The fields that I see in wp-admin > users > edit are all xprofile fields and I do not know how to add usermeta fields. I did see several plugins that provide this functionality, but I am wondering if suchs plugin would play nice with BP.
It would be easy enough to directly edit the database in the manner your suggested, but that is not the right way to handle this. Would you please provide a little more guidance?
For our site, we want to designate certain users as being special. That the user is special should appear in their profile, but only the site admin can designate a user as being special.
In an attempt to implement this behavior, I:
- added a field to the profile
- made the field available to all user types
- hid the field if the email field is not empty, i.e., it is hidden for all users
I then looked up the field_id in the table wp_bp_xprofile_fields for the newly created field, then added a row to the table wp_bp_xprofile_data using this field_id for each special user.
And this worked just fine, until…
One of the special users updated their profile. When this happened, my manually entered row in wp_bp_xprofile_data disappeared. I then conformed that updating the profile causes the entry to disappear – it does.
Question: Since my approach is not working, what is the proper way to achieve the desired goal?
Thank you.
Yes, this is how it works.
It will need customization to map WordPress fields to BuddyPress xProfile fields.
You can check this plugin https://profilepress.net/downloads/wordpress-buddypress-extended-profile-sync/ as well.
Thanks
It won’t let me edit the post: I have fields in the WordPress profiles I’d like to be viewable and editable through the buddypress profile page, but the only way I can see is creating new profile fields which I can’t seem to link to the existing WordPress profile fields. Which means I’d have to manually copy date from the profile to the buddypress profile fields.
What am I missing?
I have fields in the WordPress profiles I’d like to be viewable and editable through the buddypress profile page, but the only way I can see to do who’s is creating new profile fields which I can’t seem to link to the existing WordPress profile fields.
What am I missing?
Hello, thank you very much for getting back to me – unfortunately I’m still unable to connect the upload to the action. The site is allowing me to upload an image and it’s registering the upload but then the image just seems to disappear and not update the profile.
Also, the profile fields redirects to /welcome/profile/edit/group/1 which therefore produces a 404 error.
It will be custom work. You can add this code snippet in your child theme’s functions.php to achieve this:
add_filter('bp_core_signup_send_validation_email_message','ps_user_data_to_email',10,2);
function ps_user_data_to_email( $msg, $user_id )
{
$user = get_user_by( 'id', $user_id );
if(!empty($user))
$data1 = xprofile_get_field_data('your_first_field_name',$user->ID);
echo 'Your Profile Field Name'. ' : '.$data1;
$data2 = xprofile_get_field_data('your_second_field_name',$user->ID);
echo 'Your Profile Field Name'. ' : '.$data2;
}
You can do this for all the profile fields by just repeating the code to get data3 data4 like I did for data1 data2 and obviously you have to use your profile fields name in place of ‘your_first_field_name’, ‘your_second_field_name’ and ‘Your Profile Field Name’.
Thanks
Please check this plugin https://wordpress.org/plugins/bp-xprofile-custom-field-types/.
They are already adding profile fields with select2 js support, mentioned in the features as well.
Thanks
Thanks for answering, but there are no tokens for custom xprofile fields?
Hi,
It’s just a style issue. Please paste the following CSS:
.profile .profile-fields td.label {
background: #f5f5f5;
color: #707070;
}
Hopefully, it will fix your problem.
Thanks