Page 1 of 1

[BUG & FIX]Period before word .script; shoutbox,post pre

PostPosted: Sun Feb 04, 2007 7:46 am
Author: Teelk
OPEN posting.php
FIND
        $preview_message = str_replace("n", '<br>', $preview_message);


AFTER ADD
        if (strpos($preview_message, '..script') !== false) {             $preview_message = str_replace ('..script', ".script", $preview_message);         }


OPEN shoutbox_max.php
FIND
            $preview_message = str_replace("n", '<br>', $preview_message);


AFTER ADD
            if (strpos($preview_message, '..script') !== false) {                 $preview_message = str_replace ('..script', ".script", $preview_message);             }


FIND
    $shout = str_replace("n", "n<br>n", $shout);


AFTER ADD
    if (strpos($shout, '..script') !== false) {         $shout = str_replace ('..script', ".script", $shout);     }


OPEN shoutbox_view.php
FIND
        $shout = str_replace("n", "n<br>n", $shout);


AFTER ADD
        if (strpos($shout, '..script') !== false) {             $shout = str_replace ('..script', ".script", $shout);         }