Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24462/boost Added Files: about.html uninstall.php dependency.xml permission.php install.sql controlpanel.php boost.php Log Message: Initial Version --- NEW FILE: uninstall.php --- <?php /** * This is the phpWsBB uninstall file for Boost * * @version $Id: uninstall.php,v 1.1 2008/08/23 04:19:20 adarkling Exp $ * @author Eloi George <el...@NO...> */ function phpwsbb_uninstall(&$content) { PHPWS_DB::dropTable('phpwsbb_forums'); PHPWS_DB::dropTable('phpwsbb_topics'); PHPWS_DB::dropTable('phpwsbb_users'); $content[] = dgettext('phpwsbb', 'Bulletin Board tables removed.'); return TRUE; } ?> --- NEW FILE: dependency.xml --- <?xml version="1.0"?> <dependency> <module> <title>comments</title> <properName>Comments</properName> <version>0.6.3</version> <url>http://phpwebsite.appstate.edu/comments</url> </module> </dependency> --- NEW FILE: permission.php --- <?php $use_permissions = TRUE; $permissions['fork_messages'] = dgettext('phpwsbb', 'Fork Messages Into New Threads'); $permissions['delete_threads'] = dgettext('phpwsbb', 'Delete Threads'); $permissions['sticky_threads'] = dgettext('phpwsbb', 'Mark Threads Sticky'); $permissions['move_threads'] = dgettext('phpwsbb', 'Move Threads between Forums'); $permissions['hide_threads'] = dgettext('phpwsbb', 'Hide/Show Threads'); $permissions['manage_forums'] = dgettext('phpwsbb', 'Manage Forums (Super Moderator)'); $item_permissions = TRUE; ?> --- NEW FILE: boost.php --- <?php /** * This is the phpWsBB mod_info file for Boost * * @version $Id: boost.php,v 1.1 2008/08/23 04:19:20 adarkling Exp $ * * @author Eloi George <el...@NO...> * @module phpwsBB */ $proper_name = 'Bulletin Board'; $version = '2.0.0'; $register = FALSE; $unregister = FALSE; $import_sql = TRUE; $image_dir = FALSE; $file_dir = FALSE; $about = TRUE; $version_http = 'http://bygeorgeware.com/downloads/phpwsbb/check.xml'; $priority = 50; $dependency = TRUE; ?> --- NEW FILE: install.sql --- -- $Id: install.sql,v 1.1 2008/08/23 04:19:20 adarkling Exp $ CREATE TABLE phpwsbb_forums ( id int NOT NULL default '0', key_id int NOT NULL default '0', is_phpwsbb int NOT NULL default '1', title varchar(255) NOT NULL default '', description varchar(255) NOT NULL default '', topics int NOT NULL default '0', sortorder int NOT NULL default '', posts int NOT NULL default '0', moderators varchar(255) NOT NULL default '', allow_anon smallint NOT NULL default 0, default_approval smallint NOT NULL default 0, locked smallint NOT NULL default '0', PRIMARY KEY (id) ); CREATE TABLE phpwsbb_topics ( id int NOT NULL default '0', key_id int NOT NULL, is_phpwsbb smallint NOT NULL default '1', fid int NOT NULL default '0', sticky smallint NOT NULL default '0', locked smallint NOT NULL default '0', total_posts int NOT NULL default '0', views int NOT NULL default '0', lastpost_post_id int NOT NULL default '0', lastpost_date int NOT NULL default '0', lastpost_author_id int NOT NULL default '0', lastpost_author varchar(50), PRIMARY KEY (id) ); CREATE INDEX phpwsbb_topics_fid_idx ON phpwsbb_topics (fid); CREATE INDEX phpwsbb_topics_key_id_idx ON phpwsbb_topics (key_id); CREATE TABLE phpwsbb_users ( user_id int NOT NULL, last_on int NOT NULL default '0', last_activity int NOT NULL default '0', PRIMARY KEY (user_id) ); CREATE TABLE phpwsbb_moderators ( forum_id int(11) NOT NULL, user_id int(11) NOT NULL, username varchar(255) NOT NULL ); CREATE INDEX phpwsbb_moderators_forum_id_idx ON phpwsbb_moderators (forum_id); CREATE INDEX phpwsbb_moderators_user_id_idx ON phpwsbb_moderators (user_id); --- NEW FILE: controlpanel.php --- <?php $link[] = array ('label' => dgettext('phpwsbb', 'phpWs Bulletin Board'), 'restricted' => FALSE, 'url' => 'index.php?module=phpwsbb', 'description' => 'A bulletin board module.', 'image' => 'phpwsbb.png', 'tab' => 'content'); $link[] = array ('label' => dgettext('phpwsbb', 'phpWs Bulletin Board'), 'restricted' => TRUE, 'url' => 'index.php?module=phpwsbb&op=settings', 'description' => 'A bulletin board module.', 'image' => 'phpwsbb.png', 'tab' => 'admin'); ?> --- NEW FILE: about.html --- <html> <head> <title>Bulletin Board Module</title> <link rel="stylesheet" type="text/css" href="themes/default/style.css" /> <link rel="stylesheet" type="text/css" href="themes/default/default.css" /> </head> <body class="padded"> <h1>phpws Bulletin Board (phpwsbb)</h1> <h3>By Eloi George</h3> <p>phpwsbb is a <a href="http://en.wikipedia.org/wiki/Internet_forum" target="_blank">Internet Bulletin Board module</a> that allows users of your website to create and participate in discussions.</p> <p>phpwsbb builds on top of the Comments module to let content of any module that has attached comments to be included in any Bulletin Board Forum.</p> <p class="align-center padded"><input type="button" onclick="window.close()" value="Close" /></p> </body> </html> |