FunkBoard FAQ & things to do after the FunkBoard

You can:
  1. just fix stuff already known,
  2. Learn PHP 'n' hack FunkBoard, or
  3. download 0.6 & see what was almost done in it.

Known bugs

  1. Duplicate keys: bad key generation by me. Answer is here in one form or another. (It may not be your exact problem, but, find the page the error occurs in, and you will find code very similar to this, and you can fix it the same way.)
  2. Usernames/subjects contain HTML: you can add $thing=parse_msg($thing);, or, for brute force goodness, just add something like this to the parse_msg function in global.php:
    $thingy=str_replace("javascript","JAVASCRIPT TENDS TO BE ANNOYING",$thingy);
    
    Where "javascript" is the annoying crap you want to get rid of, and the second argument as your humorous alternative.
  3. forums.php doesn't execute in time (well, it never will): answer is here.
  4. whosonline/priv msg install help: here, here or maybe here.

Learn PHP

I'm giving up FunkBoard, but for someone who likes hacking up stuff, but not writing it completely from scratch, this could be fun.

OK, to fix up FunkBoard, and there's quite a bit of fixing to do, you will need to understand a little about PHP so I don't have to explain what exact line things must go on (since these can change).

Code like:

echo "stuff";
are things printed exactly as they appear in the quotes. Note, this stuff could go on for pages, so the final quote may not come for a while. Obviously you can find other quotes inside those quotes, since they're needed for HTML, but any quotes that are not the final quotes, will be cancelled, with a \, eg. <img src=\"stuff.jpg\">

<? stuff ?>
Anything outside those PHP delimiters () is printed as text, so if you need to execute code, for example the whosonline() function, it must be inside these delimiters, but outside a call to echo "" (like above).

if(code sucks)
Alot of code was written so that it would just work, not necessarily be most efficient or anything. The latest, unfinished release (0.6) fixes alot of this, but, like I said, it hasn't been finished. Most things are completely converted to a new system, eg. posting scripts are integrated. This would be a good system to follow.

Go to http:// www.php.net, it's a fantastic beginners/non-beginners resource. There's not a whole lot to learning PHP, really.

Things not finished in new version, but developed

Download new mega danger fantastic 0.6 release: http://funkboard.sourceforge.net/downloads/?file=8

Ask any questions you have about the new Funkboard in the support forum, and I'll try to answer.
Enjoy FunkBoard by Paul Murphy