Announcement

Collapse
No announcement yet.

bbcode messed up

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

  • bbcode messed up

    my bbcode [img2:kisjdiushi]http://example.com/image.jpg[img2:efsefsefs] is messed up like that.
    all other bbcodes i could fix with this replace:
    PHP Code:
    $text preg_replace('#\[fzs:([a-z0-9]+)\](.*)\[/fzs:\\2\]#siU''[$1]$3[/$1]'$text); 
    and
    PHP Code:
    $text preg_replace('#\\[([a-z]+):([a-z0-9]+)\](.*)\[/\\1:\\2\]#siU''[$1]$3[/$1]'$text); 
    but this [img2] is with a number and i can'T fix it. do you know a replace for this one?

    /EDIT


    ok now i messed it up to the end with this code ...
    the bbcode is now like that: example:
    HTML Code:
    ttp://img1.pixhost.org/thumbs/246/604_jpg[/img2:3l7ad8ty]
    Last edited by Ghostt; Sat 28th Nov '09, 3:33am.

  • #2
    no support?

    Comment


    • #3
      need still help here please!!! important

      Comment


      • #4
        no ideas?

        Comment


        • #5
          help please omg ??? you ignore me or just dont understand the problem??

          Comment


          • #6
            Submit a ticket.

            Comment


            • #7
              ive allready done a ticket.he cant help me coz he isnt a coder

              Comment


              • #8
                Help pls

                Comment


                • #9
                  Sorry I do not know how to do this.
                  Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                  Change CKEditor Colors to Match Style (for 4.1.4 and above)

                  Steve Machol Photography


                  Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                  Comment


                  • #10
                    OMG i need a solution!

                    Comment


                    • #11
                      cant belive there isnt any replace for this???

                      Comment


                      • #12
                        someone know a solution for it?

                        Comment


                        • #13
                          still need help

                          can you modify this replacecode for this to work?

                          PHP Code:
                          $text preg_replace('#\[fzs:([a-z0-9]+)\](.*)\[/fzs:\\2\]#siU''[$1]$3[/$1]'$text); 

                          Comment

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