• Resolved brad_sdb

    (@brad_sdb)


    I am using a slider plugin called Metaslider and I have created a new user role which should only have access to one custom post type menu item.

    I have selected hide all for all menu items except the one I want them to have access to and all other menu items are correctly disabled, however this single menu created by the slider plugin is still visible and active on this user role.

    Would you please assist me with what may be causing this?

    https://www.ads-software.com/plugins/advanced-access-manager/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi brad_sdb,
    Please give us link to Metaslider plugin so we can download it and install on our server to check the case.

    Thank you,
    Vasyl

    Thread Starter brad_sdb

    (@brad_sdb)

    Thank you brad_sdb,
    I have this item on my todo list for tonight and will keep you updated.

    Appreciate your interest in AAM.
    Vasyl

    Hi brad_sdb,
    We found the cause of the issue. It is already fixed and I’ll push the fix to Development Version. You’ll be able to download it here: https://www.ads-software.com/plugins/advanced-access-manager/developers/

    Follow us on twitter to know the latest updated and thank you for feedback. This one was really helpful.

    Regards,
    Vasyl

    Development version is out. Please check it.

    Regards,
    Vasyl

    Thread Starter brad_sdb

    (@brad_sdb)

    Hey Vasyl,

    Thanks for your quick response to this. It seems to be working perfectly now.

    I do believe you have some errors due to commenting in the metabox.php file but I was able to correct it by putting some returns on lines with // comments.

    Brad

    Hi Brad,
    Can you please share the error and actions you perform to avoid them.

    Thank you!

    Regards,
    Vasyl

    Thread Starter brad_sdb

    (@brad_sdb)

    Sure, see below:

    Error Message:
    Fatal Error: syntax error, unexpected T_CLASS in /wp content/plugins/advanced-access-manager/application/control/object/metabox.php on line 1

    Resolution:
    I’m not sure if it is specific to my upload but the file format looks different from when I view the local version to the version that I download from my server once it’s been uploaded (the version I download almost looks like a minified version of the original). The problem is that when it does all of this it puts the entire thing on line 1 which then makes the two lines that are commented using // instead of /* comment out the remainder of the code. My solution was to simply change the // to /* and it resolved the problem.

    Hi Brad,
    I’m assuming you are using some kind of client to work with FTP uploads like FileZilla. And I believe your Transfer type is ASCII or Auto.
    We are using UTF-8 format to save files and this might be a problem for manual FTP upload.
    Find the setting in your FTP client that specify the type of Transfer and set it to Binary.
    This will help.

    Regards,
    Vasyl

    Thread Starter brad_sdb

    (@brad_sdb)

    Ah, you are correct. Thanks for that.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Menu item is still active even after hide all’ is closed to new replies.