WP-Calendar Plugin
-
Hello,
I have installed the wp-cal plugin. My problem is that I need an author to be able to edit the calendar. Currently, the plugin only supports the addition of events when the admin is logged in. Can anyone help me figure out what I need to modify to allow the lower user level to post events?
It seems that this code in event.php file is what I need to edit:
get_currentuserinfo();
if(user_can_edit_post($user_ID, $post->ID)){
$canedit = true;
echo “Add event<div class=’clear’></div>”;
}Plugin download page:
http://www.fahlstad.se/wp-plugins/wp-cal/My install:
http://www.hoaclientaccess.com/bridgeport/calendar/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP-Calendar Plugin’ is closed to new replies.