Announcement

Collapse
No announcement yet.

Broken Custom BB Codes

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

  • Broken Custom BB Codes

    Hello
    I just imported from phpBB3 to Vbulletien

    Custon BB Codes are Broken
    they display as follwing in Vbulletien.

    [fzs:a6agdnlc]TEST123[/fzs:a6agdnlc]

    The intended code was this -> [fzs]TEST123[/fzs]
    which in turn became http://www.website.com/TEST123

    Pls help me fix it.
    Whwat i need to do

  • #2
    I have the exact same problem. Is there a fix?

    Comment


    • #3
      Custom bbcode will always need to be cleaned up manually, as the target or decision on each one is relative to each board.

      You can use cleaner in this way :

      http://www.vbulletin.com/forum/showp...91&postcount=6

      PHP Code:
      $text preg_replace('#\[([a-z0-9]+):([a-z0-9]+)\](.*)\[/\\1:\\2\]#siU''[$1]$3[/$1]'$text); 
      That will swap out ANY TAG that has [something:somethingelse] to [something].

      If you want to do them one at a time you can use :

      PHP Code:
      $text preg_replace('#\[fzs:([a-z0-9]+)\](.*)\[/fzs:\\2\]#siU''[$1]$3[/$1]'$text); 
      These are given as examples on how to cleanup a board, the specifics of each clean up job is up to the admin.
      I wrote ImpEx.

      Blog | Me

      Comment

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