Search Results for 'profile fields'
-
Search Results
-
Hi guys,
I would like to ask how to enlarge the text which appears on all of the buttons in profile fields and in the registration form. /especially the description underneath of each field (this one is absolutely tiny)Since originally it is quite small and anyone having difficulties with the vision will struggle.
Please advise. Thankswp v4.6.1
bp v2.7.0
Theme: Twenty Sixteen
Cant provide link, it is on my local.
I am web developer.Hello, I would like to ask you about xprofile fields for users.
I have add 2 profile fields groups, with fields.
Right now I am wondering if it is possible to hide them from:
Single profile page. From show tab and from EDIT tab.
From dashboard profile edit page.
From custom profile fields.
From tabs every where.I have tried to use this code:
function bpfr_hide_profile_field_group( $retval ) {
$retval[‘exclude_groups’] = ‘0,1,2’;
return $retval;
}
It hide fields only from show on single profile page but not from edit.
Thank you very much.
Very appreciate your help.Looks like the update introduced some bugs with Extended Profile fields, visibility defaults, and registration page that were previously working. Either that, or something did not update correctly.
I was just showing my neighbor the new site for our community, and the registration page was working fine. Then, I was showing her plugins when I noticed there was an update available for Buddypress (I just installed it a few days ago). So, I hit update. New version says 2.7.0. BUT, we go back to registration page so she can try it out… several problems now exist.
1) yellow buttons to “Change” field visibility are all gone on registration page. Default value allows users to make changes to the visibility. Visitors cannot change visibility on registration page anymore after update.
2) Date field got reset somehow with only 2016 and no other years. I was able to reset it by picking year range, but it should not get reset when updating plugin.
3) Extended profile fields do not respect master default value. For instance, I have “Only Me” set by default for many fields, but once a new user registers these profile fields are publicly viewable by everyone. User is able to go in and change them, but they should respect the default setting as before.
Website: cathollowcondos.com
Topic: viewing registration page
I’m new to buddypress. I went through every step setting up buddypress made sure the allow register box was checked, made my pages, went to user -? profile fields. i click on view beside register in bp settings and it displays my homepage. if i type in the url does same thing. how do i get it to show?
I’m creating with Extended Profile Fields a multiple field select box (checkbox or radiobuttons). But seems that the text input is limited to 150 characters for each offered selection phrase. Is there a way to lift or extend this limitation via a snippet in bp-custom.php?
Thanks for the help.
Hello.
I created two customs register-form.php that show different field groups. I want to change to user role to s2member_level1 after the activation if they used the second register-form. I have tried some other example on this site with no luck.here is the php of the register-form :
<form action=”<?php echo bp_get_signup_page();?>” name=”signup_form” id=”signup_form” class=”standard-form” method=”post” enctype=”multipart/form-data”><?php if ( ‘registration-disabled’ == bp_get_current_signup_step() ) : ?>
<?php do_action( ‘template_notices’ ); ?>
<?php do_action( ‘bp_before_registration_disabled’ ); ?><p><?php _e( ‘User registration is currently not allowed.’, ‘buddypress’ ); ?></p>
<?php do_action( ‘bp_after_registration_disabled’ ); ?>
<?php endif; // registration-disabled signup step ?><?php if ( ‘request-details’ == bp_get_current_signup_step() ) : ?>
<?php do_action( ‘template_notices’ ); ?>
<p><?php _e( ‘Registering for this site is easy. Just fill in the fields below, and we\’ll get a new account set up for you in no time.’, ‘buddypress’ ); ?></p>
<?php do_action( ‘bp_before_account_details_fields’ ); ?>
<div class=”register-section” id=”basic-details-section”>
<?php /***** Basic Account Details ******/ ?>
<h4><?php _e( ‘Account Details’, ‘buddypress’ ); ?></h4>
<div class=”newline”><label for=”signup_username”><?php _e( ‘Username’, ‘buddypress’ ); ?></label>
<?php do_action( ‘bp_signup_username_errors’ ); ?>
<input type=”text” name=”signup_username” id=”signup_username” value=”<?php bp_signup_username_value(); ?>” <?php bp_form_field_attributes( ‘username’ ); ?>/>
</div><div class=”newline”><label for=”signup_email”><?php _e( “Adresse courriel (votre nom d’usager) :”, ‘buddypress’ ); ?></label>
<?php do_action( ‘bp_signup_email_errors’ ); ?>
<input type=”email” name=”signup_email” id=”signup_email” value=”<?php bp_signup_email_value(); ?>” <?php bp_form_field_attributes( ’email’ ); ?>/>
</div><div class=”newline”><label for=”signup_password”><?php _e( ‘Créez un mot de passe (6 à 8 caractères) :’, ‘buddypress’ ); ?></label>
<?php do_action( ‘bp_signup_password_errors’ ); ?>
<input type=”password” name=”signup_password” id=”signup_password” value=”” class=”password-entry” <?php bp_form_field_attributes( ‘password’ ); ?>/>
<div id=”pass-strength-result”></div>
</div><div class=”newline”><label for=”signup_password_confirm”><?php _e( ‘Confirmation du mot de passe :’, ‘buddypress’ ); ?></label>
<?php do_action( ‘bp_signup_password_confirm_errors’ ); ?>
<input type=”password” name=”signup_password_confirm” id=”signup_password_confirm” value=”” class=”password-entry-confirm” <?php bp_form_field_attributes( ‘password’ ); ?>/>
</div><input type=”hidden” name=”user_type” id=”user_type” value=”your_role” />
<?php do_action( ‘bp_account_details_fields’ ); ?>
</div><!– #basic-details-section –>
<?php do_action( ‘bp_after_account_details_fields’ ); ?>
<?php /***** Extra Profile Details ******/ ?>
<?php if ( bp_is_active( ‘xprofile’ ) ) : ?>
<?php do_action( ‘bp_before_signup_profile_fields’ ); ?>
<div class=”register-section” id=”permanent-details-section”>
<?php /* Use the profile field loop to render input fields for the ‘base’ profile field group */ ?>
<?php if ( function_exists( ‘bp_has_profile’ ) ) : if ( bp_has_profile( ‘profile_group_id=1’ ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?><?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
<?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
<label for=”<?php bp_the_profile_field_input_name() ?>”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”></span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<input type=”text” name=”<?php bp_the_profile_field_input_name() ?>” id=”<?php bp_the_profile_field_input_name() ?>” value=”<?php bp_the_profile_field_edit_value() ?>” />
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘textarea’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
<label for=”<?php bp_the_profile_field_input_name() ?>”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<textarea rows=”5″ cols=”40″ name=”<?php bp_the_profile_field_input_name() ?>” id=”<?php bp_the_profile_field_input_name() ?>”><?php bp_the_profile_field_edit_value() ?></textarea>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘selectbox’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
<label for=”<?php bp_the_profile_field_input_name() ?>”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<select name=”<?php bp_the_profile_field_input_name() ?>” id=”<?php bp_the_profile_field_input_name() ?>”>
<?php bp_the_profile_field_options() ?>
</select>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘multiselectbox’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-table”><div class=”editfield”>
<label for=”<?php bp_the_profile_field_input_name() ?>”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<select name=”<?php bp_the_profile_field_input_name() ?>” id=”<?php bp_the_profile_field_input_name() ?>” multiple=”multiple”>
<?php bp_the_profile_field_options() ?>
</select>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘radio’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-line”><div class=”editfield”>
<div class=”radio”>
<span id=”styled<?php bp_the_profile_field_input_name() ?>”><span class=”label”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></span></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<?php bp_the_profile_field_options() ?>
<?php if ( !bp_get_the_profile_field_is_required() ) : ?>
<span class=”clear-link”>‘ );”><?php _e( ‘Clear’, ‘buddypress’ ) ?></span>
<?php endif; ?>
</div>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘checkbox’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-line”><div class=”editfield”>
<div class=”checkbox”>
<span id=”styled<?php bp_the_profile_field_input_name() ?>”><span class=”label”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></span></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<?php bp_the_profile_field_options() ?>
</div>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘datebox’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
<!–<div class=”datebox”>–>
<label for=”<?php bp_the_profile_field_input_name() ?>_day”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<select name=”<?php bp_the_profile_field_input_name() ?>_day” id=”<?php bp_the_profile_field_input_name() ?>_day”>
<?php bp_the_profile_field_options( ‘type=day’ ) ?>
</select>
<select name=”<?php bp_the_profile_field_input_name() ?>_month” id=”<?php bp_the_profile_field_input_name() ?>_month”>
<?php bp_the_profile_field_options( ‘type=month’ ) ?>
</select>
<select name=”<?php bp_the_profile_field_input_name() ?>_year” id=”<?php bp_the_profile_field_input_name() ?>_year”>
<?php bp_the_profile_field_options( ‘type=year’ ) ?>
</select>
<!–</div>–>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php endwhile; ?><?php $fields_ids[]= bp_get_the_profile_group_field_ids();?>
<?php endwhile; endif; endif; ?>
<input type=”hidden” name=”signup_profile_field_ids” id=”signup_profile_field_ids” value=”<?php echo implode(“,”,$fields_ids);?>” />
<input type=”hidden” name=”user_type” id=”user_type” value=”your_role” />
</div><div class=”register-section” id=”candidats-details-section”>
<?php /* Use the profile field loop to render input fields for the ‘base’ profile field group */ ?>
<?php if ( function_exists( ‘bp_has_profile’ ) ) : if ( bp_has_profile( ‘profile_group_id=2’ ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?><?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
<?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
<label for=”<?php bp_the_profile_field_input_name() ?>”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”></span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<input type=”text” name=”<?php bp_the_profile_field_input_name() ?>” id=”<?php bp_the_profile_field_input_name() ?>” value=”<?php bp_the_profile_field_edit_value() ?>” />
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘textarea’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
<label for=”<?php bp_the_profile_field_input_name() ?>”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<textarea rows=”5″ cols=”40″ name=”<?php bp_the_profile_field_input_name() ?>” id=”<?php bp_the_profile_field_input_name() ?>”><?php bp_the_profile_field_edit_value() ?></textarea>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘selectbox’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
<label for=”<?php bp_the_profile_field_input_name() ?>”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<select name=”<?php bp_the_profile_field_input_name() ?>” id=”<?php bp_the_profile_field_input_name() ?>”>
<?php bp_the_profile_field_options() ?>
</select>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘multiselectbox’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-table”><div class=”editfield”>
<label for=”<?php bp_the_profile_field_input_name() ?>”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<select name=”<?php bp_the_profile_field_input_name() ?>” id=”<?php bp_the_profile_field_input_name() ?>” multiple=”multiple”>
<?php bp_the_profile_field_options() ?>
</select>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘radio’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-line”><div class=”editfield”>
<div class=”radio”>
<span id=”styled<?php bp_the_profile_field_input_name() ?>”><span class=”label”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></span></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<?php bp_the_profile_field_options() ?>
<?php if ( !bp_get_the_profile_field_is_required() ) : ?>
<span class=”clear-link”>‘ );”><?php _e( ‘Clear’, ‘buddypress’ ) ?></span>
<?php endif; ?>
</div>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘checkbox’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-line”><div class=”editfield”>
<div class=”checkbox”>
<span id=”styled<?php bp_the_profile_field_input_name() ?>”><span class=”label”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></span></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<?php bp_the_profile_field_options() ?>
</div>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php if ( ‘datebox’ == bp_get_the_profile_field_type() ) : ?>
<div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
<!–<div class=”datebox”>–>
<label for=”<?php bp_the_profile_field_input_name() ?>_day”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
<?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
<select name=”<?php bp_the_profile_field_input_name() ?>_day” id=”<?php bp_the_profile_field_input_name() ?>_day”>
<?php bp_the_profile_field_options( ‘type=day’ ) ?>
</select>
<select name=”<?php bp_the_profile_field_input_name() ?>_month” id=”<?php bp_the_profile_field_input_name() ?>_month”>
<?php bp_the_profile_field_options( ‘type=month’ ) ?>
</select>
<select name=”<?php bp_the_profile_field_input_name() ?>_year” id=”<?php bp_the_profile_field_input_name() ?>_year”>
<?php bp_the_profile_field_options( ‘type=year’ ) ?>
</select>
<!–</div>–>
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
<div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
</div></div>
<?php endif; ?>
<?php endwhile; ?><?php $fields_ids[]= bp_get_the_profile_group_field_ids();?>
<?php endwhile; endif; endif; ?>
<input type=”hidden” name=”signup_profile_field_ids” id=”signup_profile_field_ids” value=”<?php echo implode(“,”,$fields_ids);?>” />
</div><?php do_action( ‘bp_after_signup_profile_fields’ ); ?>
<?php endif; ?>
<?php if ( bp_get_blog_signup_allowed() ) : ?>
<?php do_action( ‘bp_before_blog_details_fields’ ); ?>
<?php /***** Blog Creation Details ******/ ?>
<div class=”register-section” id=”blog-details-section”>
<h4><?php _e( ‘Blog Details’, ‘buddypress’ ); ?></h4>
<p><input type=”checkbox” name=”signup_with_blog” id=”signup_with_blog” value=”1″<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked=”checked”<?php endif; ?> /> <?php _e( ‘Yes, I\’d like to create a new site’, ‘buddypress’ ); ?></p>
<div id=”blog-details”<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class=”show”<?php endif; ?>>
<label for=”signup_blog_url”><?php _e( ‘Blog URL’, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
<?php do_action( ‘bp_signup_blog_url_errors’ ); ?><?php if ( is_subdomain_install() ) : ?>
http:// <input type=”text” name=”signup_blog_url” id=”signup_blog_url” value=”<?php bp_signup_blog_url_value(); ?>” /> .<?php bp_signup_subdomain_base(); ?>
<?php else : ?>
<?php echo home_url( ‘/’ ); ?> <input type=”text” name=”signup_blog_url” id=”signup_blog_url” value=”<?php bp_signup_blog_url_value(); ?>” />
<?php endif; ?><label for=”signup_blog_title”><?php _e( ‘Site Title’, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
<?php do_action( ‘bp_signup_blog_title_errors’ ); ?>
<input type=”text” name=”signup_blog_title” id=”signup_blog_title” value=”<?php bp_signup_blog_title_value(); ?>” /><span class=”label”><?php _e( ‘I would like my site to appear in search engines, and in public listings around this network.’, ‘buddypress’ ); ?></span>
<?php do_action( ‘bp_signup_blog_privacy_errors’ ); ?><label><input type=”radio” name=”signup_blog_privacy” id=”signup_blog_privacy_public” value=”public”<?php if ( ‘public’ == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked=”checked”<?php endif; ?> /> <?php _e( ‘Yes’, ‘buddypress’ ); ?></label>
<label><input type=”radio” name=”signup_blog_privacy” id=”signup_blog_privacy_private” value=”private”<?php if ( ‘private’ == bp_get_signup_blog_privacy_value() ) : ?> checked=”checked”<?php endif; ?> /> <?php _e( ‘No’, ‘buddypress’ ); ?></label><?php do_action( ‘bp_blog_details_fields’ ); ?>
</div>
</div><!– #blog-details-section –>
<?php do_action( ‘bp_after_blog_details_fields’ ); ?>
<?php endif; ?>
<?php do_action( ‘bp_before_registration_submit_buttons’ ); ?>
<div class=”submit”>
<input type=”submit” name=”signup_submit” id=”signup_submit” value=”<?php esc_attr_e( ‘Sauvegarder mes infos’, ‘buddypress’ ); ?>” />
</div><?php do_action( ‘bp_after_registration_submit_buttons’ ); ?>
<?php wp_nonce_field( ‘bp_new_signup’ ); ?>
<?php endif; // request-details signup step ?>
<?php if ( ‘completed-confirmation’ == bp_get_current_signup_step() ) : ?>
<?php do_action( ‘template_notices’ ); ?>
<?php do_action( ‘bp_before_registration_confirmed’ ); ?><?php if ( bp_registration_needs_activation() ) : ?>
<p><?php _e( ‘You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.’, ‘buddypress’ ); ?></p>
<?php else : ?>
<p><?php _e( ‘You have successfully created your account! Please log in using the username and password you have just created.’, ‘buddypress’ ); ?></p>
<?php endif; ?><?php do_action( ‘bp_after_registration_confirmed’ ); ?>
<?php endif; // completed-confirmation signup step ?>
<?php do_action( ‘bp_custom_signup_steps’ ); ?>
</form>
Any ideas? Also I don’t want to use another pluggins and I don’t want to give the user the option of choosing his user role. Thank you in advance.
Hi,
I want to hide the entire Base Profile Field Group on my site.
I have followed the steps outlined by @shanebp in this topic &, while the Base Profile Fields have been hidden, the tab for the Group is still visible.
I have posted a screenshot of the issue here.
I want just the profile group ‘user info’ to be visible & editable.
I’m using the Kleo theme – version 4.1.5, WordPress 4.6.1.
I’d greatly appreciate some help.
Hello,
I am using Mycred in my Buddypress sites, and grant BP members more points to encourage them to share their referring links, but which is a hidden link to any other users including a visitor by default although the balance of members are visible to visitor by default, which is not mobile friendly since buddypress member always share the pages and it is not possible to ask them copy and paste the referring link like PC mode.
So I try to change the roles capability and custom that mycred referring link to be visible to everyone whoever is login or not, but I failed.
Any ways to custom fields in profile? comments would be greatly appreciated, thanks.
Alex
On my site I have a members directory tab. Users can enter a search term in the Search Members… field to find those members with the search term.
However, I am seeing occasional false positives, i.e. a member is being returned who does not have the search term. For example, if you search on south, the last user listed Paul does not have south anywhere in his profile.
I have tried switching to a standard theme Twenty Sixteen – no different. I have removed all plugins except BuddyPress and still the same. I have combed the errant profile using the backend and cannot find the string anywhere.
NB1 Some of the extended profile fields on this site are not publicly visible. I know that the search finds profiles regardless of permissions but it then displays the profile without the private information. But, in the instances I am seeing, the found term does not exist at all – at least I cannot find it as admin looking in the user’s profile in the backend.
Any suggestions, anyone?
NB2. My test site has several plugins that might cause this issue, but I have demonstrated it to be present with only BuddyPress active.
WordPress 4.6.1; BuddyPress 2.6.2; bbPress 2.5.10
Hello awesome Buddypress people,
I need help finding a way to make all the field text boxes in the Buddypress registration process a uniform size. I want to do this simply to make the registration form look great.
Currently, the “Username,” “Password,” and “Confirm Password” boxes are all the same size, and are an adequate size, however, the “Email Address” box is shorter than the rest, which isn’t ideal, because email addresses tend to be longer than usernames & passwords, and it just doesn’t look right this way.
Here’s a link to my registration page.
I’m assuming that the email box can be adjusted to match the size of the other boxes with some simple css, but I just don’t know enough about CSS yet to implement this on my own.
As for the other profile field boxes, they are all products of the BP Xprofile Custom Fields plugin, and I will ask the developers of that plugin for help matching those boxes up as well, but I wanted to ask for help with the email box here first, because maybe I can use your advice to tackle the other boxes as well.
I’m using WP v4.6.1, BP v2.6.2, I’ve got WP installed in my root directory. I’m using BP Xprofile Custom Fields, Conditional Profile Fields for BP, BP xProfile Location, and Graphene Theme. (Just to give you some background on what’s involved here.)
Thanks in advance for any suggestions.
My install has stopped sending any emails out for new user activation.
I can receive emails sent by WordPress after a user is manually activated, and can receive any email from Postman SMTP, as these test emails work.I don’t use any other activity markers, but emails were not received when messages were sent either.
I have tried all of the listed troubleshooting steps that others have gone through before.
I have a custom function that creates a post for the user during the registration process. I have removed all custom functions and tried registering a user, and it still will not send any emails.
As BuddyPress uses it’s own PHP Mailer, I am not able to log them via any WP Mail logging tools, and want to see what might be going on here.
The problem reared its head around the time I upgraded to 2.6 (although the custom function during registration was also added at this time) as wellI have reset the emails multiple times, and I have not made any changes to them.
Could someone please provide assistance, or given me a suggestion on how to run the BP Email Debug code to get an email of any issues
Host is Bluehost
Here is my install, and plugin list
WordPress 4.5.4
BuddyPress 2.6.2
Advanced Custom Fields 4.4.10
Akismet 3.1.11 (inactive)
BackWPuP 3.3.4
BP Force Profile Photo 1.0.5
BP Member Type Manager 1.0.1 (inactive)
BP xProfile Location 1.2
BP XProfile WordPress User Sync 0.6.4
Broken Link Checker 1.11.2
Buddy Progress Bar 1.0.2
BuddyPress Conditional Field Groups 0.1.0
Buddypress Conditional Profile Field 2.0
Buddypress Geodirectory Integration 1.0.0 (inactive)
BuddyPress Member Type Generator 1.0.2
BuddyPress Profile Tabs 1.6.1
BuddyPress Security Check 2.1.2
BuddyPress Simple Terms And Conditions 1.3
BuddyPress Xprofile Custom Fields Type 2.5
BuddyPress Xprofile Member Type Field 1.0.4
Cherry Parallax Plugin 1.0.0 (for my theme)
Cherry Plugin 1.2.8.1 (for my theme)
Conditional Profile Fields for BuddyPress 1.1.9
Contact Form 7 4.5
Contact Form 7 – Dynamic Text Extension 2.0.1
Custom Hooks 1.0 (All my custom functions are in this plugin)
Custom Login 3.2.5
Custom Post Template By Templatic 1.0
Custom Post Type UI 1.4.1
Disable Comments 1.5.2
Display Posts Shortcode 2.7.0
Easy Parallax Slider 2.1.1
FacetWP 2.6.4
GEO my WP 2.6.6.1
GeoDirectory 1.6.5 (inactive)
Hello Dolly .1.6 (inactive)
MOJO Marketplace 1.0.1 (inactive)
MotoPress Content Editor Lite 1.6.5 (inactive)
Quick and Easy FAQs 1.0.3
SuitePlugins – Advanced XProfile Fields for BuddyPress 1.0.3
Super Socializer 7.8.1
WP Private Content Plus 1.11
WPFront User Role Editor 2.12.4
Yoast SEO 3.5Topic: External User Activation
Hey there! 🙂
If a user registeres on my site I would like an email containing all the profile fields the user filled out to be sent out to a specific email adress. The Person receiving this mail can then check the information and activate the account.
The User should not receive an activation mail – or at least not the activation link.
Can you guys help me?
Cheers
Hello,
I need to create a dropdown checkbox list in xprofile fields where each checkbox will be html link. How could I do that? I have found this function but unfortunately does not work
function stuff_i_want_triggered_after_bp_loads(){ remove_filter( 'xprofile_get_field_data', 'wp_filter_kses', 1 ); } add_action('wp', 'stuff_i_want_triggered_after_bp_loads');Could you please help me?
Thank you!
Hello!
I would like to restrict the registration on my site to only a specific email domain, and only if the member type is X.
My registration form includes the basic name/email/password fields as well as the buddypress base group fields, where the user can choose the member type (set up with plugin BuddyPress Xprofile Member Type Field).Browsing around I found the following code to validate the email domain:
function is_valid_email_domain($login, $email, $errors ){ $valid_email_domains = array("gmail.com","yahoo.com");// whitelist email domain lists $valid = false; foreach( $valid_email_domains as $d ){ $d_length = strlen( $d ); $current_email_domain = strtolower( substr( $email, -($d_length), $d_length)); if( $current_email_domain == strtolower($d) ){ $valid = true; break; } } // if invalid, return error message if( $valid === false ){ $errors->add('domain_whitelist_error',__( '<strong>ERROR</strong>: you can only register using @gmail.com or @yahoo.com emails' )); } } add_action('register_post', 'is_valid_email_domain',10,3 );1) I tried replacing
$valid_email_domains = array("gmail.com","yahoo.com");with$valid_email_domains = (".edu");but it didn’t work – I guess I should add a variable before it, to precise anything.edu as a valid domain? In a function, what would be the way to pass the “anything” argument? (I apologize if I don’t use the proper terms)
Would it be “” ?2) I’ve tried checking how I could add one more validation argument, but I’m a bit lost.
After checking around and in the register.php, I guess I should use something like :$membertype = $_POST ( 'type' => 'recruiter' ) foreach( $membertype as $membertype ) {So, perhaps something like
function is_valid_email_domain($login, $email, $membertype, $errors ){ $membertype = $_POST ( 'type' => 'recruiter' ) foreach( $membertype as $membertype ) { I don't know what to put here - how to link both arguments "if member type is "recruiter" and if email domain belong to the whitelist then proceed, if not give an error message" $valid_email_domains = (""".edu");// whitelist $valid = false; foreach( $valid_email_domains as $d ){ $d_length = strlen( $d ); $current_email_domain = strtolower( substr( $email, -($d_length), $d_length)); if( $current_email_domain == strtolower($d) ){ $valid = true; break; } } // if invalid, return error if( $valid === false ){ $errors->add('domain_whitelist_error',__( '<strong>ERROR</strong>: you can only register using your .edu email address' )); } } add_action('register_post', 'is_valid_email_domain',10,3 );I’m probably completely wrong, I don’t know how to code, I’ve just tried putting several things I found together..but if someone has an idea on how I could make it work I would be very grateful