Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'disable registration'

Viewing 25 results - 126 through 150 (of 492 total)
  • Author
    Search Results
  • #263277
    #262657
    Jon Fergus
    Participant

    I’ve seen a dozen support questions on this topic and the answer has always been “another plugin must be redeclaring wp_mail(), so on my test site I disabled every plugin except bbpress and buddypress (and akismet) and still emails are sent in plain text.

    On my live site, the only way I can get the html emails sent is when I have the Buddypress Group Email Subscriptions plugin activated, and then, no matter what other email-related plugins I have active all buddypress emails are sent in html format.

    But, the group subscription plugin has it’s own problem: slows down page-reload when replying if too many members are subscribed to a Topic (can take up to 30 seconds for the reply to process and page to reload on our site), and we haven’t found other solutions to that. So…. we want to disable that subscription plugin, but when we do we lose the html formatted emails.

    Can someone please provide some kind of solution for this plain-text vs. html issue. Like I said, even with no other plugins active we’re still not getting html emails.

    Thanks for the help.

    Our info from our test site (when still getting plain text emails):
    WP version 4.7
    Theme Goodnews 5 Child Theme 1.0
    PHP version 5.6.29
    bbPress version 2.6-alpha-6091
    site url http://staging-nexus.universaltheosophy.com
    Active Plugins Name and Version
    – p1 Akismet 3.2
    – p3 bbPress 2.6-alpha
    – p4 BuddyPress 2.7.4

    Our info from our live site:
    WP version 4.7
    Theme Goodnews 5 Child Theme 1.0
    PHP version 5.6.29
    bbPress version 2.6-alpha-6091
    site url http://nexus.universaltheosophy.com
    Active Plugins Name and Version
    – p1 Adminimize 1.11.2
    – p2 Akismet 3.2
    – p3 All In One SEO Pack 2.3.11.1
    – p4 bbP Toolkit 1.0.6
    – p5 bbPress 2.6-alpha
    – p6 Better Notifications for WordPress 1.6
    – p7 BP Registration Options 4.3.1
    – p8 BuddyPress Group Email Subscription 3.7.0
    – p9 BuddyPress Sitewide Activity Widget 1.3.2
    – p10 BuddyPress 2.7.4
    – p11 Contact Form 7 4.6
    – p12 Google XML Sitemaps 4.0.8
    – p13 Header and Footer 2.0.3
    – p14 Random Content 1.3.1
    – p15 TinyMCE Advanced 4.4.3
    – p16 User Role Editor 4.31.1
    – p17 WP-Mail-SMTP 0.10.1

    #262330
    grantbrown
    Participant

    I help run a close-knit community site running BuddyPress. Due to the nature of the community, our users are very sensitive to perceived censorship and react strongly when their messages are blocked. I am running into two issues because of this.

    1. BuddyPress appears to have a built-it activity feed spam filter (Akismet?). I can’t figure out any way to disable this, which means I have to manually approve messages that have been automatically marked as spam. We’ve had very few issues with spammers on our activity feed and I want to disable this spam filter entirely. It’s doing more harm than good.

    2. We are trying to block spammers from registering on the site. We use WangGuard and Google reCAPTCHA to accomplish this but they are still getting in somehow. They typically don’t cause any harm outside of creating spammy groups but they are a nuisance. Any suggestions on how to better lock down our registration page?

    #261920
    ico33
    Participant

    Hello Guys!

    I have a WordPress site with Buddypress. User registration is managed by WordPress or Buddypress?

    This is the problem: in my site there is a spammer (not a robot, but a person!) that registers a lot of users and uses them for creating flames. Blocking IP is useless because he has different connections (mobile, etc) and the IP changes always. He create new emails, and makes registrations.

    Now I am quite expert in looking at the emails he uses. So If I could “disable” the automatic registration, and enable each new user manually, it could be ok. I mean: a user makes the registration, but doesn’t receive the email for clicking. He has to wait for me, that I see the “pending” registration and approve them manually.

    Is this possible? Is this the best solution?

    #261641
    danbp
    Participant

    Hi @kaosone1975,

    add those snippets to bp-custom.php and give a try:

    function bpfr_redirect() {
    
    	if ( bp_is_current_component( 'register' ) ) {
    		wp_redirect( get_option('siteurl') . '/wp-login.php?action=register' );
    	} 
    
    }
    add_filter('get_header','bpfr_redirect', 1 );
    
    function my_disable_bp_registration() {
    	remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
    	remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    #261596
    jackoneill87
    Participant

    Hi,

    I’m new to BuddyPress and I’m having problems setting up the BuddyPress registration page. I’m hoping someone can help. When I installed BuddyPress it automatically created pages for me to link to the registration and activation components. However, when I go to the registration page http://slipbuddy.codeprimer.net/Register all I see is a page with the title “Register” and no other content. The default wordpress registration page (/register with a lower-case ‘r’) appears to work as expected, but there is no option in the admin menu to link BuddyPress to that page.

    I’ve searched the forums and have come across users having similar problems, but the fix seems to have been to disable plugins / use default themes etc. I’ve just created a new site to try to isolate the issue using a vanilla WordPress 4.6.1 with only the BuddyPress 2.7.2 plugin installed. (The default Hello Dolly and Akismet plugins are showing up in the plugin list but not activated).

    The steps I have taken are as follows

    1. Install WordPress via FTP (no site scripts)
    2. Ensure Pretty Permalinks are enabled (Day and Name)
    3. Enable Registration in Settings->General->Anyone Can Register
    4. Install BuddyPress plugin from plugins page
    5. Return to BuddyPress admin page and checked that all components are mapped to default WP pages created by BuddyPress

    Expected Outcome: http://slipbuddy.codeprimer.net/Register displays registration form
    Actual Outcome: http://slipbuddy.codeprimer.net/Register displays a blank page with the heading Register

    Thank you for your time!

    Jack

    #261375

    In reply to: Hide Emails Menu

    Alex Stine
    Participant

    Hello,

    For now, I have hid the menu with CSS until I can find a cleaner solution. BuddyPress adds way to many links to the Admin especially considering the fact I don’t need BuddyPress registration features, they are just there and cannot be disabled for whatever reason.

    Thanks for any help. 🙂

    Glenn
    Participant

    for some reason my User Registration is automatically activating new users. I’m unable to find the settings to disable this and have the Activation Email sent.

    can someone kindly show me how to enable this feature?

    thanks
    GN

    #260016
    ggagnerivard
    Participant

    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.

    #259824
    bcanr2d2
    Participant

    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 well

    I 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.5

    #259310
    Ron Ashman
    Participant

    Hi,

    Because of reasons I am using another plugin for user registration (Gravity Forms).
    I still want to use BP for social features.

    If I leave the registration and activation pages blank I get a warning all the time in the backend.
    Can I disable registration through BP entirely?

    Thanks in advance!

    #259135
    #259005
    djsteveb
    Participant

    @phound1

    have you tried to see if bp emails work when the other plugins are disabled?

    maybe some of things we posted about in the forums long ago may offer some clues as to where the hiccup is. I stiff refer to https://buddypress.org/support/topic/not-receiving-notification-of-new-user-registration/ on occasion.

    #258319
    jasonlazarus
    Participant

    After installing buddypress and assigning the registration page, the registration fields do not appear on the registration page. Essentially the page is blank.
    See Issue URL: http://www.nyfertility.org/register.html

    Here is what I have done so far:

    – I checked and disabled various plugins
    – using wordpress Version 4.6
    – registration page is assigned properly to existing page under buddypress settings
    – enabled membership to be active – anyone can register (default as subscriber)
    – removed buddypress plugin and – reinstalled – BuddyPress 2.6.2
    – checked your forums for possible solutions – found nothing related
    – deleted registration page, and created a new one with same url, and again with a different url – still no content appears

    Any other advice would be greatly appreciated. I’m lost!

    #258009
    danbp
    Participant

    Try this (goes to bp-custom.php )

    function my_disable_bp_registration() {
    remove_action( 'bp_init', 'bp_core_wpsignup_redirect' );
    remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' ); 
    function my_redirect_signup_page(){
    	//return wp_registration_url(); 
    	return bp_get_root_domain() . '/wp-signup.php';
    }
    add_filter( 'bp_get_signup_page', 'my_redirect_signup_page' ); 
    #257707

    In reply to: Redirect does not work

    Paul Wong-Gibbs
    Keymaster

    Welcome Pack! Small world.

    Can you try disabling Welcome Pack? That certainly interferes with user registration.
    Please also try disabling iThemes Security.

    Then, test registration again, and see what happens.

    If it still doesn’t work as expected, if you can switch your theme to one of the default WordPress themes (leaving those two plugins disabled), test again. If you have a test environment (say you might be using Pantheon hosting, for example), this should be easy to do, though if it’s only one server, I appreciate you might not want to modify your production site too much.

    #256798
    papuche
    Participant

    Hi,
    Half of my users registrations are reported by buddypress like a spam. But they’re human user. They send me a mail (with my contact form) to ask me to activate their account.
    So I need to manually valid their registration.

    I use BuddyPress Captcha by Hardeep Asrani. So I think it’s sufficient? no?

    Is there a solution to disable the spam buddypress feature?
    Thanks a lot!

    Fred.

    #255638

    In reply to: Confirmation Email

    David Cavins
    Keymaster

    I’m not sure what behavior you’re aiming for, but this snippet will disable the confirmation email and log the user in automatically upon successful registration.

    <?php 
    add_action( 'bp_core_signup_user', array( $this, 'disable_validation_of_new_users' ) );
    add_filter( 'bp_registration_needs_activation', '__return_false' );
    add_filter( 'bp_core_signup_send_activation_key', '__return_false' );
    
    function disable_validation_of_new_users( $user_id ) {
    
    	// Get the user's activation key for BP. This is the activation_key in user_meta, not the key in the user table.
    	$user_key = get_user_meta( $user_id, 'activation_key', TRUE );
    
    	// Activate the signup
    	$awuser = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $user_key ) );
    
    	// Automatically log the user in.
    	// Thanks to Justin Klein's  wp-fb-autoconnect plugin for the basic code to login automatically
    	$user_info = get_userdata($user_id);
    	wp_set_auth_cookie($user_id);
    
    	do_action( 'wp_signon', $user_info->user_login );
    
    	bp_core_add_message( __( 'Your account is now active!', 'my-plugin-slug' ) );
    
    	buddypress()->activation_complete = true;
    }
    #255632

    Topic: Confirmation Email

    in group forum Requests & Feedback
    Dono12
    Participant

    I’m using Cymi User Extra Field, when you enable email confirmation the user gets the Buddypress email template
    with the confirmation link. when the user clicks the link it takes them to the confirmation page of the site prompting them
    to login with username and password. Problem is the user name and password doesnt work. The user gets created because they
    are visible in the users list. How can I fix this problem.
    I’ve disabled the Buddypress sign up for the default WordPress using: BP CUSTOM

    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
        function firmasite_redirect_bp_signup_page($page ){
            return bp_get_root_domain() . '/wp-login.php?action=register'; 
     }

    and I found this code in a Buddpress Forum:

    https://buddypress.trac.wordpress.org/ticket/3443

    // Change the text on the signup page

    add_filter( 'bp_registration_needs_activation', '__return_false' );
    
    function my_disable_activation( $user, $user_email, $key, $meta = '' ) {
    	// Activate the user
    	bp_core_activate_signup( $key );
    
    	// Return false so no email sent
    	return false;
    }
    add_filter( 'wpmu_signup_user_notification', 'my_disable_activation', 10, 4 );
    
    

    I tried it with the hope that the key would be disabled and the key fired by WordPress would take over but it still didnt work.

    I really don’t care who fires the key I just want the user to be able to login after click the key in their email.

    #255361

    Topic: spam users

    in group forum Installing BuddyPress
    v!per
    Participant

    i tried using setting –> general –> and disable the Anyone can register option in WORDPRESS .

    doing this help me control the spam users but than i thought how to do the registration ? Can anyone help please here is the website now currently (Anyone can register) is disabled.

    thanks

    #254532
    jasonegli
    Participant

    Hello, thanks for the advice. I installed the plugin, but unfortunately it still doesn’t appear to be sending registration emails. I noticed that the plugin mentioned above will be automatically disabled on BuddyPress 2.5.3 and higher because the functionality is already built-in.

    jasonegli
    Participant

    I’m having trouble with getting emails to send when BuddyPress is enabled. If I disable the plugin I get registration emails, but when it is enabled I get a message on the screen saying the message was successfully sent, but the email never goes through.

    I have tried installing Postman SMTP as described in this post: https://buddypress.org/support/topic/register-activation-emails-not-being-send-smtp-configuration-not-set/#post-252037

    Even with Postman STMP installed, registration messages still don’t come through. They also don’t show up in the Postman logs. However, my test messages in Postman are delivered with no trouble, and password resets, etc, show up in Postman logs and are delivered successfully.

    This is running on Windows Server 2012 using XAMPP
    Wordpress: 4.5.2
    BuddyPress: 2.5.3
    Theme: Alliance

    Any help is much appreciated.

    GDU
    Participant

    Hi all

    So I’ve been doing some further trouble shooting on this one and it’s just… odd.

    The issue doesn’t seem to be with just buddypress in isolation. It appears to be related to (whatever happens or changes) when buddypress and bbpress are activated at the same time.

    So, I created a brand new install of WordPress and installed WP job manager

    Within WP job manager I have the “allow account creation’ setting enabled when submitting a job listing

    With buddy press installed and enabled by itself I can enter and preview a new job listing without any issues.

    With bbpress installed and enabled (and buddypress disabled) I can enter and preview a new job listing without any issues.

    With buddypress + bbpress enabled at the same time, previewing a job posting takes me to a 404 page not found error message

    The interesting thing is.

    If I leave Buddypress and bbpress enabled but I disable “allow account creation” when submitting a new job listing in WP job manager. The job preview step works just fine.

    So I guess from I’ve been able to ascertain that it is the WP job manager account creation step which is conflicting with ‘something’ that changes on the back end when both buddypress and bbpress are enabled at the same time.

    I have no idea what might change on the backend when bbpress and buddypress are enabled from an account registration perspective so at this point I’m stumped.

    Does anyone have any ideas where I might be able to look next?

    Thanks

    Mark

    #253998
    r-a-y
    Keymaster

    I also tested BP 2.5.3 on WP 4.5.2 on a fresh install and cannot duplicate your problem, Earl_D.

    I tested with the Extended Profiles component enabled.

    Are you using any caching plugins? If so, try to disable it or whitelist the register and activate pages from caching.

    Do you have any special extended profile registration fields? If so, can you list what they are and how they are configured?

    cahara
    Participant

    Hey all,

    Been digging for a solution but can’t seem to find one. My site has 2 registration forms (Form A and Form B) on separate pages that are working great. When users signup to Form B a hidden field called subscriber_type is populated. Otherwise Form A and B are identical. Once the forms are submitted a user should only be auto-activated and logged-in if this subscriber_type field is populated.

    So far users filling out Form B are activated (and don’t get the activation email) and are logged in. But users filling out Form A aren’t getting their activation emails either even though they should. Looks like no users are getting any activation emails, regardless of the form they fill.

    Is there any way to make sending of the activation emails conditional?

    What I’ve tried so far:

    
    // Auto-activate users from Form B (This works)
    function auto_activate_user( $user_id ) {
    
        $subscriber_type = $_POST['subscriber_type'];
        if ($subscriber_type || $subscriber_type === 'current_subscriber'){
            global $wpdb;
    
            //Hook if you want to do something before the activation
            do_action('bp_disable_activation_before_activation');
    
            $activation_key = get_user_meta($user_id, 'activation_key', true);
            $activate = apply_filters('bp_core_activate_account', bp_core_activate_signup($activation_key));
            BP_Signup::validate($activation_key);
            $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d", $user_id ) );
    
            //Add note on Activity Stream
            if ( function_exists( 'bp_activity_add' ) ) {
                $userlink = bp_core_get_userlink( $user_id );
    
                bp_activity_add( array(
                    'user_id' => $user_id,
                    'action' => apply_filters( 'bp_core_activity_registered_member', sprintf( __( '%s became a registered member', 'buddypress' ), $userlink ), $user_id ),
                    'component' => 'profile',
                    'type' => 'new_member'
                ) );
    
            }
            //Send email to admin
            wp_new_user_notification( $user_id );
            // Remove the activation key meta
            delete_user_meta( $user_id, 'activation_key' );
            // Delete the total member cache
            wp_cache_delete( 'bp_total_member_count', 'bp' );
    
            //Hook if you want to do something before the login
            do_action('bp_disable_activation_before_login');
    
            //Automatically log the user in	.
            $user_info = get_userdata($user_id);
            wp_set_auth_cookie($user_id);
    
            do_action('wp_signon', $user_info->user_login);
    
            //Hook if you want to do something after the login
            do_action('bp_disable_activation_after_login');
    
        }
    }
    
    // Fix validation on Form B (This works)
    function fix_signup_form_validation_text() {
        $subscriber_type = $_POST['subscriber_type'];
        if ($subscriber_type || $subscriber_type === 'current_subscriber'){
            return false;
        }
    }
    
    // Disable autivation email only for Form B (This doesn't work)
    function disable_activation_email() {
        $subscriber_type = $_POST['subscriber_type'];
        if ($subscriber_type || $subscriber_type === 'current_subscriber'){
            return false;
        }
    }
    
    add_action( 'bp_core_signup_user', 'auto_activate_user');
    add_filter( 'bp_registration_needs_activation', 'fix_signup_form_validation_text');
    add_filter( 'bp_core_signup_send_activation_key', 'disable_activation_email');
    
Viewing 25 results - 126 through 150 (of 492 total)
Skip to toolbar