PtokaX forum

Stuff => Your opinions about the forum => Topic started by: Rob Slob on 23 August, 2006, 11:45:12

Title: [code] tag issues
Post by: Rob Slob on 23 August, 2006, 11:45:12
Can you make it as a code so i can copy and paste?
and thanks mutor!
Title: Re: Report
Post by: Herodes on 23 August, 2006, 11:53:33
Quote from: Rob Slob on 23 August, 2006, 11:45:12
Can you make it as a code so i can copy and paste?
and thanks mutor!
You can go into quote for that post and copy the code from there...
Title: Re: Report
Post by: Rob Slob on 23 August, 2006, 12:44:02
Thanks!
Title: Re: Report
Post by: bastya_elvtars on 23 August, 2006, 12:47:29
Quote from: Herodes on 23 August, 2006, 11:53:33
You can go into quote for that post and copy the code from there...

Bah, the plain [c0de] thingy needs fixing, it parses HTML notations. The GeSHi isue cannot be fixed, that's an IE flaw, or all other browsers are buggy. :-P (The latter is the opinion of Steve Ballmer, MS CEO. :D)
Title: Re: Report
Post by: Psycho_Chihuahua on 23 August, 2006, 18:27:17
well both [c0de] and [c0de=lua] seem fine with FF.
Title: Re: Report
Post by: Psycho_Chihuahua on 24 August, 2006, 08:44:29
Quote from: Mutor on 23 August, 2006, 23:22:37
[read: bastya, I just sat remotely
and moaned]

LooooooL
Title: Re: [code] tag issues
Post by: bastya_elvtars on 24 August, 2006, 12:43:06
Quote from: Mutor on 23 August, 2006, 23:22:37
Bastya and I [read: bastya, I just sat remotely
and moaned] had  some time in finding the php code
to correct this on a former version of this board.

No, that was an issue when php added escapes to the code, this is something different.
Title: Re: [code] tag issues
Post by: bastya_elvtars on 27 August, 2006, 16:40:18
LOL, on simplemachines.org they deleted my thread on this, because I linked an example from another forum engine, a guy did a post saying that's not even SMF, then I told him that I can distinguish between forum engines, even though I am not a PHP ?berh4xx0r!!!!111~~~~~~~~~, and suggested him to try understanding my post first.
Kudos for the best support team ever!
Title: Re: [code] tag issues
Post by: bastya_elvtars on 27 August, 2006, 16:55:37
Quote from: Mutor on 27 August, 2006, 16:49:03
It's much the same thing dude, with respect to what the script does with the code text input.
Code should be regarded as 'pre' is in html markup.

One is magic quotes, the other is addslashes(). The latter was needed to avoid f*ckup with mysql injections. See this topic (http://www.usebb.net/community/topic-838.html).
Title: Re: [code] tag issues
Post by: bastya_elvtars on 27 August, 2006, 20:07:09
Quote from: Mutor on 27 August, 2006, 17:36:32
Well to me it seems the problem stems from the Geshi mod.

SMF 1.1 RC3 does not have this problem with code. Nor did 1.08
Food for thought.

GeSHi does not alter the original [c0de] tags AFAIK. I'll try upgrading to RC3.
Title: Re: [code] tag issues
Post by: bastya_elvtars on 27 August, 2006, 20:47:51
Upgraded, does not help.