PluginManager
PhpWiki lets you extend it with new functionality via a plugin mechanism. In short, you extend a PHP class we provide and customize it to print out the content you want. For more information see WikiPlugin, HelloWorldPlugin, and view the source of the files in lib/plugin.
If there is no example page for the plugin, or you need more information, the best place to go is the source of the plugin. Under your wiki's root directory, the folder lib/plugin contains all the PHP files for the plugins.
External Requirements
Some plugins require correctly configured PLUGIN_CACHED and external libraries not provided with PhpWiki or PHP, such as
PHP with GD support for the text2png plugin,
LaTeX2HTML for the TexToPngPlugin? and TeX2pngPlugin,
graphviz for the GraphVizPlugin? and VisualWikiPlugin?,
ploticus for the PloticusPlugin,
phpweather for the PhpWeatherPlugin,
highlight for the SyntaxHighlighterPlugin,
- a browser with
<iframe> support for the TranscludePlugin,
- USE_DB_SESSION = true (default for the peardb, adodb or dba backends) for the WhoIsOnline plugin,
- --with-xml support (with expat or libxml2) for the RssFeed plugin (ProjectSummary, RecentReleases) and HtmlParser? support (ImportHtml?, HtmlAreaEditing?),
- PHP Mail functionality (php.ini: SMTP + sendmail_from on Windows or sendmail_path) for email PageChangeNotifications? and ModeratedPage's,
- a
Google license key for the GooglePlugin?,
- optionally an external recommender engine (none yet, php only so far) and the wikilens theme for the RateIt plugin,
- optionally apache/mod_log_{my}sql for fast, external log analysis if ACCESS_LOG_SQL=1 (Referer, Abuse Prevention).
See lib/Request.php and
http://www.outoforder.cc/projects/apache/mod_log_sql/
Fatal error: Class wikiplugin_wikiforum: Cannot inherit from undefined class wikiplugin_wikiblog in /var/www/html/wac-tk/lib/plugin/WikiForum.php on line 49