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

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: [Resolved] After plugin activation -> all users lost #17573

    Hi Carsten,
    Thank you for confirming the fix. I am glad it worked.

    I sincerely appreciate your patience.

    Have a great day.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: [Resolved] After plugin activation -> all users lost #17571

    Hi Carsten,

    There was an issue in our table creation statement which only appeared on some of the mysql version. It was related to a datetime field.

    Since the table were not created, the plugin started throwing too many notices.

    Please upgrade to 1.0.5. After upgrade, Please deactivate the plugin and reactivate it. It will create the tables which were not created earlier and will not throw any notice after that.

    Please let me know how it goes.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: [Resolved] After plugin activation -> all users lost #17569

    Ahh,
    Thank you.

    I see. The the table creation failed due to mysql strict mode and that has been the root of the issue. Please allow me 30 minutes, I am putting an update that will work with strict mode too.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: [Resolved] After plugin activation -> all users lost #17568

    Hi Carsten,
    Thank you.

    It could be some issue with PHP 7.2 as the plugin is only tested upto PHP 7.0.32.

    Do you have debug enabled, if not, Please enable it for a temporary check. It can be done by following

    
    
    define( 'WP_DEBUG', true ); // this line is already present, just change the value to true
    define('WP_DEBUG_LOG', true );
    
    

    After that, Please visit members directory. I am guessing there is some php error on the user query filter which is happening on 7.2.

    Please let me know what you see in error.log file(in wp-content it will be created).

    If you are not comfortable with doing the above change, Please allow me 8-12 hours, I will check the plugin on php 7.2

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: [Resolved] After plugin activation -> all users lost #17565

    Hi,
    Welcome to BuddyDev Forums.

    I am sorry for the inconvenience.

    Are you using any other plugin for filtering members list? Also, which version of PHP, WordPress/BuddyPress are you using? Is the theme premium? If yes, which theme it is. Also, are you using database caching?

    I just enabled and checked again and it is working for me on BuddyPress 3.2. It can be some conflict.

    Please let me know and I will assist.

    Regards
    Brajesh