How can I word wrap tags like ['code'] ??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • subduck
    Senior Member
    • Sep 2002
    • 191
    • 3.6.x

    How can I word wrap tags like ['code'] ??

    I have my c++ site at www.subduck.com
    Users post snippets of code regularly, this code stretches out vbulletin which destroys the layout of my site.

    This site somehow accomplished it:


    Also what other tags are similar to the ['code'] tags?'
    Where can I edit these tags? Custom Code?
    Because in custom code I can't find the ['code'] tags, why not?

    I would greatly appreciate it if you would be kind enough to tell me the solution.

    Many Thanks,
    subduck
  • Cary
    Senior Member
    • Apr 2002
    • 4433
    • 3.6.x

    #2
    I believe you can find the 'pre-built in BB code' in admin/functions.php which would require hacking. You need to ask this over at http://vbulletin.org for help help editing it.

    Usually when people post with this 'code' tag it wraps it just like plain text. Could you post some 'Code' over here to see if it wraps?

    Comment

    • subduck
      Senior Member
      • Sep 2002
      • 191
      • 3.6.x

      #3
      Code:
      test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test

      Comment

      • seanf
        Member
        • Jul 2002
        • 89

        #4
        If you find the right section in the code you could run it through www.php.net/manual/en/function.wordwrap.php

        Sean
        SitePoint Advisor (seanf)
        http://sitepointforums.com
        Harry Potter

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...