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: 25406

    Hi Max,

    1. You don’t need that.

    2. You have done it correctly, Please make sure you do not upgrade the plugin after your changes or they will be lost.

    3. The problem seems related to “allow_url_fopen” settings.

    Can you please check your phpinfo and see if it is enable or disabled. If it is disabled, I can use wp_remote_get.

    4. Sure, I will do in in next update today.

    5. It’s strange, There is something wrong with our dashboard if it is asking for update. I will look into it. For now, Please manually update this plugin.

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] remove tabs from user profiles #17597

    Sure. The above code can use with with some additional conditions to remove tab based in certain scenerio.

    If you don’t need the tab at all, disabling component seems better.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406

    Hi Max,
    This plugin has not been updated recently. I will test, I am not sure if we will be able to support it(depends on current state of requirement by BP). I will update you in 1-2 hours.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406

    Hi Max,
    Where do you need support for the validation? Please let me know.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] remove tabs from user profiles #17588

    Hi Chris,
    Once a tab is removed by the above method, It can not be accessed. Do you really want that?

    If yes, why not disable the components instead if you don’t need them?

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] remove tabs from user profiles #17586

    HI Chris,

    Please remove this line at the bottom

    
    bp_core_remove_nav_item( 'profile');
    
    

    It should not be called directly.

    Now, you can add the following to remove profie tab

    
    
    /**
     * Remove profile nav.
     */
    function buddydev_remove_profile_tab() {
    	bp_core_remove_nav_item( 'profile' );
    }
    
    add_action( 'bp_xprofile_setup_nav', 'buddydev_remove_profile_tab' );
    

    That will remove profile tab for all.

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] remove tabs from user profiles #17583

    Hi Chris,
    Please post the complete code for removing the tab. It should not be called directly and should be called on some action(bp_setup_nav) or similar.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] BuddyBlog not selecting tags #17581

    Hi Kreatsya,
    Welcome to BuddyDev forums.

    Please allow me to check it today and get back to you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] remove tabs from user profiles #17580

    Hi Chris,
    Please use

    
    bp_core_remove_nav_item( 'profile');
    
    

    The code you have used will cause fatal and that’s why your site got down.

    Let me know it if works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] Report Popup not completely visible #17577

    Hi Carsten,
    Thank you for posting.

    I am looking at this and the two issues may be related.

    1. Thank you. Will add in the update.

    2. I am sorry but it is very complex than what you might have thought.
    The theme is using bp_member_header_actions inside the <ul> element and that is problematic.

    Any plugin adding button is not aware of the wrapper type used. We follow the default BuddyPress convention of using div as a wrapper.

    My suggestion, like you have added “li” for the other buttons, you should do the same for the the moderation button too. I will push an update in next 4-6 hours to make it easier to capture the markup for button.

    Thank you
    Brajesh