This ubb parser is about 10 times faster than ordinary preg_replace/eregi_replace ubb parser.
This parser builds a tree of input text, therefore enabeling it to correct mispellings and unclosed tags.
The script at the moment supports the most common UBB tags, which should be enough, but is also easily extendable to your wishes.
UPDATE:
* [14/02/2004]: Fixed the problem with [php] tags where
* for all array-indexes an closing tag was added.:
* ie: [php]$a[0] = 0;[/php] resulted in
* $a[0] = 0; [/0]?>
The rab1d Fanlisting manager is bundled with LOTS of features, very intuitive. It lets users edit their information once in the fanlisting, of course, lists all the people in your fanlisting.. tells you how many people are in it, and has a waiting list so you can verify if you want them on the fanlisting or not (which is optional). This is a must try!
You put these simple files into a folder, link to avatar.gif or avatar.jpg, and then you have random avatars on your forums, or wherever! It tricks the Forum server into thinking the code is a .gif, and it processes it as php, displaying the random image!
This script redirects the user transparently to a random page or image from a set defined in the URL. It takes an URL as input along with filenames delimited by forward slash. It is supplied with a .htaccess file for apache, allowing you to circumnavigate restrictions base on URL characters (e.g. used by many popular forum applications).