BuddyDev

Search

Replies

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

    Hi Dan,

    Can you please share me a screenshot showing 2 tabs and their orders?. Also, are you using BuddyPress or BuddyBoss.

    Also, In order to allow me assist you further, Please share your order id. I am unable to find it under your account.

    Thank you

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

    Hello Tosin,

    Thank you for the acknowledgement. Are you refering notifications in admin bar or any other section of the site?. Above mentioned will affect all widgets and shortcodes offered by BuddyPress on pages other than BuddyPress.

    Regards
    Ravi

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

    Hello Dan,

    Sorry for the inconvenience. Are you using tabs slug while modifying existing tab?. I have tried it and it is working for me.

    Please take a look here:
    https://buddydev.com/docs/buddypress-group-tabs-creator-pro/modifying-label-repositioning-existing-group-tab/

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Associate a gallery with a post ID #34881

    Hello,

    Thank you for posting. Gallery in itself is a post. You can use shortcodes to achieve your goal. Try something like this.

    To list gallery media use shortcode

    
    [mpp-list-media gallery_id=137]
    

    And to upload media to this gallery use

    
    [mpp-uploader gallery_id=137]
    

    Please let me know if it helps or not. To allow other users to upload to this gallery you can use following plugin

    https://github.com/mediapress/mpp-global-shared-gallery

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] username changer plugin #34874

    Hello Mikel,

    Thank you for posting. I have tried your username “myusername” and it is working for me. My profile url now “{site-user}/members/myusername”. It might be some other issue. Try after deactivating other plugins and custom code temporarily.

    I am assuming you are changin username using our “BuddyPress Username Changer” plugin.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: MediaPress only enable Wall Photo Gallery #34873

    Hello Daniel,

    Thank you for posting. Try the following code it will not allows members to create gallery.

    
    
    add_filter( 'mpp_user_can_create_gallery', function ( $can, $component ) {
    
    	if ( ! $can || 'members' !== $component ) {
    		return $can;
    	}
    
    	// Only allow wall gallery.
    	if ( isset( $_POST['context'] ) && 'activity' === $_POST['context'] ) {
    		return true;
    	}
    
    	return false;
    }, 10, 2 );
    
    

    Please check and let me know if it works or not.

    Regards
    Ravi

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

    Hello Tosin,

    Try the following code. It will prevent BuddyPress assets not to load on other pages.

    
    
    add_action( 'bp_template_redirect', function () {
    
        if ( is_buddypress() ) {
            return;
        }
    
        if ( has_action( 'wp_enqueue_scripts', 'bp_enqueue_scripts' ) ) {
            remove_action( 'wp_enqueue_scripts', 'bp_enqueue_scripts' );
        }
    } );
    
    

    Please check and let me know if it works or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Creating bp-custom.php file from dashboard? #34683

    Hello Carsten,

    Thank you for posting.

    It is possible using a plugin like File manage. But it posses serious security issue and we do not recommended.

    PS:- A few months ago, wp file manager plugin was hacked and more than 100000 sites got infected due to it. We strongly recommend to avoid it.

    Regards
    Ravi

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

    Hello Hugo,

    Thank you for posting. Please try the following code.

    
    add_filter( 'get_the_archive_title_prefix', '__return_empty_string' );
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Messages Notifications #34568

    Hello Saleam,

    Thank you for posting. Try using the function “bp_get_total_unread_messages_count”. It will show the total unread message count for the user.

    Regards
    Ravi