Banners/Images won't show up

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DannCG
    New Member
    • Oct 2006
    • 25

    Banners/Images won't show up

    After succesfully migration from all banners in signature & all images wont show up due to unreadable bbcode in vb.

    Example :-

    [img]http:486:424:bb0770593c]http://images.cjb.net/0a9e7.jpg[/img:bb0770593c][/img]

    So how? Do i have to use cleaner.php? If yes, please guide me what is the replacing code to use .
  • Jerry
    Senior Member
    • Dec 2002
    • 9137
    • 1.1.x

    #2
    cleaner.php is usually used for static replacements, though there are some place holders in there for regular expression matching.

    To clean up the img link example you posted, you would need to edit cleaner.php line 103 ish which should be this :

    PHP Code:
    #$text = preg_replace('##siU', '', $text); 
    And replace it with this :

    PHP Code:
    $text preg_replace('#\[img](.*)](.*)\[/img:(.*)\[/img]#siU''[img]$2[/img]'$text); 
    I wrote ImpEx.

    Blog | Me

    Comment

    • DannCG
      New Member
      • Oct 2006
      • 25

      #3
      Cleaner was sucessful and i have done update counters. Unluckily, its not works!

      Comment

      • Jerry
        Senior Member
        • Dec 2002
        • 9137
        • 1.1.x

        #4
        For the example you posted that regex cleans it out, I did test it before posting.

        What isn't working ?
        I wrote ImpEx.

        Blog | Me

        Comment

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