Disable export data

Home Forums Legacy Support Support queries How-to & Troubleshooting Disable export data

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #358168
    ART-Providers
    Participant
    Followed the advice from https://wplms.io/support/forums/topic/disable-export-data-tab-in-user-profile/ However, even after adding the code the export data tab is still there We are on 3.9
    #358240
    Scott Lang
    Moderator
    Have you followed this reply? https://wplms.io/support/forums/topic/disable-export-data-tab-in-user-profile/#post-197439 Use this updated code
    
    add_filter( 'bp_settings_show_user_data_page', function(){
        return false;
    });
    
    If this does not solve the issue then we need an admin credential in private reply with URL where the export data option showing.
    #358357
    ART-Providers
    Participant
    That did not work for me. I was looking at the wrong place and thought it is resolved
    #358359
    ART-Providers
    Participant
    This reply has been marked as private.
    #358393
    Scott Lang
    Moderator
    You can use this custom css to hide the export date check this https://prnt.sc/137h93m Add this custom css wp-admin > appearance > customize > custom css
    div#buddypress .item-list-tabs li#data-personal-li{
        display:none;
    }
    
    #359044
    b7lanca
    Spectator
    Hi how can I remove EXPORT USER DATA widget from PROFILE = SETTING https://www.awesomescreenshot.com/image/8650528?key=cb1077db2c1d1b50d274591ad4582933 I have tried this code but nothing happened add_filter( 'bp_settings_show_user_data_page', function(){ return false; }); Thanks
    #359074
    Scott Lang
    Moderator
    @b7lanca you can use this CSS to hide the export data option Add this custom css wp-admin > appearance > customize > custom css
    .vibebp_myprofile .profile_settings .portal:nth-child(4)  {
        display:none;
    }
    
    If this not fixes the issue then we need your admin credential to check at your end.
    #360887
    ART-Providers
    Participant
    The screenshot displays the content just hides the tab. [Your screenshot] We want the tab and content both gone Can you provide the correct code to remove General tab as well as Export data Similarly Could you send the correct code so the General tab content does not show https://snipboard.io/8RpX30.jpg We tried this but it does not do the right thing [Our version is 3.9.9 WPLMS]
    #360972
    Scott Lang
    Moderator
    The above credential is not working share a new one. We need to check at your end. Also, share the profile page URL we have to check if we can remove from PHP else we will share CSS code.
    #361067
    ART-Providers
    Participant
    This reply has been marked as private.
    #361133
    Scott Lang
    Moderator
    Checked your site but unable to find the tab. Please share page URL and tab image which you want to hide.
    #361564
    ART-Providers
    Participant
    Please login using the above credentials Then visit https://dev.art-providers.com/members/adminsupport/settings/ You can see that though the first tab is missing, General settings still show You have to click on Email to display the Email content. Is there a way to move Email as first tab then may be the others will stay hidden ?
    #361627
    Scott Lang
    Moderator
    We are getting this page http://prntscr.com/15li8t6 on above url which you have shared. Checked with staging details not worked for this. Please share admin details with us,We have to check the page content to provide custom css.
    #361700
    ART-Providers
    Participant
    We have enabled third party logins now. Can you please try again
    #361729
    Scott Lang
    Moderator
    Removing the general tab or placing email to first place using PHP is not available. These tabs are coming from BuddyPress. You can only hide the form using the CSS like this http://prntscr.com/15ollyc
    
    body.settings.general.buddypress #settings-form{
        display:none;
    }
    
    let me know if you have any other doubt.
Viewing 15 posts - 1 through 15 (of 24 total)
  • The topic ‘Disable export data’ is closed to new replies.