Page 1 of 1

[BUG & FIX]Period in front of word script; PM preview

PostPosted: Mon Feb 05, 2007 9:08 am
Author: krillmeed
Your phpBB Version: 2.0.
phpBB Type: phpBB / IMPortal
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://www.krillmeed.com/forum/index.php

PHP Version:
MySQL Version:


What was done before the problem appeared?
Updated to 1.41


What was done to try to solve the problem?




De.scription and Message

Bit of a funny one here :)

Re: description de.scription

PostPosted: Mon Feb 05, 2007 9:41 am
Author: Teelk
Fix for PM preview is as follows...

OPEN profilcp/profilcp_privmsg.php
FIND
Code: Select all
        $preview_message = str_replace("n", '<br>', $preview_message);

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


I don't see this happening in the album anywhere. Where specifically are you getting this?

PostPosted: Mon Feb 05, 2007 9:55 am
Author: krillmeed
sorry just reread the pm from a member, this problem was only in pmÂÂÂ ´s the album bug i have started a new topic :D :D

PostPosted: Mon Feb 05, 2007 9:55 am
Author: krillmeed
forgot to mention, worked perfectly