Zitat:This will add the events from today on index. Read the readme.html
if($mybb->user['uid'] == 0){ error_no_permission();}
if($mybb->settings['events_on_index'] == 1)
if($mybb->settings['events_on_index'] == 1 && $mybb->user['uid'] != 0)
if($events != "" && $mybb->usergroup['canviewcalendar'] != "no" && $mybb->settings['enablecalendar'] != "no") {
if($events != "" && $mybb->usergroup['canviewcalendar'] != "no" && $mybb->settings['enablecalendar'] != "no" && $mybb->user['uid'] != 0) {