PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Sep 28, 2020 5:57 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Broken code tag?
PostPosted: Sat Jan 26, 2008 6:13 am 
Offline
DevNet Resident
User avatar

Joined: Fri Aug 08, 2003 6:53 pm
Posts: 2101
Location: Sweden


Top
 Profile  
 
 Post subject: Re: Broken code tag?
PostPosted: Sat Jan 26, 2008 6:16 am 
Offline
Breakbeat Nuttzer
User avatar

Joined: Wed Mar 24, 2004 8:57 am
Posts: 13098
Location: Melbourne, Australia


Top
 Profile  
 
 Post subject: Re: Broken code tag?
PostPosted: Sat Jan 26, 2008 6:20 am 
Offline
DevNet Resident
User avatar

Joined: Fri Aug 08, 2003 6:53 pm
Posts: 2101
Location: Sweden
No, didn't think so either. I've modded phpbb3 for some o' months now and never had these issues myself, even after adding hombrew bbcode java/php/sql/aso snippets.
I do know however that the phpbb2-phptag-version of phpdn was 'slightly' (understatment of the year?) edited so I just thought that it were a phpbb3 version aswell somewhere. :D

Good luck tho! I'm sure it's a simple stupid thingy...


Top
 Profile  
 
 Post subject: Re: Broken code tag?
PostPosted: Sat Jan 26, 2008 6:34 am 
Offline
Breakbeat Nuttzer
User avatar

Joined: Wed Mar 24, 2004 8:57 am
Posts: 13098
Location: Melbourne, Australia
I reckon the guy who wrote the bbGeSHi mod has magic_quotes turned on and has blindly used stripslashes() somewhere.


Top
 Profile  
 
 Post subject: Re: Broken code tag?
PostPosted: Sat Jan 26, 2008 12:03 pm 
Offline
Site Administrator
User avatar

Joined: Tue Sep 09, 2003 6:04 pm
Posts: 14293
Location: Fremont, CA, USA
You know what? I am almost certain that it does. I was using a WordPress GeSHi plugin that required addslashes in order to post PHP code correctly. I think you are right Chris.


Top
 Profile  
 
 Post subject: Re: Broken code tag?
PostPosted: Sun Jan 27, 2008 2:17 am 
Offline
DevNet Master
User avatar

Joined: Wed Dec 06, 2006 5:14 pm
Posts: 3635
Location: Toronto, Canada
has trouble with setting constants as well - I posted a class in the SwiftMailer forum and had to comment them out :-(

Not a big deal, just reporting!


Top
 Profile  
 
 Post subject: Re: Broken code tag?
PostPosted: Tue Jan 29, 2008 9:33 am 
Offline
DevNet Master
User avatar

Joined: Tue May 24, 2005 6:01 pm
Posts: 3179
Location: UK
With smilies disabled:
Syntax: [ Download ] [ Hide ]
foo(.8);


Top
 Profile  
 
 Post subject: Re: Broken code tag?
PostPosted: Tue Jan 29, 2008 9:34 am 
Offline
DevNet Master
User avatar

Joined: Tue May 24, 2005 6:01 pm
Posts: 3179
Location: UK
With smilies enabled:
Syntax: [ Download ] [ Hide ]
foo(.<!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) -->;


Top
 Profile  
 
 Post subject: Re: Broken code tag?
PostPosted: Tue Jan 29, 2008 10:53 am 
Offline
Moderator
User avatar

Joined: Mon Nov 03, 2003 7:13 pm
Posts: 5978
Location: Odessa, Ukraine


Top
 Profile  
 
 Post subject: Re: Broken code tag?
PostPosted: Thu Jan 31, 2008 2:15 pm 
Offline
DevNet Resident
User avatar

Joined: Fri Aug 08, 2003 6:53 pm
Posts: 2101
Location: Sweden


Top
 Profile  
 
 Post subject: Re: Broken code tag?
PostPosted: Wed May 07, 2008 9:36 am 
Offline
Forum Contributor
User avatar

Joined: Sun May 07, 2006 5:19 am
Posts: 101


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 6 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group