Hack:My portal

I will be updating this documentation soon. Still work in progress.

What is MW: my portal
My Portal is a MediaWiki hack, it is NOT a MediaWiki extension, that allows users to have a custom portal page like MyGoogle, MyYahoo, etc. It is a modified version of Simplortal (simplortal.bzzt.net).

Description of Simplortal from Simplortal Site:

Simplortal is a portal engine which focuses on simplicity, modularity, and being highly configurable, not only for the administrator, but also for the end user. Users can log in and make their own selection of the content they want to see, and even (if the administrator allows it) add their own HTML blocks, RSS feeds, etc.

Note: Most up to date version of this extension can be found at: http://www.chekmate.org/wiki/index.php/Projects

Maintainer
Shannon McNaught (smcnaught) - I am also available on irc.chekmate.org #MediaWiki

Homepage
ChekMate Technical Focus Group

License
MW: My Portal Adds My Portal functionality to MediaWiki

Copyright (C) 2006 Shannon McNaught

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Download

 * http://www.chekmate.org/wiki/simplortal-0-01b.tgz simplortal-0-01b.tgz

Installation

 * Extract Simplortal-0-01b.tgz to a directory
 * Move the simplortal directory to the wiki directory

Change these items in the simplortal/config.inc.php file
$db_host = "localhost"; $db_user = "username"; $db_pass = "password"; $db_database = "wiki";

Add tables to the wiki database
USE wiki;

CREATE TABLE `blocks` ( `user` varchar(20) NOT NULL default '',  `moduleconfig` int(11) NOT NULL default '0',  `row` int(11) NOT NULL default '0',  `col` int(11) NOT NULL default '0',  PRIMARY KEY  (`user`,`row`,`col`) );

CREATE TABLE `moduleconfigs` ( `id` int(11) NOT NULL auto_increment,  `moduletype` int(11) NOT NULL default '0',  `configuration` text,  PRIMARY KEY  (`id`) );

CREATE TABLE `moduletypes` ( `id` int(11) NOT NULL auto_increment,  `name` varchar(20) default NULL,  `shortname` varchar(20) default NULL,  `type` varchar(20) default NULL,  PRIMARY KEY  (`id`) );

CREATE TABLE `categories` ( `id` int(11) NOT NULL auto_increment,  `cat` text NOT NULL,  `num` int(11) NOT NULL default '0',  PRIMARY KEY  (`id`) );

INSERT INTO `moduletypes` VALUES (1, 'Raw HTML', 'rawhtml', 'php'); INSERT INTO `moduletypes` VALUES (2, 'RSS feed', 'rss', 'php'); INSERT INTO `moduletypes` VALUES (3, 'iFrame', 'iframe', 'php');

Making "my portal" in the user menu
/* set up the default links for the personal toolbar */
 * link is in /wiki/includes/SkinTemplate.php
 * Look for

Added: $personal_urls['mypage'] = array(                               'text' => "my portal",                                'href' => "/wiki/simplortal"                        );

Change Log
version 0.01b - initial version

Online Example
Create a User account on http://www.chekmate.org/wiki/ and click on "my portal" located within the user menu at the top.

Simplortal

 * Simplortal Homepage: simplortal.bzzt.net
 * https://sourceforge.net/projects/simplortal/ sf.net project page
 * The code: http://simplortal.cvs.sourceforge.net/ in CVS

Similar Projects

 * https://sourceforge.net/projects/metadot/ Metadot (nice but complicated, seems held hostage by a company)
 * https://sourceforge.net/projects/hpe/ HPE (nice but complicated, stalled since author continued work under a private license)

Other sites using this extension

 * ChekMate Technical Focus Group