$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.
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 ( and ?>) 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.
Download new mega danger fantastic 0.6 release: http://funkboard.sourceforge.net/downloads/?file=8