Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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:
    http://www.phpbuilder.com/board

    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

  • #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


    • #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


      • #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...
        X