• Resolved gbagiryan

    (@gbagiryan)


    Hi, can you please help me? I need to disable users from editing their profiles and since the plugin doesn’t give this option I decided to hide the settings tab from profile via CSS, but I can’t figure out how to do it and to which class should I write the parameters. I know I need to use a custom theme, but can you please specify the class to which I must write display: none to hide settings tab?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ProfileGrid Support

    (@profilegrid0)

    Hello @gbagiryan,

    The plugin doesn’t have any option to remove the ‘Settings’ entirely from user profile. However, you can prevent changing of email and password by users from ProfileGrid settings in dashboard. Please refer to following steps to configure these options: 

    1) Login to WordPress dashboard and go to “ProfileGrid >> Global Settings >> User Accounts” menu.

    2) Here, disable the options “Display Password Change” and “Allow Email Change”. Save changes.

    Still, if you want to disable the ‘Settings’ tab completely, please go to file plugins/profilegrid-user-profiles-groups-and-communities/public/class-profile-magic-public.php and in this file search for functions “public function pm_show_settings_tab($uid,$gid)” and “public function pm_show_settings_content($uid,$gid)” and comment the content inside these functions. Then save changes.

    Do let us know if you still face any issues related to this.

    Thread Starter gbagiryan

    (@gbagiryan)

    Thank you, that worked exactly how I intended

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hide a specific tab’ is closed to new replies.