GokuMew2
Member
Posted 1 year ago #
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/
jonadjei
Member
Posted 1 year ago #
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.
GokuMew2
Member
Posted 1 year ago #
That did the trick! Thanks a lot~
DIGITALDR
Member
Posted 1 year ago #
This also fixed it so that when I post events for access level public that it actually shows up.
Thank you so very much!
snumb130
Member
Posted 1 year ago #
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.
snumb130
Member
Posted 1 year ago #
I believe that is what it should be.