New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Please try the following code and let me know if works or not

    
    /**
     * Email login support for bp-branded-login plugin
     */
    add_filter( 'wp_authenticate_user', function( $user ) {
    
    	if ( isset( $_POST['log'] ) && ! is_email( trim( $_POST['log'] ) ) ) {
    		return new WP_Error( 'invalid_email', __( 'Please provide a valid email' ) );
    	}
    
    	return $user;
    }, 10 );
    
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Thank you for reporting the issue. Yes, It is a bug due to undefined function call. I have fixed it please update the plugin and let me know if issue resolved or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Carsten,

    Thank you for the acknowledgement.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: MediaPress Local Transcoder – CHMOD Settings #32265

    Hello Maurice,

    Thank you for posting. Local transcode uses subdirectories of ‘wp-content/uploads/mediapress’. Just put the normal permissions as of uploads directory. Try 775

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Carsten,

    Please try the following code. If you want to hide admin bar from non administrator and do not want to give access them to dashboard.

    
    // To hide admin bar to non administrator.
    add_action('after_setup_theme', function(){
    	if ( is_super_admin() ) {
    		return;
    	}
    
    	show_admin_bar( false );
    
    	if ( is_admin() && ! wp_doing_ajax() ) {
    		wp_safe_redirect( home_url() );
    		exit;
    	}
    });
    
    

    Please do let me know if it works or not.

    Regards
    Ravi

    • This reply was modified 6 years, 3 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Amy,

    Sorry for the inconvenience. Please post me the complete message you are getting when try to activate the plugin. Also, Which platform you are working with is it BuddyPress or BuddyBoss Plateform.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Thank you for posting. Default email field on BuddyPress Registration page does not allows spaces in it. Please do let me know how you are adding email field on registration page.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Sorry for the inconvenience. I have checked and It is working fine for me. Is there any chance you have updated theme or any plugin. Some chances of causing the problem. Please try to disable plugins and switch to default theme temporarily. So that you have better information of issue causing the problem.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Private account #32227

    Hello Ankit,

    Please update the plugin and the following snippet in your ‘bp-custom.php’ file.

    https://gist.github.com/raviousprime/c239b3709aa27061e09d0aacb0e48def

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Private account #32211

    Hello Ankit,

    Thank you for posting. By private account, I am getting you are using BuddyPress Profile Visibility plugin with account status set to friends only. Please do let me know so that I could help.

    Regards
    Ravi