[geeklog-devel] Forum Issues
Dwight Trumbower
dwight at trumbower.com
Fri Feb 28 00:32:32 EST 2003
Turn your gffilter to off and create a message that uses the code blocks and
put an ' in the message. It should fail. If it doesn't fail for you it does
at www.trumbower.com/golden .
Putting addslashes solves it but it is not the correct solution, since the
message will show the \ in front of the '.
Dwight
----- Original Message -----
From: "Blaine Lang" <langmail at sympatico.ca>
To: <geeklog-devel at lists.geeklog.net>
Sent: Thursday, February 27, 2003 6:23 PM
Subject: Re: [geeklog-devel] Forum Issues
> Actually Dwight,
>
> It's not that code thats doing it. There is a stripslashes() in
> COM_checkHTML and that was my issue all along.
> So the 1 line I noted should be all that is required.
>
> But please ... test more scenarios.
> ----- Original Message -----
> From: "Dwight Trumbower" <dwight at trumbower.com>
> To: <geeklog-devel at lists.geeklog.net>
> Sent: Thursday, February 27, 2003 6:41 PM
> Subject: Re: [geeklog-devel] Forum Issues
>
>
> > Thanks Blaine.
> >
> > You are also going need to wrap line 168 with the addslashes if you have
> > the glfilter off and you use apostrophes in a code bracket.
> >
> > $message = addslashes(gf_handlecode($message));
> >
> > Dwight
> >
> > At 06:13 PM 2/27/2003 -0500, you wrote:
> > >Correction .. now that I've had another look at it...
> > >I've tracked it down ...
> > >
> > >It's caused when I passed the magic_quoted variable thru COM_checkHTML
> and
> > >not all sites will have this enabled.
> > >For anyone that has this problem as a test - disable the Geeklog HTML
> filter
> > >in your forum settings.
> > >
> > >To FIX: In gf_preparefordb() - LINE 64 should be:
> > >$message = addslashes(COM_checkHTML($message));
> > >
> > >Thanks all for your patience but we all know a bit more about PHP magic
> now.
> > >
> > >Blaine
> > >
> > >----- Original Message -----
> > >From: "Blaine Lang" <langmail at sympatico.ca>
> > >To: <geeklog-devel at lists.geeklog.net>
> > >Sent: Thursday, February 27, 2003 4:12 PM
> > >Subject: Re: [geeklog-devel] Forum Issues
> > >
> > >
> > > > Yeh.. It would appear based on my previous update on my testing that
> is
> > > > related to the fact I pass the HTTP_POST_VAR variable which is
escaped
> > >(via
> > > > magic_quotes) to a function gf_preparefordb() and when used inside
> that
> > > > fuction the magic quotes or escape char is gone..
> > > >
> > > > Now that's magic but I guess has some logic to it as now it no
longer
> a
> > > > POST_VAR but is a internal variable.
> > > >
> > > > Blaine
> > > > ----- Original Message -----
> > > > From: "Danny Ledger" <danny at squatty.com>
> > > > To: <geeklog-devel at lists.geeklog.net>
> > > > Sent: Thursday, February 27, 2003 3:15 PM
> > > > Subject: RE: [geeklog-devel] Forum Issues
> > > >
> > > >
> > > > > >>Could that be a problem with the Simple Orange forum theme?
> Squatty?
> > > > >
> > > > > It works for me on IE 6 and Mozilla 1.2.1.
> > > > >
> > > > > -----Original Message-----
> > > > > From: geeklog-devel-admin at lists.geeklog.net
> > > > > [mailto:geeklog-devel-admin at lists.geeklog.net] On Behalf Of Dirk
> Haun
> > > > > Sent: Thursday, February 27, 2003 11:34 AM
> > > > > To: geeklog-devel at lists.geeklog.net
> > > > > Subject: Re: [geeklog-devel] Forum Issues
> > > > >
> > > > > Blaine Lang <langmail at sympatico.ca> wrote:
> > > > >
> > > > > >Would you want to create a testing forum and make me a moderator
as
> > > > > well?
> > > > >
> > > > > Do you still need this? I can do that, np ...
> > > > >
> > > > >
> > > > > >I don't recall the delete topic issue ..
> > > > >
> > > > >
<http://www.langfamily.ca/forum/viewtopic.php?forum=2&showtopic=421>
> > > > >
> > > > >
> > > > > >you are a moderator in my test
> > > > > >forum as well. I delete in there all the time.
> > > > >
> > > > > Confirmed, it works on your forums. On mine, I get this:
> > > > >
> > > > > No function selected, choose a post and then a moderator function.
> > > > > Note: You must be a moderator to perform these functions.
> > > > >
> > > > > Could that be a problem with the Simple Orange forum theme?
Squatty?
> > > > >
> > > > >
> > > > > >I can send you my latest archive with the { } issue solved if you
> like
> > > > > - no
> > > > > >charge.
> > > > >
> > > > > Hehe, yes, please :-)
> > > > >
> > > > > bye, Dirk
> > > > >
> > > > >
> > > > > --
> > > > > http://www.haun-online.de/
> > > > > http://www.macosx-faq.de/
> > > > >
> > > > > _______________________________________________
> > > > > geeklog-devel mailing list
> > > > > geeklog-devel at lists.geeklog.net
> > > > > http://lists.geeklog.net/listinfo/geeklog-devel
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > geeklog-devel mailing list
> > > > > geeklog-devel at lists.geeklog.net
> > > > > http://lists.geeklog.net/listinfo/geeklog-devel
> > > >
> > > > _______________________________________________
> > > > geeklog-devel mailing list
> > > > geeklog-devel at lists.geeklog.net
> > > > http://lists.geeklog.net/listinfo/geeklog-devel
> > >
> > >_______________________________________________
> > >geeklog-devel mailing list
> > >geeklog-devel at lists.geeklog.net
> > >http://lists.geeklog.net/listinfo/geeklog-devel
> >
> > Dwight
> > dwight at trumbower.com
> >
> > _______________________________________________
> > geeklog-devel mailing list
> > geeklog-devel at lists.geeklog.net
> > http://lists.geeklog.net/listinfo/geeklog-devel
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel
>
>
>
More information about the geeklog-devel
mailing list