Search Results for 'profile fields'
-
Search Results
-
Hi, things are going great on my desktop, where the WordPress profile loads on the left and the Buddypress loads on the right for the register form. But it is a mess on mobile with short fields and overlapping headings. How can I get the Buddypress section to drop below the WordPress one when viewed on mobile, so it can utiise the full width.
so i want to edit the main profile page but cant seem to figure out which file to edit i want to do drop down list of the sub nav and hide them in the object nav fields any suggestions which file i should edit???
Has anyone had success with implementing the xprofile custom field image field type?
Trying to use it to display an image on profile but only a field number displays. No response from plugin developer so I am just wondering if this field is actually functional. Thanks ahead for any responses.
Hello,
It’s be great if someone can suggest me how to get custom text before outputting the xprofile field contents. For eg., I’d want to output like “Lives in ($Loction)”, “Studied at ($school)” etc.. How do I output those custom text as “Lives in” “studied at” before the actual content output of fields. The reason being I’m using this on the sidebar widget.. Though I tried with something like:
<?php echo ‘Lives in’, xprofile_get_field_data( ‘Location’, bp_displayed_user_id(), $multi_format = ‘comma’ ) ?>
It outputs the “Lives in” custom text irrespective of whether the field is empty or filled.. I want to show both custom text and field content only when the field is filled..
Thank you.
Topic: Register LABEL
Hi BP,
This is very strange? The register page where people input their profile fields information.
All these LABELS such as username, gender, city, country are find.
However, the Birthday drop-down selection day/month/year is fine…. But the BIRTHDAY(AGE) Label doesn’t show(gone,invisible)?
Can I get help how to bring the BIRTHDAY label to show?
Please advise, thanks
Hi there,
I’m using buddypress as a recruiting platform where people have a form with xprofile fields to complete a complex CV. I want all the data (even members list) to be private, I just want the user to be able to see his own data and delete or modify it.
Only admin should be able to see the member list in order to select profiles when necessary.
To do so, I have set almost all fields to “Only me” and limited access to public areas in the following way:/* Prevent logged out users from accessing bp activity page and other profiles*/ add_filter('get_header','nonreg_visitor_redirect',1); function nonreg_visitor_redirect() { global $bp; // The user ID of the currently logged in user $current_user_id = (int) trim($bp->loggedin_user->id); // The author that we are currently viewing $author_id = (int) trim($bp->displayed_user->id); if ( !current_user_can( 'manage_options' ) ) { if( bp_is_activity_component() || bp_is_groups_component() || bp_is_group_forum() || bp_is_page( BP_MEMBERS_SLUG ) || ($current_user_id !== $author_id && $author_id != 0)) { wp_redirect( get_option('siteurl') ); } } }For me it works fine, but I’m new at Buddypress, and I wonder if I’m missing something.
Is there any backdoor that I have forgot?
Should I limit something else?
To preserve this info is crucial for me.Hello there,
I know that this issue has been posted somewhere before but as far as I saw this issue has not been resolved yet
in fact I am surprised that buddypress does not include such important feature !
I want conditional fields on my registration page based on a choice the visitor makes
for example
Your job: dropdown box contains {engineer, translator}
if the visitor selects engineer another dropdown will appear with the following options {computer, civil} else the child dropdown will have {En to Fr, En to Chinese}I am trying to add extra fields into my registration form using the following code into the functions.php file in my child theme (One Social). The code should capture the data for woo commerce to use at the checkout.
//Adding Registration fields to the form
add_action( ‘register_form’, ‘adding_custom_registration_fields’ );
function adding_custom_registration_fields( ) {//lets make the field required so that i can show you how to validate it later;
$firstname = empty( $_POST[‘firstname’] ) ? ” : $_POST[‘firstname’];
$lastname = empty( $_POST[‘lastname’] ) ? ” : $_POST[‘lastname’];
?>
<div class=”form-row form-row-wide”>
<label for=”reg_firstname”><?php _e( ‘First Name’, ‘woocommerce’ ) ?><span class=”required”>*</span></label>
<input type=”text” class=”input-text” name=”firstname” id=”reg_firstname” size=”30″ value=”<?php echo esc_attr( $firstname ) ?>” />
</div>
<div class=”form-row form-row-wide”>
<label for=”reg_lastname”><?php _e( ‘Last Name’, ‘woocommerce’ ) ?><span class=”required”>*</span></label>
<input type=”text” class=”input-text” name=”lastname” id=”reg_lastname” size=”30″ value=”<?php echo esc_attr( $lastname ) ?>” />
</div><?php
}//Validation registration form after submission using the filter registration_errors
add_filter( ‘woocommerce_registration_errors’, ‘registration_errors_validation’ );/**
* @param WP_Error $reg_errors
*
* @return WP_Error
*/
function registration_errors_validation( $reg_errors ) {if ( empty( $_POST[‘firstname’] ) || empty( $_POST[‘lastname’] ) ) {
$reg_errors->add( ’empty required fields’, __( ‘Please fill in the required fields.’, ‘woocommerce’ ) );
}return $reg_errors;
}//Updating use meta after registration successful registration
add_action(‘woocommerce_created_customer’,’adding_extra_reg_fields’);function adding_extra_reg_fields($user_id) {
extract($_POST);
update_user_meta($user_id, ‘first_name’, $firstname);
update_user_meta($user_id, ‘last_name’, $lastname);
update_user_meta($user_id, ‘billing_first_name’, $firstname);
update_user_meta($user_id, ‘shipping_first_name’, $firstname);
update_user_meta($user_id, ‘billing_last_name’, $lastname);
update_user_meta($user_id, ‘shipping_last_name’, $lastname);
}The code works fine until Buddypress is activated. The it just reverts to the usual wordpress log in with only the profile fields that are shown in the “Profile Fields” tab on the wordpress dashboard.
I feel like I must be missing something obvious but it is driving me crazy! Any help would be enormously appreciated. Thanks!
Hi,
I am running WordPress 4.5.3 and just upgraded from Buddypress 2.6.1.1 to 2.6.2 and that is when my problem started to show up. I was able to update my Extended profile fields with no problems but when i try to do that now i get this error “There was a problem updating some of your profile information. Please try again.” The change take effect but i get the message above. Also i created about 11 profile groups but when i checked extended profile for my users from the admin panel i found all the created profile groups plus one more group with no content to it called “Social” which i didn’t create and i can’t even find it under Profile fields tab.
Any ideas?!
Thanks in advance.
Topic: Change colors of fields

I tried many css codes mentioned in this support forum, but I don’t have what I need. I want to change the colors of the white fieds. Also add a border for the different fields. And finally modify the color of the text.
I also tried modifications in the CSS custom in APPEARANCE, but nothing works well. I hope you can help me with this problem. Thanks
Norman
Wordpress: Version 4.5.3
BuddyPress: Version 2.6.2
Theme: Ombre Version: 1.3Please excuse me if this is a stupid question, as I am fairly new to WordPress and brand new to BuddyPress, so I’m just trying to figure things out.
I am using WP 4.5.3 and BuddyPress 2.6.1.1. I’m using social magazine theme 1.9.1 and a number of plugins that I could list if you think it would be helpful. My site is Storymakers Network
I am basically wanting to give my users TinyMCE functionality when posting activity. I have scoured the plugins and forums and the only things I have found on the subject are BuddyPress Forum Editor (which hasn’t been updated in over a year and doesn’t work) and forum posts trying to turn rich text editing OFF in multi-line text fields in the profile. Everything seems to be old, as though this is a function now regularly available I have just missed it.
If it involves inserting code, could you be very specific in how to apply it? I’m technically savvy but unfamiliar with the process.
I deleted a profile field called “Former Last Name” on the Users->Profile Fields section however the “Members” page is still showing the column.
I assume the field is probably still in the database somewhere? I’m okay with manually going in to delete a field, however I can’t seem to find it. I checked the table “wp_bp_xprofile_fields” however the fields weren’t listed there either.