<?php
// $Id: xoops_version.php,v 1.4 2004/10/25 20:33:42 Farsus Exp $
// -------------------------------------------------------------------------//
//                               RUNCMS
//
//         Relaible - Unique - Nocost &  Simplicity & ease off use
//                       < http://www.runcms.org >
// -------------------------------------------------------------------------//

// ------------------------------------------------------------------------- //
// Info
$modversion['name']        = _MI_NEWBBPLUS_NAME;
$modversion['version']     = 0.81;
$modversion['description'] = _MI_NEWBBPLUS_DESC;
$modversion['credits']     = 'Attachments based on alphalogics newbb attachment hack';
$modversion['author']      = 'Additional features by kyle.harrison@dsl.pipex.com';
$modversion['license']     = 'GPL: See /manual/LICENSES/GPL.txt';
$modversion['official']    = 0;

// ------------------------------------------------------------------------- //
// Base Info
$modversion['image']       = 'images/newbb_slogo.gif';
$modversion['dirname']     = 'newbb_plus';

// ------------------------------------------------------------------------- //
// SQL
$modversion['sqlfile']['mysql'] = 'sql/mysql.sql';

$modversion['tables'][0]  = 'bbplus_categories';
$modversion['tables'][1]  = 'bbplus_forum_access';
$modversion['tables'][2]  = 'bbplus_forum_mods';
$modversion['tables'][3]  = 'bbplus_forums';
$modversion['tables'][4]  = 'bbplus_posts';
$modversion['tables'][5]  = 'bbplus_topics';
$modversion['tables'][6]  = 'bbplus_forum_group_access';
$modversion['tables'][7]  = 'bbplus_whosonline';
$modversion['tables'][8]  = 'bbplus_poll_desc';
$modversion['tables'][9]  = 'bbplus_poll_log';
$modversion['tables'][10] = 'bbplus_poll_option';
$modversion['tables'][11] = 'bbplus_topics_mail';
$modversion['tables'][12] = 'bbplus_attachments';

// ------------------------------------------------------------------------- //
// Admin
$modversion['hasAdmin']   = 1;
$modversion['adminindex'] = 'admin/index.php';
$modversion['adminmenu']  = 'admin/menu.php';

// ------------------------------------------------------------------------- //
// Menu
$modversion['hasMain'] = 1;

$modversion['sub'][1]['name'] = _MI_NEWBBPLUS_RECENT;
$modversion['sub'][1]['url']  = 'topten.php';

$modversion['sub'][2]['name'] = _MI_NEWBBPLUS_VIEWED;
$modversion['sub'][2]['url']  = 'topten.php?op=1';

$modversion['sub'][3]['name'] = _MI_NEWBBPLUS_ACTIVE;
$modversion['sub'][3]['url']  = 'topten.php?op=2';

$modversion['sub'][4]['name'] = _MI_NEWBBPLUS_ARCHIVE;
$modversion['sub'][4]['url']  = 'archive.php';

// ------------------------------------------------------------------------- //
// Blocks
$modversion['blocks'][1]['file']        = 'newbb_new.php';
$modversion['blocks'][1]['name']        = _MI_NEWBBPLUS_BNAME1;
$modversion['blocks'][1]['description'] = 'Shows recent topics in the forums';
$modversion['blocks'][1]['show_func']   = 'b_newbb_new_show';
$modversion['blocks'][1]['options']     = '0|1|1|1|1|33|19|5|1|0';
$modversion['blocks'][1]['edit_func']   = 'b_newbb_new_edit';

// ------------------------------------------------------------------------- //
// Search
$modversion['hasSearch']      = 1;
$modversion['search']['file'] = 'include/search.inc.php';
$modversion['search']['func'] = 'newbbplus_search';

?>