Source for file skeleton.plugin.php
Documentation is available at skeleton.plugin.php
* -----------------------------------------------------------------------------------------
* This file provides a skeleton to create a new {@link http://b2evolution.net/ b2evolution}
* - {@link http://manual.b2evolution.net/CreatingPlugin}
* - {@link http://doc.b2evolution.net/stable/plugins/Plugin.html}
* (Delete this first paragraph, of course)
* -----------------------------------------------------------------------------------------
* This file implements the PLUGIN_NAME plugin for {@link http://b2evolution.net/}.
* @copyright (c)2006 by Your NAME - {@link http://example.com/}.
* @license GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php
* @version $Id: skeleton.plugin.php,v 1.1 2006/10/30 20:14:26 blueyed Exp $
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
* Variables below MUST be overriden by plugin implementations,
* either in the subclass declaration or in the subclass constructor.
var $name =
'PLUGIN_NAME';
* Code, if this is a renderer or pingback plugin.
var $author =
'http://example.com/';
* This gets called after a plugin has been registered/instantiated.
$this->long_desc =
$this->T_('Longer description. You may also remove this.');
* Define settings that the plugin uses/provides.
* Define user settings that the plugin uses/provides.
// If you use hooks, that are not present in b2evo 1.8, you should also add
// a GetDependencies() function and require the b2evo version your Plugin needs.
// See http://doc.b2evolution.net/stable/plugins/Plugin.html#methodGetDependencies
// Add the methods to hook into here...
// See http://doc.b2evolution.net/stable/plugins/Plugin.html