Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Mocha,
    Thank you for the question.

    1. BuddyPress supports HTML email out of the box. If it was not working, Most probably a conflict with 3rd party plugin. I have seen issues when using 3rd party smtp plugins.

    2. The above code does not do much. It re enables the html email from BuddyPress(which should be the default case). The settings was being overridden by some code or 3rd party plugin and I don’t see any harm in using the above code.

    The only thing it does is instead of using wp_mail() it uses bp_send_email() which uses a custom extend version of PHP Mailer.

    The problem with this approach is most of the smtp plugin’s won’t be able to deliver it(the filters are different).

    Hope that clarifies

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Torben,
    Thank you for confirming. I am glad it worked 🙂

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Propertytips,
    Thank you for confirming.

    TO enable it for some media type and not others? Yes, it is doable via filter but that won’t work on activity screen.

    Please allow me to keep this for our major version. We are committing to next phase of MediaPress from August and I am making a list of things to do. I will be adding it too.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Richard,
    Thank you for confirming. I am glad it is working 🙂

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    You are welcome. I hope that WooCommerce works for you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: @mention autofill on custom dashboard page #23518

    Hi Nic,
    You may try this

    
    add_filter( 'bp_activity_maybe_load_mentions_scripts', 'buddydev_enable_mention_autosuggestions', 10, 2 );
     
    function buddydev_enable_mention_autosuggestions( $load, $mentions_enabled ) {
        
        if( ! $mentions_enabled ) {
            return $load;//activity mention is  not enabled, so no need to bother
        }
        //modify this condition to suit yours
        if( is_user_logged_in() ) {
            $load = true;
        }
        
        return $load;
    }
    

    That should do it on all pages.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Torben,
    Thank you for asking.

    That is the default limit. You can change it like this

    
    /**
     * Change default number of forums.
     */
    add_filter( 'pre_option__bbp_forums_per_page', function ( $val ) {
    	return 100;// change it to the number.
    } );
    
    

    Please put this in your functions.php or bp-custom.php and that should do it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi,
    Thank you for the question.

    The job of this plugin is to add notification not listing them.

    By default, BuddyPress shows notifications in adminbar as well as on user profile.

    We do have a plugin that provides shortcode and widgets
    https://wordpress.org/plugins/buddypress-notifications-widget/

    You may use it.

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Torben,,
    I am sorry for the issue. I haven’t seen it earlier. Will check and get back to you today. If it is a bug, we will have an update in next 24 hours. I will keep you updated.

    Regards
    Brajesh