Okay
  Public Ticket #2472508
Hiding settings in backend
Closed

Comments

  • Jack started the conversation

    Hello I am trying to hide some of the settings in the backend using your FAQ guide. 


    The guide says to use 'Add Admin CSS' plugin and to:

    So if we want to hide “Payments”, for example, we would use this CSS:

    #am-settings > div.am-section.am-settings-cards > div:nth-child(2) > div:nth-child(2){display:none;}


    I have installed the plugin and it works for child(1), child(2) and child(3) to hide 'General', 'Payments' and 'Role Settings' respectively. 


    I want to hide 'Activation', 'Integrations', 'Labels' and 'Notification'.

    When I have tried to hide child(4) or any number from 4-13 it does not hide anything else. 


    Please could you let me know how to hide the other settings items. Thanks.


  • [deleted] replied

    Hello Jack,

    Regarding hiding the Activation setting, you can do this in your database. When you access your database, please open the wp_options table and then find the amelia_settings option there. You need to edit it and find the activation property in it, and change the value for the the showActivationSettings from true to false, like here: 

    "activation":{"active":false,"purchaseCodeStore":"","envatoTokenEmail":"","version":"2.7","showActivationSettings":false}

    Let me know if this helped!

    For hiding the  'Integrations', 'Labels' and 'Notification' settings, please try these CSS:

    #am-settings > div.am-section.am-settings-cards > div.el-row:nth-child(2) > div:nth-child(3) > div:nth-child(1) {display:none;}
    #am-settings > div.am-section:nth-child(3) > div:nth-child(1) > div:nth-child(3) > div:nth-child(1) {display:none;} #am-settings > div.am-section.am-settings-cards > div.el-row:nth-child(3) > div:nth-child(2) > div:nth-child(1) {display:none;}

    Hope this helps.

  • Jack replied

    Hi Marija

    That worked great thank you.

    I just noticed, however, that I am still on version 2.6 despite having activated Amelia.

    How do I enable autoupdates? 

    Jack

  • [deleted] replied

    Hello Jack, 

    Glad to see that. You are welcome.

    You can try deleting the auto-update transients on your website using the Transients Manager plugin, and if that doesn't work please update Amelia manually by following instructions bellow. There are some issues with  the auto-update option on some servers, sorry about that, our developers are working on fixing that.


    1) Download the zip from our store

    2) Use FTP to open /yourwordpressfolder/wp-content/plugins

    3) Delete existing ameliabooking folder

    4) Upload previously downloaded ameliabooking folder through FTP to plugins folder (unzip it)

    5) Go to WP-admin panel, open Plugins section

    6) Deactivate Amelia Plugin, and then activate it again

    7) Clear server and browser cache

    ___________________________________________________________

    If you are using hosting where you are not allowed to your FTP  then follow those instructions:

    1) Download the zip from our store

    2) Delete Amelia plugin from WordPress Plugins page

    3) Click on Add new on Plugins page

    4) Click on Upload plugin on Plugins page

    5) Choose previously downloaded ameliabooking zip file

    6) When uploading is done, please Activate Amelia plugin

    7) Clear server and browser cache.

    Please note that if you delete plugin from Plugins page you WILL NOT lose your data, because it is already saved in your database.

    Please note that our plugin have a size of around 8 MB so if yo are not able to upload the plugin through WordPress plugins page, then you need to increase following:

    upload_max_file size, 

    post_max_size ,

    max_execution_time

    You should be able to find these values in your php.ini file or on your hosting panel. If you can't find it yourself please ask your hosting provider to provide it.