DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:noticeboard

noticeboard Plugin

Compatible with DokuWiki

No compatibility info given!

plugin Add calendar to page which enable users inserting events. There are two possible views - calendar and list. Plugin also offer exporting to icalendar format (.ics) and RSS feed.

Last updated on
2010-05-20
Provides
Syntax, Action

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with calendar, feed, icalendar, notice, rss

FIXME If you install this plugin! It will break your dokuwiki. You need to rename the iCal.php file to ICal.php (mine was in /var/www/lib/plugins/noticeboard/classes, or try “updatedb && locate ICal.php” to find it)

Description

Add calendar to page which enable users inserting events. There are two possible views - calendar and list. Plugin also offer exporting to ical calendar format (.ics) and RSS feed.

Download and Installation

Download plugin from link above or here FIXME. Unzip file and copy to /lib/plugins/ directory.

Syntax

You can add plugin to page with this syntax:

~~NOTICEBOARD~~

Usage

  • Users with editing rights on page where plugin is posted are able to make new events., edit and delete them.
  • Editing and deleting is possible only in list mode.
  • While editing event you can enter name, place, start date, end date, select category and while the category is conference, you can also add deadline.
  • Every event has own wikipage, which is created from event name,date and time.
  • Plugin has two main view forms, which you can select by clicking on button list or calendar.
  • Users can also filter events by selecting some category, select future or past events and set up sorting.
  • Plugin offers exporting to icalendar format (.ics). For export will be used users current filter for showing events. It means users can export only specified categories and only future, past or all events. More about iCalendar on Wikipedia and specifications are here.
  • There is possible to use RSS feed for events. RSS feed support selecting categories, after clicking rss button, you will get RSS feed with categories which are currently set up in filter.

Bugs & suggestions

Feel free to post your comment here

There is an error in the noticeboard plugin, which tries to load ICal.php which doesn't exist; what does exist is iCal.php, and on Unix systems those are two different names since Unix is case sensitive. The error causes the dokuwiki to fail.


Changing begin date of event makes it invisible in calendar :(


When exporting to iCal, there's no timezone defined in the .ics file, so entries are showing with incorrect times - any suggestions for fixes?


Install failed on UNIX server : you have to rename /classes/iCal.php to ICal.php to have a working plugin… Nice plugin anyway. thanks ! or better change the sourcecode of action.php line 17 require_once(DOKU_PLUGIN.“noticeboard/classes/iCal.php”);


I had to change line 17 in action.php to the follow on a Linux hosting to get this working.

require_once(DOKU_PLUGIN."noticeboard/classes/iCal.php");

Otherwise, pretty cool plugin! I do wish I could change the date format on the event entry screen. Thanks for a great plugin! -Chuck (chuck@windrant.com)


You forgot to delete some SVN files and directories in the download package ;-) — Ben


When the specific time of event is set, in calendar mode there appears “1” char at the end of event name — Pavel


“Calendar”, “iCal”,“RSS” and “Add Event” bottons are overwritten by the filter box. To fix this I moved

$renderer->doc .= $this->_showModeListButton();
        $renderer->doc .= $this->_showModeCalendarButton();
        $renderer->doc .= $this->_showModeCalendarButton();
        $renderer->doc .= $this->_showRSSButton();
        $renderer->doc .= $this->_showIcalButton();
        if($INFO['perm'] >= 2){
            $renderer->doc .= '<a href="' . wl($ID.":NewNotice", array('do' => 'edit','noticeboard_newnotice'=> 'true')) . '" class="button2" title="">'.$this->getLang('addEvent').'</a>';
        }

towards the end of the render function in in syntacs.css. I got rid off the “1” mentioned by Pavel by removing

 $notice->hasStartTime().

in the _getDayEvent function in syntacs.css. — Matt



When the specific time of event is set, in calendar mode there appears “1” char at the end of event name — Pavel

Just comment out this debug output (at least it seems to be one ;)

syntax.php@line 551

$out .= '<li><a href="' . wl($notice->getId(), array('do' => 'show')) . '" class="" title="">'.$notice->getName()/*.$notice->hasStartTime()*/.'</a> ';

—Hans


When you create an event that is in the past and overlaps into the future, the event is not visible in the future view, but is in the “All” events view.

–bRad


Hello your plugin is so nice! Thanks for that!! My Problem is: If I created a Meeting or somehting, example in October, and now its November. I move on October and change the settings into Past and klick Filter, than i want to see the old meetings in October, but the calender is switching on Future and the Month November. Is it possible to see the Meetings from the Months of the Past in the calender? Markus

plugin/noticeboard.txt · Last modified: 2016-02-09 20:59 by Aleksandr