Forums

Events Calendar
Only admin should access Events Calendar Options (2 posts)

  1. kalvke
    Member
    Posted 1 year ago #

    I have several Editors who can add events to the calendar. But it was a surprise for me that they also have possibility to change settings for the calendar. In my opinion, only admin should have this permission.

    Is there some sort of hack that I can use to give only Administrator access to the Events Calendar Options?

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

  2. snumb130
    Member
    Posted 1 year ago #

    In events-calendar.php go to line 220

    Change
    add_submenu_page('events-calendar', __('Events Calendar Options','events-calendar'), __('Options','events-calendar'), $EC_userLevel, 'events-calendar-options', array(&$management, 'calendarOptions'));

    To
    add_submenu_page('events-calendar', __('Events Calendar Options','events-calendar'), __('Options','events-calendar'), 'level_10', 'events-calendar-options', array(&$management, 'calendarOptions'));

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic