File : plugin_info.php

<?php
/*
This file is a dummy plugin that you can use to create your own remote plugin for Jomres.
 
It is a bare minimum example that doesn't actually do anything.
If you would like to create your own plugins for Jomres you need to know a couple of things.
 
The plugin has a name. This name should not have any spaces or non-latin in it, so
 
test_plugin : valid
test plugin : not valid
test^plugin : not valid
 
1. The zip file must be called the plugin's name, so in this example, the zip file is called dummy_third_party_plugin.zip
2. The zip file must contain _at least_ the file plugin_info.php
3. The zip file would, one assumes, also contain the files you're using to modify the core functionality of Jomres
 
In plugin_info.php
 
3. The class name must be as in this example, eg plugin_info_plugin_name
4. It's only function should have the same name, eg plugin_info_plugin_name
5. Finally the this->data variable's "name" must be the plugin's name, eg "name"=>"plugin_name"
 
It is possible to check for the existance of other plugs
 
*/
class plugin_info_dummy_third_party_plugin
{
function plugin_info_dummy_third_party_plugin()
{
$this->data=array(
"name"=>"dummy_third_party_plugin",
"version"=>(float)"1",
"description"=> "A dummy plugin for testing third party plugin installation.",
"lastupdate"=>"2009/03/04",
"author"=>"Vince Wooll",
"authoremail"=>"sales@jomres.net"
);
}
}
 
?>
This document is copyright Vince Wooll/Woollyinwales IT, 2011. All rights reserved.