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: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3840 bytes) in /home/virtual/site4/fst/home/kf/public_html/lib/wikilens/RatingsDb.php on line 439
