I'm trying to edit the [code], [html], and [php] bbcode tags to appear the same but keep the nice coloration in the [html] and [php] ones. The [code] and [html] bbcode is working perfectly. [php] is not, as I'll explain below.
All three of the templates are identical except for the $vbphrase[X]. For the sake of demonstration, let's say they all look like this:
The problem I'm having is that when a page is being generated, the [php] tag is for some mysterious reason inserting an extra set of <code> brackets around the contents.
So, if a user posts this:
vBulletin's code generates and displays this:
Where did those <code> tags come from? They're not in my templates, as I showed above, and I can't figure out where they are being added in any of vBulletin's PHP code.
Help?
This happens in both 3.0.9 and 3.5.0. I doubt this has been fixed in 3.5.1, but if it has, just say so. This bug is keeping me from upgrading my site to vB 3.5.x because I want to finish the new templates before pushing the upgrade.
Thanks in advance!
All three of the templates are identical except for the $vbphrase[X]. For the sake of demonstration, let's say they all look like this:
Code:
<div>$vbphrase[php_code]:</div> <div>$code</div>
So, if a user posts this:
Code:
[php]hello[/php]
Code:
<div>PHP Code:</div> <div><code><font color="#000000"> <font color="#0000BB">hello <br /></font> </font> </code></div>
Help?

This happens in both 3.0.9 and 3.5.0. I doubt this has been fixed in 3.5.1, but if it has, just say so. This bug is keeping me from upgrading my site to vB 3.5.x because I want to finish the new templates before pushing the upgrade.
Thanks in advance!
Comment