Zzed, I couldn't do the new version with the following line:
PHP Code:
$bbcode=str_replace("{", "{", $bbcode); // stop people posting replacements in their posts
Because my line for that is this:
PHP Code:
// $bbcode=str_replace("{", "{", $bbcode); // stop people posting replacements in their posts
because of another hack. I just changed the "// ###################### Startdorainbow #######################" part and left the first part from version 1 in there instead. It seems to work.