Results 1 to 6 of 6

Thread: Code block not working right

  1. #1
    JerWA
    Guest

    Code block not working right

    The [ code ] tags should not process in any way anything between them.

    [ img ] is being processed though.

    Example:
    Code:
    ^ that is:
    [ code ][ img ]http://setiusa.free-dc.org/vbforum/images/seti.usa/logo.gif.png[ img ][ /code] (without spaces obviously)

    As you can see, the IMG tag is being processed. I dunno if this is an option or a bug, but please fix it.

  2. #2
    Platinum Member
    Maxwell's Avatar
    Join Date
    October 25th, 2010
    Location
    Everett, WA
    Posts
    3,300

    Re: Code block not working right

    I have noticed this problem, too, around here, but for the life of my can't remember where. But +1 to JerWA's post...

  3. #3
    Past Administrator
    DrPop's Avatar
    Join Date
    October 13th, 2010
    Location
    SoCal, USA
    Posts
    7,635

    Re: Code block not working right

    I think I understand what you're saying, but I honestly have no idea how to fix something like that. I wonder if it's a bug in VBulliten? Is it enough of a concern that you would like me to take it up with the VBulliten support crew or one of their forums?

  4. #4
    JerWA
    Guest

    Re: Code block not working right

    I'm wondering if it's just a configuration option, whether or not it will process internal tags.

    The code block is usually used to show script code, to avoid the site freaking out about it. That's why I wonder if there's just an option to tell it to not process any tags at all.

    I doubt it's a bug, I'm sure the vB folks would have noticed it right away hehe.

  5. #5
    Platinum Member
    Maxwell's Avatar
    Join Date
    October 25th, 2010
    Location
    Everett, WA
    Posts
    3,300

    Re: Code block not working right

    Somewhere in the admin database there should be some option like "parse code between [CODE] tags?" and set that to no.

  6. #6
    Advisor - Stateside Division
    Bok's Avatar
    Join Date
    October 14th, 2010
    Location
    Wake Forest, NC
    Posts
    1,211

    Re: Code block not working right

    Quote Originally Posted by Maxwell View Post
    Somewhere in the admin database there should be some option like "parse code between [CODE] tags?" and set that to no.
    Correct, you can go into the admin control panel, but it's in a slightly different place than expected. Down the left hand side you'll see an option for custom BB Codes and [ code ] is in there, there is an option for parsing bbcode within which should be turned off.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •