<?php
/**
* Plugin Copyright
* ALA
* MyBBSource.com
*/
if(!defined("IN_MYBB")) {
die("This file cannot be accessed directly.");
}
//Add Your Hooks
$plugins->add_hook("HOOK NAME", "FUNCTION_NAME");
//REQUIRED
function FILENAME_info()
{
return array(
'name' => 'Plugin Name',
'description' => 'Plugin Description',
'website' => 'Website',
'author' => 'Author ALA Nickman',
'authorsite' => 'Website',
'version' => '1.0',
);
}
function FILENAME_activate() {
global $db;
//stuff to do on activation of the plugin
}
function FILENAME_deactive()
{
//stuff to do on the deactivation of this plugin
//IE Undo the above
}
function FUNCTION_NAME() {
global $mybb,$db,$lang;
//DO SOMETHING WHEN THE HOOK IS CALLED
}
?>