Announcement

Collapse
No announcement yet.

Banners/Images won't show up

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

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

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


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

      Comment


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