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: 25328
    Brajesh Singh on in reply to: bbpress new topic editor #20695

    Hi,
    You may want to take a look at these two plugin

    https://wordpress.org/plugins/image-upload-for-bbpress/

    https://wordpress.org/plugins/gd-bbpress-attachments/

    They allow uploading from the local computer.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: How can leave comment? #20693

    Hi Andrey,
    I am sorry, the sweetdate theme uses ajax login and the above code won’t work for that.

    In the code from my blog post, try changing

    bp_login_redirect with login_redirect. That may work(depends on your settings if reload is not enabled).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: Moderation Pro not moderating posts & comments #20691
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25328

    Please add the following lines too

    
    /**
     * Do not skip redirect on new post.
     *
     * @param bool $skip should we skip?
     *
     * @return bool
     */
    function buddydev_dont_skip_redirect_on_new_post( $skip ) {
    
    	if ( is_page( 'new-post' ) ) {
    		$skip = false;
    	}
    
    	return $skip;
    }
    
    add_filter( 'bp_force_profile_photo_skip', 'buddydev_dont_skip_redirect_on_new_post', 20 );
    
    

    That should do it. I am assuming ‘new-post’ is a page.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: [Resolved] How to remove function noftifications #20689

    Hi maimaimemain,

    Thank you for asking.
    You may use the following code

    
    
    /**
     * Remove notifications node from adminbar.
     */
    function buddydev_custom_remove_notifications_menu() {
    	global $wp_admin_bar;
    	if ( ! is_admin_bar_showing() ) {
    		return;
    	}
    	$wp_admin_bar->remove_node( 'bp-notifications' );
    }
    
    add_action( 'wp_before_admin_bar_render', 'buddydev_custom_remove_notifications_menu' );
    

    That should do it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: Add users to group automatically #20683
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25328

    Thank you.

    Here is the code that opens all group tabs in new browser tab.

    
    jQuery('body.single-item.groups .item-list-tabs a').attr('target', '_blank');
    
    

    You need to put it in the theme’s js file.

    WE can modify the above code to filter links based on id or classes. Please share me either the css id or css classes for the nav items and I will assist further.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: Moderation Pro not moderating posts & comments #20680

    Hi Craystal,
    Thank you.
    It is not the theme, It is youzer causing issue with button style. Please allow me to put a compatibility for it in the upcoming release.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: Moderation Pro not moderating posts & comments #20678

    Hi Crystal,
    Thank you for the prompt replies.

    I am glad it is working. It is most probably due to theme not styling button class.

    I will check with the avada theme and since we have an update coming in next 2-3 days(with support for bbPress forum topic & replies), I will add the class there.

    For now, if you need, please provide me a subscriber account on site and I will help with some code to make the button look nicer.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: Moderation Pro not moderating posts & comments #20674

    Thank you for the prompt response. Just confirming, this is the button which is not visible?
    https://i.imgur.com/xGrHo9l.png

    Is there anyway I can check the site and settings?(Or you may share me the setting, please make sure that “BuddyPress Activity” is checked in the general settings page).

    Thank you
    Brajesh