BuddyDev

Search

Replies

  • Participant
    Level: Guru
    Posts: 900

    Hello,

    Thanks for the update but after installation I noticed that the confirm actions for activity delete is still not working, I was able to delete several activity updates without buddypress asking me if I was sure about deleteing them.

    Thanks

  • Participant
    Level: Guru
    Posts: 900

    Hello Ravi,

    I will be expecting your feedback on this topic this week. Have a great day.

    Thank you
    Tosin

  • Participant
    Level: Guru
    Posts: 900

    Ok thank you will be expecting your feedback

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: DELETE activity using ajax #22169

    I got it to work with this code

     function bpdelete_remove_activity_delete_text(){
        $url   = bp_get_activity_delete_url();
        $class = 'delete-activity';
    
        $link = '<a href="' . esc_url( $url ) . '" class="button item-button bp-secondary-action delete-activity confirm fa fa-trash" rel="nofollow">' . __( '', 'buddypress' ) . '</a>';
        return $link;
    }
    add_filter('bp_get_activity_delete_link', 'bpdelete_remove_activity_delete_text' ); 

    Thanks for the hint,have a great day

  • Participant
    Level: Guru
    Posts: 900

    Hello Brajesh,

    I am using wp-login.php and not a custom login page.

    I am using the Klein theme which has a login button in the theme header and this button appears on all pages and post to logged out users, when the button is clicked a popup login modal box appears.

    When you try to login with the popup login box/form and not wp-login.php page with incorrect login credentials. The whole page reloads without login being successful, now the problem is that after the page reloads there is no error message informing the user why his/her login failed.

    I want to call the same error message that appears in wp-login.php inside the theme, so that users will always see an error message when their login fails irrespective of user login either through wp-login.php or the site’s homepage.

    It is not compulsory for the error message to appear as a buddypress notice I was using this as an example.

    Thanks

  • Participant
    Level: Guru
    Posts: 900

    Any feedback sir

    thank you

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Scaling buddypress #21603

    Any feedback sir

  • Participant
    Level: Guru
    Posts: 900

    The code worked perfectly thank you very much

    Will you continue to provide updates to the BuddyPress Profile Completion plugin as this plugin is not officially listed on your plugins page

  • Participant
    Level: Guru
    Posts: 900

    Hello, the code works but I had the following problems

    1. Your plugin BuddyPress Auto Activate Autologin Redirect To Profile On Signup does not log in the newly registered users again. I am using this code with the plugin which redirects to welcome page instead of profile page.

     /**
     * Redirect user to site home page when they register/login using BuddyPress Auto Activate Auto Login plugin.
     *
     * @return string
     */
    function buddydev_redirect_to_homepage_on_autologin() {
    	return site_url( '/welcome/' );
    }
    
    add_filter( 'bpdev_autoactivate_redirect_url', 'buddydev_redirect_to_homepage_on_autologin' ); 

    This was the login error format in the address bar /wp-login.php?redirect_to=https%3A%2F%2Fwww.nigerpress.com%2Fteeguy%2Fprofile%2Fedit%2F&bp-auth=1&action=bpnoaccess

    2. This code for the FORCE FOLLOW does not include the redirect skip on the welcome page

     // skip if logged and on non welcome page.
    	if ( is_user_logged_in() && is_page( 'welcome' ) ) {
    		if ( $fp_active ) {
    			remove_action( 'bp_template_redirect', array(
    				BD_Force_User_Avatar_Helper::get_instance(),
    				'check_or_redirect',
    			), 1 );
    		}
    
    		return;
    	} 

    Thanks

  • Participant
    Level: Guru
    Posts: 900

    Good day Brajesh,

    You said I should remind you about the code update today.

    Thanks