From e1e3548260e3fe5335ce09c534b6944d2450ab37 Mon Sep 17 00:00:00 2001 From: Christoph Burschka Date: Mon, 30 Dec 2013 01:49:12 +0100 Subject: Add a short description on writing new plugins. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 80e5e6e..6c81120 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,15 @@ Currently implemented bridges: Potential candidates for further bridges are WordPress, MediaWiki, Joomla! and Moodle. +## EXTENDING + +In order to create a new plugin named , you will need the following: + +* A class extending EjabberdAuthBridge and implementing its methods. +* A file named .module that contains the function _init(). +* _init() will receive its appropriate conf array in config.php. +* _init() must return an instance of the extended class. + ## LICENSE The core project, without plugins, is available under the terms of the GNU General Public License, version 2 or later. -- cgit v1.1