Forums - Quote marks being back slashed out
-> Help

#1: Forums - Quote marks being back slashed out Author: norbieLocation: Norbie's World PostPosted: Tue Feb 07, 2006 10:29 pm
    ----
I have an issue with the latest CVS' forum formatting.

(Yes I know it's CVS and there is no official support, but I would like to know if any others are experiencing the same issue and know of any ways of fixing it).

When a user creates a post, or a news article (anything really) that contains quote marks it will backslash them out and really screw up the page.

For example if I were to write:

The link doesnt't work for me

it would display as:

The link doesnt\'t work for me

and when someone quotes someone like this:

Code::
[quote="Norbie"]Hello[/quote]

It displays like this:

\"Norbie\ wrote:
Hello

instead of:

Norbie wrote:
Hello

Everytime you edit a post which has had backslashes added to it because there are quotemarks present, it adds a couple more slashes!

Here are some crazy examples!

www.norbiesworld.co.uk...html#13798
^ This post has been edited, and has now got loads of back slashes!

www.norbiesworld.co.uk...html#13826
^ Example of the quote function messing up the page because speech marks were used.

#2: Re: Forums - Quote marks being back slashed out Author: xfsunolesLocation: Melbourne, Florida PostPosted: Wed Feb 08, 2006 7:02 am
    ----
i think Fix_POST Function causing it. $_POST is an array so its walk to Fix_POST Function then its have a checking like magic_quotes_gpc or magic_quotes_sybase is set to true. If those true then its doing stripslashes for it.

#3: Re: Forums - Quote marks being back slashed out Author: norbieLocation: Norbie's World PostPosted: Wed Feb 08, 2006 9:02 am
    ----
Is this something I can fix?

I don't know enough about what you said Sad

#4: Re: Forums - Quote marks being back slashed out Author: norbieLocation: Norbie's World PostPosted: Fri Feb 10, 2006 8:04 pm
    ----
Bump!

#5: Re: Forums - Quote marks being back slashed out Author: norbieLocation: Norbie's World PostPosted: Mon Mar 06, 2006 11:39 am
    ----
Please can anyone help? Sad

This is doing my head in!

#6: Re: Forums - Quote marks being back slashed out Author: R3dRuMLocation: canada PostPosted: Mon Mar 06, 2006 11:58 am
    ----
you can turn magic quotes gpc/sybase on or off in the php.ini file if you have acess to it.

#7: Re: Forums - Quote marks being back slashed out Author: norbieLocation: Norbie's World PostPosted: Mon Mar 06, 2006 12:13 pm
    ----
So turning this off should fix it?



-> Help

All times are GMT

Page 1 of 1