Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Switching forums to RPGBoard

Reply to topic
Author Message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8651
  • Location: Paris, France
Reply with quote
Switching forums to RPGBoard
Post 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.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8651
  • Location: Paris, France
Reply with quote
Tuning
Post Posted: Wed Feb 11, 2004 11:57 am
Of course, RPGboard can be tuned to be light and match SMS Power design.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14741
  • Location: London
Reply with quote
Slightly related
Post Posted: Wed Feb 11, 2004 12:40 pm
Quote
> 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.

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
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8651
  • Location: Paris, France
Reply with quote
Re: Slightly related
Post Posted: Wed Feb 11, 2004 1:53 pm
Quote
> > 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.
> 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.

Did you succeed in merging all different backups archives into a single tree?

Quote
>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.

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.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14741
  • Location: London
Reply with quote
Re: Slightly related
Post Posted: Thu Feb 12, 2004 8:42 am
Quote
> Did you succeed in merging all different backups archives into a single tree?

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
}

Quote
> 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.

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
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!