Fix for replacement code problem in vB Code
by
09 Mar 2002
I'm almost embarrassed to call this a 'hack', particularly sincve it's not even mine! :stupid: Actually the code came from FireFly who PM'd me with the answer to this problem I posted on vb.com: http://www.vbulletin.com/forum/showthread.php?s=&threadid=41430 The problem arises if you try to use replacement variables in vB Code. Beginning with 2.2.3, this no longer works. However the fix (thanks to Chen!) is simple. Just remove or comment out this line from admin/functions.php: PHP Code:
$bbcode=str_replace("{", "{", $bbcode); // stop people posting replacements in their posts
|