forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: Dankriss on September 21, 2011, 12:48:26 pm

Title: Forum Plug in - New line problem
Post by: Dankriss on September 21, 2011, 12:48:26 pm

Firstly thank you for this amazing plug in just put in and away it went.....  ;D ;D ;D

The one small problem I have is that when typing posts and using the enter key for a new line when I submit the 'new line' becomes letters and / .... ie r/n/r/n or something like that.  How do I over come this problem or is it just me?

Thanks in advance

Kriss :)

http://www.krissharmsworth.com/album/forum.php
Title: Re: Forum Plug in - New line problem
Post by: Dankriss on September 22, 2011, 08:36:27 am
I have taken a screen shot of what is happening if this will help....I know nothing about script but had a quick look around to find out if I can do it myself but getting very confused... :-\

Thanks for any help!

Kriss  :D
Title: Re: Forum Plug in - New line problem
Post by: Αndré on September 22, 2011, 11:24:48 am
Problem happens when magic_quotes_gpc is disabled. In that case the input will be escaped twice thanks to the use of getEscaped and escape_str.

All having this issue please apply the changes of svn revision 8174 (http://coppermine.svn.sourceforge.net/viewvc/coppermine?view=revision&revision=8174) and report if it works for you.
Title: Re: Forum Plug in - New line problem
Post by: Dankriss on September 22, 2011, 12:43:32 pm

Well it worked for me!  Danke!

Although took me a while to work out how to download from sourceforge...have to go into the file and then download from there....I know me stupid... :P

Kriss  :)
Title: Re: Forum Plug in - New line problem
Post by: Αndré on September 22, 2011, 02:03:33 pm
Please
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.
Title: Re: Forum Plug in - New line problem
Post by: Dankriss on September 22, 2011, 04:20:16 pm

Done!

Kriss :)