Showing code in code tags - bug!
iamback
Registered Users Posts: 288 Major grins
I just tried to embed some HTML code samples in a post in [code]...[/code] tags - only to find that the HTML inside them was interpreted - i.e., the code tags don't do what they should!
(I worked around it by "escaping" every opening "<" as < but of course not every forum user could be expected to think of such a workaround.)
Time for vBulletin upgrade, maybe?
I also note that you support only code and php tags - adding html might be useful.
(I worked around it by "escaping" every opening "<" as < but of course not every forum user could be expected to think of such a workaround.)
Time for vBulletin upgrade, maybe?
I also note that you support only code and php tags - adding html might be useful.
Marjolein Katsma
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
0
Comments
An upgrade won't help. We have purposely turned HTML off in the forums. Too many possible errors to chase down if it was turned on. Sorry. As you noted, there are vBulletin code tags along with other options in the editor for you to get creative in your posts.
"You miss 100% of the shots you don't take" - Wayne Gretzky
Portfolio • Workshops • Facebook • Twitter
What's more, I just reported that the HTML in a "code" code block is interpreted - so you are allowing it!! You'd better close that security hole speedily. And then allow HTML code blocks to show HTML code as code: that's what it's for.
I know it can be done with vBulletin, I 'm on another vBulletin forum where we use it all the time to discuss code. You even get some syntax highlighting for free, making it easier to read the code as well!
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
(At least the [code] section, but having [HTML] enabled - instead of [PHP] - would be helpful!)
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
Portfolio • Workshops • Facebook • Twitter
This just isn't going to get you very far around here, Lamback.
Dgrin FAQ | Me | Workshops
I'm asking to enable vBulletin's "HTML code block" so HTML code can be shown as HTML code, with syntax highlighting and all.
Not only would that be more useful than the generic "code code block", it would also prevent HTML from being interpreted.
Is anyone round here ever showing PHP code? All I ever see is HTML/CSS which is what vBulletin's HTML code block is intended for.
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
<img src="https://us.v-cdn.net/6029383/emoji/headscratch.gif" border="0" alt="" >
You mean like this?
[HTML]
<h1>My Header</h1>
<h2>My little header that could</h2>
<img src="yada.png" width=100 height=250>
[/HTML]
Far as I know that's been enabled for quite a long time. <img src="https://us.v-cdn.net/6029383/emoji/ne_nau.gif" border="0" alt="" >
[php]
if ($bbuserinfo == 'Top')
{
$vboptions = 0;
}
[/php]
http://wall-art.smugmug.com/
Yeah, a week is a long time... <img src="https://us.v-cdn.net/6029383/emoji/rolleyes1.gif" border="0" alt="" >
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
and purple are barely visible in default style.
Wish there was a way to use bold, might help.
example
[html]
<h1>My Header</h1>
<h2>My little header that could</h2>
<img src="yada.png" width=100 height=250>
[/html]
My Website index | My Blog
Nope, you never pissed me off. You didn't endear yourself to me, or any of the other folks here though, either. Actually, your entire way about it was just annoying and sad.
Sorry, I call it like I see it.
Portfolio • Workshops • Facebook • Twitter
[html]This is bold HTML Code[/html]
GreyLeaf PhotoGraphy
default style..
This is bold
[html]
<h1>My Header</h1>
<h2>My little header that could</h2>
<img src="yada.png" width=100 height=250>
[/html]
This is not bold
[html] <h1>My Header</h1>
<h2>My little header that could</h2>
<img src="yada.png" width=100 height=250>
[/html]
My Website index | My Blog
Huh, I coulda sworn that feature was enabled a long time ago... but then I use about a dozen different vBulletin boards, so could be thinking of a different one.
http://wall-art.smugmug.com/