!Forum Plugin (Under construction)

First off, all credit for this forum goes to [Ikonboard|http://www.ikonboard.com/].  Most of the styling, html, css stylesheets and whatnot were borrowed from their forums.  I sincerely wish I could have just installed their free forum software, but it's too self-contained for my purposes, I really wanted a forum that was contained within the wiki.

Secondly, please be patient.  I will be posting code and instructions here, but I recommend against trying it out on anything but a test environment.  Please, __feel free__ to take the code and run with it.  It is only the idea I really wish to communicate, my implementation is not that good.  One major problem is that I am using JSP pages for the forum pages, so it's not entirely a plugin. (yet)
\\
----
\\
__[Zipped Example|Test Install.zip]__
Ok, to simplify things I've done all of the following steps on an fresh install of jspwiki-2.1.86, tested it, and zipped up the whole directory.  If you have any questions please feel free to email me. (millejos at yahoo.com)\\
\\
Also, looks like I forgot a file in the template folder, addTopic.jsp, so you will need to add that attached file into templates/default/
\\
----
\\
__Full Instructions:__ (This is currently very convoluted)

1.  In your template folder, add the following lines to ~ViewTemplate.jsp: {{{ <wiki:CheckRequestContext context="forum">
 <wiki:Include page="Forum.jsp" />
 </wiki:CheckRequestContext>}}}

2.  Copy the following files in the zipfile into your template folder:
 {{Forum.jsp, Forum_Edit.jsp, Forum_Save.jsp, ikonboard.css}}

3.  Copy Forum.jar into your WEB-INF/lib/ folder.

4.  Copy the other Forum.jsp into your base folder.

5.  In the WEB-INF/lib/ folder replace JSPWiki.jar with the one in the zipfile.  You have to do this because I changed the ~WikiContext class to include the Forum.

6.  Also, copy mysql-connector-java-3.0.9-stable-bin.jar into your WEB-INF/lib/ folder. (MySQL connector)

7.  There are a bunch of images in the images folder that should be copied over...

8.  Lastly, install MySQL and create the following tables in a database called forum:
{{{# Host: localhost
# Database: forum
# Table: 'post'
# 
CREATE TABLE `post` (
  `index` int(11) NOT NULL auto_increment,
  `topic_index` int(11) NOT NULL default '0',
  `text` text NOT NULL,
  `user` varchar(100) NOT NULL default '',
  `timestamp` datetime NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY  (`index`)
) TYPE=MyISAM; 

# Host: localhost
# Database: forum
# Table: 'topic'
# 
CREATE TABLE `topic` (
  `index` int(11) NOT NULL auto_increment,
  `forum_title` varchar(255) NOT NULL default '0',
  `title` varchar(255) NOT NULL default '',
  `starter` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`index`)
) TYPE=MyISAM; 
}}}
\\
----
\\
!!Screenshots
\\
[forum1.png]
\\
[forum2.png]
\\