Forums - Quote marks being back slashed out
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexHelp
Author Message
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Forums - Quote marks being back slashed out
Posted: Tue Feb 07, 2006 10:29 pm
Reply with quote

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.

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
xfsunoles
XHTML Specialist


Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida

PostPost subject: Re: Forums - Quote marks being back slashed out
Posted: Wed Feb 08, 2006 7:02 am
Reply with quote

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.

xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Forums - Quote marks being back slashed out
Posted: Wed Feb 08, 2006 9:02 am
Reply with quote

Is this something I can fix?

I don't know enough about what you said Sad

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Forums - Quote marks being back slashed out
Posted: Fri Feb 10, 2006 8:04 pm
Reply with quote

Bump!
_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Forums - Quote marks being back slashed out
Posted: Mon Mar 06, 2006 11:39 am
Reply with quote

Please can anyone help? Sad

This is doing my head in!

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
R3dRuM
Nice poster


Joined: Apr 04, 2005
Posts: 64
Location: canada

PostPost subject: Re: Forums - Quote marks being back slashed out
Posted: Mon Mar 06, 2006 11:58 am
Reply with quote

you can turn magic quotes gpc/sybase on or off in the php.ini file if you have acess to it.
_________________
A Photography News and Resource Community

R3dRuM's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Wamp1.6.1/Apache 2.0.55/MySQL 5.0.18/PHP4.4.2(PHP5.1.2)/9.0.6.1
Back to top
View user's profile Visit poster's website
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Forums - Quote marks being back slashed out
Posted: Mon Mar 06, 2006 12:13 pm
Reply with quote

So turning this off should fix it?
_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexHelp All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.3277 seconds with 16 DB Queries in 0.0321 seconds
Memory Usage: 2.93 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy