Okay, I found the two PHP files used for the plugin. Can these be modified to work on WordPress?
Here is one of the files content:
<?php
/**
* This file implements the Lottery Plugin
*
*
*/
if( !defined( 'EVO_MAIN_INIT' ) ) die( 'Please, do not access this page directly.' );
/**
* Random Picture Plugin Widget
*
* This widget displays a randomly chosen lottery balls in the sidebar or in another container
*
* @package plugins
*/
class after_categories_plugin extends Plugin
{
/**
* Variables below MUST be overriden by plugin implementations,
* either in the subclass declaration or in the subclass constructor.
*/
var $name = 'After Categories';
var $code = 'submit2';
var $priority = 99;
var $version = '0.1';
var $author = 'Foppe Hemminga';
var $help_url = 'http://www.blog.hemminga.net/';
var $group = 'Amazing Discoveries';
var $debug_this_widget = 0;
function PluginInit( & $params )
{
$this->short_desc = $this->T_( 'This widget creates a submit button for the Categories widget.' );
$this->long_desc = $this->T_( 'This widget must be placed in the same container after the Catgories widget.' );
}
/**
*
* Settings for this widget
* The current_draw and date_current_draw are hidden settings (not adjustable by user)
* needed to get the settings in the database.
* This is a workaround for a real database table structure.
*
*/
function GetDefaultSettings()
{
return array(
);
}
/**
* Get definitions for widget specific editable params
*
* @see Plugin::GetDefaultSettings()
* @param local params like 'for_editing' Arrow true
*/
function get_widget_param_definitions( $params )
{
return array(
);
}
/**
* Sets all the display parameters
* these will either be the default display params
* or the widget display params if it's in a container
*
* @param array $params
*/
function init_display( $params = array() )
{
$temp = $this->get_widget_param_definitions( array() );
$full_params = array();
foreach( $temp as $setting => $values )
$full_params[ $setting ] = ( isset( $params[ $setting ] ) ? $params[ $setting ] : $this->Settings->get( $setting ) );
foreach( $params as $param => $value )
$full_params[ $param ] = $value;
return $full_params;
}
function SkinTag( $params )
{
// If the widget params aren't set up, using the plugin defaults
$params = $this->init_display( $params );
$this->showblock( $params );
return true;
}
/**
*
* Where it all comes together
*
*/
function showblock( $params )
{
?>
<div class="bSideItem widget_core_coll_category_list">
<input name="submit" class="submit" value="Get selection" type="submit">
</form>
</div>
<?php
}
}
/**
*
* Version 0.1.0: 2008-04-19 - Initial release
*
*/
?>