Thanks... except it doesn't seem to be working.
I put this line into the bbcodeparse2 function in functions.php
PHP Code:
if ($bbuserinfo[disablecodes]) {
$bbcode = preg_replace("#\[(/?)glow(=[^\]]*)?\]#i", "", $bbcode);
}
DIsablecodes is a new user option field I added and I know it works because my previous kludge works (just badly)
But for some reason, the above line (even using the other regex... you have 2 different regexes in your post) fails to have any effect whatsoever.
I hate regexes