|
ForumsSega Master System / Mark III / Game GearSG-1000 / SC-3000 / SF-7000 / OMV |
Home - Forums - Games - Scans - Maps - Cheats - Credits Music - Videos - Development - Hacks - Translations - Homebrew |
Author | Message |
---|---|
|
Switching forums to RPGBoard
Posted: Wed Feb 11, 2004 11:56 am
|
While browsing I came accross a forum script called RPGBoard:
http://www.resonatorsoft.org/software/rpgboard/ It allows threaded style discussion (eg: see http://www.theonering.net/rumour_mill/main/index.html) and is much more full-featured than wwwboard that we're using now. It's also in Perl, and features various threads modes, users accounts, new message display and other currently missing features. See here for a comparaison chart with other forums systems. Do you think it'll be good to install here? I'd like to import the current forum archives (~30000 messages in total) thought, so a migration script will have to be written, but I believe it's pretty faisable. |
|
|
Tuning
Posted: Wed Feb 11, 2004 11:57 am
|
Of course, RPGboard can be tuned to be light and match SMS Power design.
|
|
|
Slightly related
Posted: Wed Feb 11, 2004 12:40 pm
|
I was about to post that over Christmas I wrote a (slow) program that extracted the content from the forum archives and built a tree out of it. Then I just remembered it was on the hard disk that died. Ah well. It's not too hard, probably best done in unintelligible Perl rather than in Delphi or C. Maxim |
|
|
Re: Slightly related
Posted: Wed Feb 11, 2004 1:53 pm
|
Did you succeed in merging all different backups archives into a single tree?
I'd do it in Perl or PHP since it's not confortable manipulating strings in raw C, and... I don't know Delphi. Not that I really know PHP but I'm sure it can be learned easily. Now, if it is to integrate to the RPGboard package, the original author will certainly appreciate if we do it in Perl. But that's not mandatory. The only requirement is to actually extract our archive. |
|
|
Re: Slightly related
Posted: Thu Feb 12, 2004 8:42 am
|
Yes. the process was: 1. Load all message files (messages/nnnn.html) one at a time 2. Parse to fields - noting that message content is always stored on a single line, and there are optional fields to be handled 3. Extract a lot of information from the reply box's hidden fields 4. Build a flat tree (no branches, all leaves at root) 4. Sort into a tree by for(all root branches in order) if(parent in tree) { unlink from parent; add as child of parent }
The only problem, I think, is when you changed the form field names recently. In my implementation, building the tree was the slow process (load several thousand messages: a few seconds; sort tree: 15 minutes) but that was because I was directly using a Windows Treeview control which was a bad idea. You really need a language with either unchecked pointers (C) or a powerful tree construct built in (erm... Java? :P). Maxim |
|