So I had a few custom profile fields (set in buddypress), and whenever I tried to test out updating the info in those fields, I’d get the error in big red at the top:
“There was a problem updating some of your profile information, please try again.”
Tried:
– removing ‘required’ on all fields (except First Name)
– removing ALL fields except First Name
Same result. No matter what, it triggers the $errors flag in “bp-xprofile-screens.php” here (around line 101):
if ( !xprofile_set_field_data( $field_id, $bp->displayed_user->id, $value, $is_required[$field_id] ) )
The weird thing is, that even though the error flag is being triggered, the information I enter on the profile screen is still saved.
Any ideas?
I’m using BP 1.5.1 and Buddypress Template Pack 1.2
Hello, I am kind of at a loss as to why the WordPress user fields do not show up under the buddypress user profile and vice versa. What do I do to link the two? Sorry if this is not very specific.
Nobody may help me ? I absolutely need to call some php functions if user has not uploaded avatar or filled out some profile fields, need your help
In the admin under buddy press menu you will find “profile fields”. Click that to set profile field options.
i have the same issue. i have also in the wp admin menu only settings, profile fields, components and pages! i use wp 3,2,1 and buddypress 1,5,1 with sitewide forum. forum is simple press. bbpress didnt worked out. so i deactivated it. in the user bar i cant find the genaral groups page. as user or as admin. i have to put site.com/groups manually to see the groups listing page and create link! activitypage also. i mean the genaral pages. there are menus for member releated groups and activity. but genaral member list link is also missing: site.com/members. whats wrong?
Hello,
Is someone may help me to do conditional statement like this:
If member has not uploaded an avatar { call some php }
Else { … }
And the same process for some profile fields :
If member has not filled out personnality field { … } else { … }
thanks.
Thx @DJPaul
Now I can’t se the second group in my profile when I logged in. How do I get that to work?
And also, when the user logs in for the first time I would like the second profile page to be the default landing page. Is this possible?
I see now that if I go in the admin page of site in the FIELDS PROFILE I have the same problem! I have (normal) no name but I have male, 10-10-1996 etc… and I can’ t set any other default value for these fields.
Anyone resolve ?
I’m using Buddypress and WordPress. 3 Profile Tabs should be showing under the user profile, Base (primary), Location and Gaming Profile. Unfortunately when you visit http://beta.saw-clan.net/members/saw_admin/profile/ only the Base (primary) group is showing. You can’t even edit it in Profile Edit Mode. Any ideas?
Easiest way without changing your theme templates would be to put all your register fields into profile group 1, and all your other fields into another group. By default, only profile field group 1 appear on the registration page.
If, however, your theme isn’t BP-Default (or a child theme of), I’ve got no idea.
This will be very useful for membership sites…
Sounds like good enhancement/plugin
Hi,
Is it possible to separate register and profile fields?
I would like to have the fields “username”, “email” and “password” on my landingpage and then when you have created an account yo automatically goes to the profile page where you can fill in all the profile fields I’ve added. This to make it easier to become a member.
@pcwriter: thanks for your help, still having some trouble displaying. I think the trouble is lying within the
on the edit.php where all of these fields are displaying. I added a border to the wrapper just to see what was happening. It looks like the loop is actually looping the profile-wrap, even though I only have it for first name, middle name, last name. I tried removing the while loop all together, and then no fields are visible. Any ideas on what I can do here?
`#profile-wrap{
width:100%;
border:1px solid #dbdbdb;
}
#profile-wrap #edit-profile-right-column-firstname, #profile-wrap #edit-profile-right-column-middlename, #profile-wrap #edit-profile-right-column-lastname{
display:inline-block;
width:50%;
margin-right:2%;
}`
In my html, I’m referencing as shown below , but BP is just defaulting to the standard profile page formatting putting those 3 fields one below each other instead of on the same line. You can login again and see what I mean (un: jahmakan5 , pw:test)
`
<label for="”>
<input type="text" name="” id=”” value=”” />
<label for="”>
<input type="text" name="” id=”” value=”” />
<label for="”>
<input type="text" name="” id=”” value=”” />
`
Thanks kwerri,
I did what you said and here’s what happened with BP Default theme activated:
WordPress database error: [Table ‘BikramGlobal.wp_bp_xprofile_fields’ doesn’t exist]
SELECT id FROM wp_bp_xprofile_fields WHERE name = ‘Name’
etc…
Hello,
As the title says. I am using xprofile to have different group types for my users. I attached the different groups to the different user types, but when I go to the profile page, they are not showing up.
As an admin, I cannot edit them either in the front end of the user profile page. It was like the plugin was disabled. However, I am 100% sure it is enabled.
What Do I need to display them?? Any special code or something?
I am using WP 3.2.1 and BP 1.5.1
Help is really appreciated!!!!
Hi, I don’t know if this has been discussed already, but I have exhausted google search and turned up nothing. Basically, the ‘edit profile’ link in my user profiles leads to a 404 ‘page not found’ error. Considering I installed buddypress for it’s profile integration, this is kind of important!
Is it a simple redirect issue that I am completely overlooking? I also don’t see any of the custom profile fields that I’ve added showing up. What gives?!?
If anyone has any clue how I can approach fixing this, I would really appreciate it!
Thanks
okay reverted back to the default and still the same issue
If I sign in as Admin and view a non-friend profile that has checked the privacy settings I get the message ‘you must be friends with this user to view their profile’ all is good, but..
If I sign in as a member and go to a friends profile – again that has their privacy settings checked I cannot see any of their profile fields – plus there is nothing on display in terms of the above notice – you must be friends blah blah
I got rid of ALL walled-garden edits and still the issue persists dude
The trouble is in total I’m running 10 plugins
I’ve stripped my plugins down to the bone and even sacrificed a couple that I ‘want’ more than ‘need’ if you know what I mean, so can’t afford to lose anymore or major functions on the site will be sorely missed.
Is it at all possible that this issue with the privacy plugin is ringing any other ‘alarm bells’ apart from plugin conflict..?
Just read you don’t want to edit home.php. There isn’t a filter for privacy like there is with messages for showing profile sections. Messages and xprofile fields has logic for output and can be filtered but the actual page needs a code edit.
In the admin under BuddyPress menu there is a section “profiles” you can add more fields for users to fill out at sign up . These are not hidden, you will have to come up with your own solution. Hiding fieldsis on the development road map. There is also BuddyPress profile privacy plugin.
Hi, i’m struggling with private and public data. I want to collect personal data-fields at the first site-register(real name, adress, …). Now if do this, all this info becomes public in the member profiles, so nobody won’t do this.
Is there some plug which allows me to filter registerfields?
And how can i save this info? All i see is a username+emailaccount in my WP-backend-usersection.
How can i solve this?
grtz
login username is just jahmakan5 password:test
I’ll replace the html comments, but thats not affecting the white space. Its the hidden fields for sure.
Nobody else have try to do this ?
hello,
I try to do the same thing. I want to display a specific picture following the gender of the members.
I use add_filter and the picture of the profil is the good one but all others pictures from sidebar, for example, are the same…
Have you finally find a solution for this issue ?
Thanks in advance,
My test code :
function bp_remove_gravatar ($image, $params, $item_id, $avatar_dir, $css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir) {
$default = get_stylesheet_directory_uri() .’/images/bp_default_avatar.gif’;
if( $image && strpos( $image, “gravatar.com” ) ){
if ( bp_get_profile_field_data( ‘field=Gender’ ) == ‘Female’ ) {
$default = get_stylesheet_directory_uri() .’/images/def_f_avatar.gif’;
return ‘‘;
}
if ( bp_get_profile_field_data( ‘field=Gender’ ) == ‘Male’ ) {
$default = get_stylesheet_directory_uri() .’/images/def_m_avatar.gif’;
return ‘‘;
}
else {
return $image;
}
} else {
return $image;
}
}
add_filter(‘bp_core_fetch_avatar’, ‘bp_remove_gravatar’, 1, 9 );
Thank you for your answer Xevo.
Ok but if I do that, I’ll need to do in all area where there is profile picture… even in widget on sidebar… in member list, etc… It is very long, no?
It is not possible to modify the bp_member_avatar function to include this test?
It’s works like this when a member upload it’s own picture, it is automatically display as avatar but I don’t know how it works.
Thanks