• Mew

    (@gokumew2)


    With the new version 6.0.4, I can’t seem to edit the access level in the Options. I changed it to “Editor” but after I clicked on Update Options, it reverts back to “Administrator.”

    I wanted to try to edit it manually in the MySQL database and this is what I see:

    a:5:{s:16:”dateFormatWidget”;s:3:”m/d”;s:16:”timeFormatWidget”;s:5:”g:i a”;s:15:”dateFormatLarge”;s:5:”Y/m/d”;s:15:”timeFormatLarge”;s:5:”g:i a”;s:11:”accessLevel”;N;}

    I’m guessing “N” is what changes the access level? I have no idea what it should be in order for it to be set to Editors.

    http://wordpress.org/extend/plugins/events-calendar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • jonadjei

    (@jonadjei)

    Seems this is just a small naming bug in the ec_management.class.php file of the plugin. The quick fix is to search that file for line 306..

    <select name="EC_accessLevel" id="accessLevel">

    and change it to

    <select name="accessLevel" id="accessLevel">

    .. and make sure you have the latest version of the plugin. It seems this feature has only just been fully added. Incidentally you want to end up with
    s:11:"accessLevel";s:7:"level_7";}
    or similar in your database. ‘level_7’ gives editors access.

    Hope that helps.

    Thread Starter Mew

    (@gokumew2)

    That did the trick! Thanks a lot~

    This also fixed it so that when I post events for access level public that it actually shows up.

    Thank you so very much!

    This has been taken care of in the 6.0.5 update. My bad.

    Luke, check out line 352 in the ec_management.class.php file.

    It has “<select name=”EC_accessLevel” id=”accessLevel”>”.

    Shouldn’t that be changed too?

    Sorry, that should have been line 306 in ec_management.class.php file.

    I believe that is what it should be.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Events Calendar] Can’t edit access level’ is closed to new replies.