Boy, other than coding a special function that checks to see is a user has filled in all required profile fields upon log in, I’m not sure at this point. What does happen in this scenario though is that the next time a user edits their profile data, they will not be able to save any changes unless they fill in the required fields.
You could ask them to update their profile data, but that is always a hit or miss proposition.
Does anyone know of a way to force existing users to complete newly created mandatory profiles fields?
BuddyPress 1.0
Wordpress MU 2.7.1
*replaced db name w/ mydb – and this is the errors that show at the bottom of the page in the admin – if I delete the BP plugin, the messages all go away.
WordPress database error Table ‘mydb.wp_bp_xprofile_data’ doesn’t exist for query SELECT d.value, f.name FROM wp_bp_xprofile_data d, wp_bp_xprofile_fields f WHERE d.field_id = f.id AND d.user_id = 1 AND f.parent_id = 0 AND f.name = ‘Name’ made by require, require_once, require_once, require_once, do_action, call_user_func_array, bp_core_setup_globals, bp_core_global_user_fullname, bp_fetch_user_fullname, xprofile_get_field_data, BP_XProfile_ProfileData->get_value_byfieldname WordPress database error Table ‘mydb.wp_bp_xprofile_fields’ doesn’t exist for query SELECT id FROM wp_bp_xprofile_fields WHERE name = ‘Name’ made by require, require_once, require_once, require_once, do_action, call_user_func_array, bp_core_setup_globals, bp_core_global_user_fullname, bp_fetch_user_fullname, xprofile_set_field_data, xprofile_get_field_id_from_name, BP_XProfile_Field->get_id_from_name WordPress database error Table ‘mydb.wp_bp_notifications’ doesn’t exist for query SELECT * FROM wp_bp_notifications WHERE user_id = 1 AND is_new = 1 made by require, require_once, include, get_footer, locate_template, load_template, require_once, wp_footer, do_action, call_user_func_array, bp_core_admin_bar, do_action, call_user_func_array, bp_adminbar_notifications_menu, bp_core_get_notifications_for_user, BP_Core_Notification->get_all_for_user
2939423Inactive
Is it possible to create custome fields for user profile value of which can be edited only by admin and not the users.
2683049Inactive
In English it is in the BuddyPress Plugin – xProfile.
Click on:
BuddyPress > Profile Field Setup
The instructions read:
“Your users will distinguish themselves through their profile page. You must give them profile fields that allow them to describe themselves in a way that is relevant to the theme of your social network.
NOTE: Any fields in the first group will appear on the signup page.”
And it works very well!
2903192Inactive
You can add new profile fields in the bp menue in your WPMU admin area.
Open there the Buddypress menue and click “Profilefelder” (I guess you are German) 
A http://-entry will be displayed automatically as a Link.
hey everybody!
first of all: sorry for my bad english.
is there any chance to extend the buddypress profiles? it would be nice if i could modify the profile fields und add fields like icq, skype and things like that? or an profile field for members website address that automaticly links to the url?
thanks everbody
2903192Inactive
Hi!
I guess the following problem arises due to my laps in PHP knowledge.
I’m trying to extend the regular validation of registration data by an own function (WPMU2.7,BP1.0).
However already my skeleton, albeit empty,
function myown_xprofile_validate_signup_fields() {}
add_filter( ‘wpmu_validate_user_signup’, ‘myown_xprofile_validate_signup_fields’, 9, 1 );
causes these errors:
Warning: extract() [function.extract]: First argument should be an array in /var/www/web2/html/wordpressmu/wp-content/plugins/buddypress/bp-core/bp-core-signup.php on line 263
Fatal error: Call to a member function get_error_code() on a non-object in /var/www/web2/html/wordpressmu/wp-content/plugins/buddypress/bp-core/bp-core-signup.php on line 265
Please excuse me if this is laughable, but I’m grateful 4 any help.
The default member theme sucks, and I haven’t seen anyone significantly modify it. I plan to do so at some point, but I don’t understand why they didn’t just model it from their own awesome member theme. Even the skeleton member theme is more or less the same as the default. You would have to make significant modifications to the skeleton theme itself for it to be anything like the buddypress.org member theme.
Specific issues:
Profile fields are way too spaced out.
The navigation design isn’t really necessary.
The wire should be on top, and profile fields in a small table below. Everything else is mostly unnecessary.
Make sure you tag your plugin with ‘buddypress’ so it automatically shows up in the bp plugin area.
btw, using this method, I think it’s possible to let users define which xprofile entry is visible only to logged in members, and not to non members. This privacy thing will be added in the core, but I just thought this plugin is a good example of that.
Hi everyone. I just wrote a small plugin to allow users to customize which words/phrases get linked in the fields of their BP profiles (overriding BP’s automatic take-whatever-is-between-commas algorithm). For now, it’s hosted on the dev blog for the CUNY Academic Commons (the project I wrote the plugin for), until I get it approved for the main WP plugin database.
http://dev.commons.gc.cuny.edu/2009/05/16/new-plugin-custom-profile-filters-for-buddypress/
Enjoy!
I’m still seeing this issue as well as it occurring in profile form fields.
2881918Inactive
Hey, I got a client that wants to auto-fill some fields in the sign-up page with info gathered from a LinkedIn’s profile. All good, except the part when he said ‘No hardcoding’ which is logical.
In the file:
wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php
switch ( $this->type ) {
case 'textbox':
$html .= '<div class="signup-field">';
$html .= '<label class="signup-label" for="field_' . $this->id . '">' . $asterisk . $this->name . ':</label>';
$html .= $this->message . '<input type="text" name="field_' . $this->id . '" id="field_' . $this->id . '" value="' . attribute_escape( $this->data->value ) . '" />';
$html .= '<span class="signup-description">' . $this->desc . '</span>';
$html .= '</div>';
break;
Specifically:
$html .= $this->message . '<input type="text" name="field_' . $this->id . '" id="field_' . $this->id . '" value="' . attribute_escape( $this->data->value ) . '" />';
Where you set the predefied value of the field. I just need to alter $this->data->value somewhere before that.
How could I achieve this with a plug-in, if possible?
From your admin dashboard
– Select BuddyPress from the left sidebar
– Click Profile Field Setup
– Setup your profile fields
Users will then be prompted to fill in this info when they signup
Okay, so I would edit feild_name and user_id or just feild_name? and how would I get the users full name or just first name? Would I use something like:
<?php echo xprofile_get_field_data( $full_name, $user_id ); ?>
and for the first name:
<?php echo xprofile_get_field_data( $full_name-first, $user_id ); ?>
or what. Would I have to create 2 separate fields for first name and anither for their last and use something like:
<?php echo xprofile_get_field_data( $first_name, $user_id ); ?>
or what?
Thanks.
Please search forum before asking questions; it’s in the FAQ sticky – https://buddypress.org/forums/topic.php?id=2190
“How to hide selected profile fields”
As I could see in the Sql Database (tabel: Wp_Xp_ptofile_fields), is there a key named public.
What is this Key for? I assumed, that it is for the profile field and if it gets shown in the Public Profile view, but it seems not to be like that.
Is there any way, to make some fields only visible for the profile owner and the admin?
ha,
apparently bp-xprofile.php wasn’t uploaded. Just like bp-wire.php isn’t uploaded.
I now see the edit profile and update avatar. Where can i add some more profile fields??? like city, country
regards,
I’ve been testing bp at local, trying to allow more html tags in xprofile fields.
So far in bp-custom.php I’ve added the followings, but it seems nothing happens.
remove_filter( ‘xprofile_get_field_data’, ‘wp_filter_kses’, 1 );
What else is preventing html within xprofile fields?
I’m creating a business directory and I’m trying to add members manually from the admin panel, but the fields for the extended profiles that are available to a new user via the registration panel aren’t visible on the admin side. Is there a way to have access to that information from the admin panel, or is it only available to the user upon registration?
So … if I enable the extended profiles and create the fields I want, will they then show in the A-Z area of the site? I think you can see what I’m trying to do … I’m trying to create a directory of businesses using the members area of the site … eventually we want folks to sign up on their own and enter the information for the listing themselves …
Kitwit, I think you’re a little confused… It’s working exactly like it should.
The directory pages are the pages that show the A-Z options on the top. The profiles are just profiles. They reside in members/username, but viewing a profile isn’t the same as viewing a directory of many users.
When you turn on Extended Profiles, it will totally ignore any of the admin area WordPress profile fields, and wait for you to create your own profile groups and fields. Extended Profile information can then be edited through BuddyPress on the front end of your profile area, exactly like you can do here.
When you turn off Extended Profiles, BuddyPress will fall back on the WordPressMU user information found in the admin area (if you have the BuddyPress setting turned on for it to do so.)