I thought know would be the right time to start thinking about a plugin=20
system, because not all of the recently added functions (search, calendar,=
statistiscs) are part of the core/basic functionality of the forum.
But because I really didn't know how to set up a complete plugin architectu=
I just started with a simple system, enough to add some simple (and not=20
deeply integrated) plugins like search and statistics.
=2D Plugins have a own subdirectory in plugins/
=2D Plugins have a PHP class (f.e. the plugin test would have a class Test =
=2D The PHP class provides the Fuji system with some basic information abou=
plugin (name, description, author, homepage, version, min fuji version, max=
fuji version) and has some function called by the system when generating th=
=2D Plugins have the same directories as the main Fuji system in their=20
subdirectories (scripts, templates, l10n, js) and their own .htaccess.
=2D Plugins have their own l10n files extending the main Fuji l10n file for=
I created a simple (but still incomplete) frontend for loading plugins. But=
the moment the easiest way of adding plugins to the database is by=20
calling /pluginsettings, you could also add the database entries yourself.
But because I really have no idea how to set up a good plugin system, I wou=
appreciate your input.
I agree that it would be useful to have at least a wiki to provide informat=
and documentation. But I'm not sure if Fuji is stable enough as a system fo=
documentation, it would be nice to have an installation for people to try i=
I saw the tracker item, it would be nice to extend the plugin system=20
styles/l10n/postprocessors with information as xml files.
On Wednesday 30 August 2006 11:14, Laurens Holst wrote:
> Hey Jerrol,
> I see you=E2=80=99ve been working on plugin stuff. Cool! The modularisati=
> improves the structure of the project.
> Could you elaborate a little on your ideas for the plugin functionality,
> then I 1. know what=E2=80=99s going on and how it is going to work, and 2=
> give input. Oh, and when you=E2=80=99re done, don=E2=80=99t forget to doc=
ument it :) (at
> lease in a JavaDoc comment and to this list).
> I also think it could be useful to have a wiki (or maybe rather, a
> running installation of Fuji Forum *kicks web host*) for this kind of
> stuff? So that we have a place for more informal documentation, and
> people who want to join in by e.g. writing a plugin know how to get
> While on the topic, have you seen this bug?