Diff: Help/PluginManagerPlugin
Note: You are viewing an old revision of this page. View the current version.
Differences between version 4 and predecessor to the previous major change of Help/PluginManagerPlugin.
Other diffs: Previous Revision, Previous Author
Newer page: | version 4 | Last edited on 22 May 2014 3:01 | by harold | Revert |
Older page: | version 3 | Last edited on 9 September 2007 0:16 | by harold | Revert |
version 4
The PluginManager plugin provides a dynamic list of plugins on this wiki.
Usage
<<PluginManager info=args>>
Arguments
Argument |
Description |
Default value |
---|---|---|
info |
Display the arguments also. To disable use info=0. |
enabled |
Configuration
define('REQUIRE_ADMIN', true) in the sourcecode to disable general usage.
Example
<<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
Help:WikiPlugin,
Help: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
TexToPng plugin and
TeX2png plugin,
graphviz for the
GraphViz plugin and
VisualWiki plugin,
ploticus for the
Ploticus plugin,
phpweather for the
PhpWeather plugin,
highlight for the
SyntaxHighlighter plugin,
- 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
PhpWiki:PageChangeNotifications and ModeratedPage's,
- a
Google license key for the
GooglePlugin 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/