[geeklog-devtalk] geeklog-devel digest, Vol 1 #345 - 9 msgs

geeklog-devel-request at lists.geeklog.net geeklog-devel-request at lists.geeklog.net
Thu Jul 8 13:00:02 EDT 2004


Send geeklog-devel mailing list submissions to
geeklog-devel at lists.geeklog.net

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.geeklog.net/listinfo/geeklog-devel
or, via email, send a message with subject or body 'help' to
geeklog-devel-request at lists.geeklog.net

You can reach the person managing the list at
geeklog-devel-admin at lists.geeklog.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of geeklog-devel digest..."


Today's Topics:

1. Re: Blocks again... (Tom Willett)
2. Re: Blocks again... (Dirk Haun)
3. Re: Blocks again... (Dirk Haun)
4. Re: Blocks again... (Simon Lord)
5. Re: Blocks again... (Tony Bibbs)
6. Re: Blocks again... (Tony Bibbs)
7. Topics again (was: Blocks again...) (Dirk Haun)
8. Re: Blocks again... (Dirk Haun)
9. Re: Topics again (Tony Bibbs)

--__--__--

Message: 1
From: "Tom Willett" <tomw at pigstye.net>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] Blocks again...
Date: Wed, 7 Jul 2004 17:56:36 +0000
Reply-To: geeklog-devel at lists.geeklog.net

As a software developer things like this drive me crazy, everyday.

Just for the record, homeonly blocks work on my sites (all upgrades since at
least 1.3.6, perhaps the key?) My server is RH 7.2, Mysql 3.23.54, apache
1.3.22, php 4.1.2.

--
Tom Willett
tomw at pigstye.net

---------- Original Message -----------
From: Simon Lord <slord at marelina.com>
To: geeklog-devel at lists.geeklog.net
Sent: Wed, 7 Jul 2004 12:53:54 -0400
Subject: Re: [geeklog-devel] Blocks again...


> Vinny, as an extra measure I just installed 1.3.9sr1 FRESH on my system

> *at home* and I cannot set any block to the homepage only. Not do the

> ones set by default to appear just on the homepage actually appear.

>

> Whatever fix was applied to solve this bug was a VERY specific fix that

> only works under whatever conditions the author was using.

>

> My server runs RH 7.3 and at home I run OSX 10.3.

>

> So that's two platforms where I cannot set a block to just the homepage

> using a default install with the shipping themes and with my

> development theme.

>

> I'm eagerly awaiting any thoughts on this.

>

> On Jul 7, 2004, at 12:04 PM, Simon Lord wrote:

>

> > Vinny, I just updated my site to 1.3.9sr1 and I still cannot get any

> > new or existing blocks to appear on the homepage only. In fact, even

> > the "Are you secure?" block simply does not appear. This is with the

> > shipping themes and with my theme in development.

> >

> > I can see why you think this works, I tested it on geeklog.net and it

> > does work there. This is like magic to me as it simply does NOT work

> > on my server. I don't see how my setup would contribute to just this

> > one setting not working but it is very frustrating to see it NOT work

> > on a new install on my server while is does work for you and

> > geeklog.net.

> >

> > Thoughts?

> >

> >

> > On Jul 7, 2004, at 10:32 AM, Vincent Furia wrote:

> >

> >> Before we go through and implement this (assigning blocks to multiple

> >> topics) we should make sure that we have an idea for a decent user

> >> interface. Otherwise it could make the block admin page very

> >> confusing.

> >>

> >> As to your other block problem Simon: I have a normal block set to

> >> display "home only" (on the right side) and it works correctly (with

> >> geeklog-1.3.9sr1 and geeklog-1.3cvs).

> >>

> >> -Vinny

> >>

> >> On Wed, 07 Jul 2004 08:48:19 -0500, Tony Bibbs <tony at tonybibbs.com>

> >> wrote:

> >>> No, this was never done. I agree, at some point we should do that.

> >>>

> >>>

> >>>

> >>> Simon Lord wrote:

> >>>

> >>>> Still on blocks, was there never an update that allowed us to make a

> >>>> block and assign it to multiple topics? This would really cut down

> >>>> on

> >>>> the number of blocks I'll need to make to support the current "1

> >>>> block

> >>>> = all topics/1 topic" model.

> >>>>

> >>>> And my note that I can't assign a block to just the homepage stands.

> >>>>

> >>>> Sincerely,

> >>>> Simon

> >>>>

> >>>> _______________________________________________

> >>>> 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

> >>

> >>

> > Sincerely,

> > Simon

> >

> > _______________________________________________

> > geeklog-devel mailing list

> > geeklog-devel at lists.geeklog.net

> > http://lists.geeklog.net/listinfo/geeklog-devel

> >

> >

> Sincerely,

> Simon

>

> _______________________________________________

> geeklog-devel mailing list

> geeklog-devel at lists.geeklog.net

> http://lists.geeklog.net/listinfo/geeklog-devel

------- End of Original Message -------


--__--__--

Message: 2
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Subject: Re: [geeklog-devel] Blocks again...
Date: Wed, 7 Jul 2004 20:01:48 +0200
Organization: Terra Software Systems
Reply-To: geeklog-devel at lists.geeklog.net

Simon,


>My server runs RH 7.3 and at home I run OSX 10.3.

>

>So that's two platforms where I cannot set a block to just the homepage

>using a default install with the shipping themes and with my

>development theme.


Works for me on MacOS X 10.3.4, btw.

Anyway, this is probably a server-side issue. As I mentioned on IRC the
other day, we're using some "dirty tricks" to figure out the current URL.
It's possible that your server(s) are configured somewhat differently and
don't supply all the information we use ...

I'm the first to admit that the code is ugly but there didn't seem to be
an easier way at the time it was written. I also remember a debugging
session on IRC with Blaine, trying to get this stuff working with the
Zeus webserver :-/

Can you upload a file with <?php phpinfo() ?> in it on one of those
servers and PM me the URL? I'll see what I can do ...

bye, Dirk


--
http://www.haun-online.de/
http://www.haun.info/


--__--__--

Message: 3
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Subject: Re: [geeklog-devel] Blocks again...
Date: Wed, 7 Jul 2004 20:05:35 +0200
Organization: Terra Software Systems
Reply-To: geeklog-devel at lists.geeklog.net

Vinny,


>Before we go through and implement this (assigning blocks to multiple

>topics) we should make sure that we have an idea for a decent user

>interface. Otherwise it could make the block admin page very

>confusing.


Simon already mentioned multi-select listboxes. A list of checkboxes may
be another alternative.

Actually, my main concern here is with the representation of this
information in the database. The topics have a topic id of up to 20
characters. Instead of one topic, we now need to store a list of topics.
Any suggestions?

The topics for the daily digest are currently stored in a VARCHAR(255) -
which means that you can have only around 10 topics there, before we run
out of space (and that case isn't even handled at the moment). So
whatever we come up with for the blocks should also be used there ...

bye, Dirk


--
http://www.haun-online.de/
http://mypod.de/


--__--__--

Message: 4
From: Simon Lord <slord at marelina.com>
Subject: Re: [geeklog-devel] Blocks again...
Date: Wed, 7 Jul 2004 14:17:53 -0400
To: geeklog-devel at lists.geeklog.net
Reply-To: geeklog-devel at lists.geeklog.net

Ahhh, I run ZEUS which could possibly be the conflicting nexus of my
problems. I'll get that phpinfo out to you now...



On Jul 7, 2004, at 2:01 PM, Dirk Haun wrote:


> Simon,

>

>> My server runs RH 7.3 and at home I run OSX 10.3.

>>

>> So that's two platforms where I cannot set a block to just the

>> homepage

>> using a default install with the shipping themes and with my

>> development theme.

>

> Works for me on MacOS X 10.3.4, btw.

>

> Anyway, this is probably a server-side issue. As I mentioned on IRC the

> other day, we're using some "dirty tricks" to figure out the current

> URL.

> It's possible that your server(s) are configured somewhat differently

> and

> don't supply all the information we use ...

>

> I'm the first to admit that the code is ugly but there didn't seem to

> be

> an easier way at the time it was written. I also remember a debugging

> session on IRC with Blaine, trying to get this stuff working with the

> Zeus webserver :-/

>

> Can you upload a file with <?php phpinfo() ?> in it on one of those

> servers and PM me the URL? I'll see what I can do ...

>

> bye, Dirk

>

>

> --

> http://www.haun-online.de/

> http://www.haun.info/

>

> _______________________________________________

> geeklog-devel mailing list

> geeklog-devel at lists.geeklog.net

> http://lists.geeklog.net/listinfo/geeklog-devel

>

>

Sincerely,
Simon


--__--__--

Message: 5
Date: Wed, 07 Jul 2004 13:49:01 -0500
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] Blocks again...
Reply-To: geeklog-devel at lists.geeklog.net



Dirk Haun wrote:


>Actually, my main concern here is with the representation of this

>information in the database. The topics have a topic id of up to 20

>characters. Instead of one topic, we now need to store a list of topics.

>Any suggestions?

>

>

You'd want an associative table called block_topic. It would have the
block_id and topic_id as the primary key.

I think this might also be a good time to consider getting rid of the
text-based primary key on the topic table and introduce a new
auto_increment value.

Just a thought,

--Tony

--__--__--

Message: 6
Date: Wed, 07 Jul 2004 13:49:36 -0500
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] Blocks again...
Reply-To: geeklog-devel at lists.geeklog.net

lol, sure, now he tells us.

Simon Lord wrote:


> Ahhh, I run ZEUS which could possibly be the conflicting nexus of my

> problems. I'll get that phpinfo out to you now...

>

>

>

> On Jul 7, 2004, at 2:01 PM, Dirk Haun wrote:

>

>> Simon,

>>

>>> My server runs RH 7.3 and at home I run OSX 10.3.

>>>

>>> So that's two platforms where I cannot set a block to just the homepage

>>> using a default install with the shipping themes and with my

>>> development theme.

>>

>>

>> Works for me on MacOS X 10.3.4, btw.

>>

>> Anyway, this is probably a server-side issue. As I mentioned on IRC the

>> other day, we're using some "dirty tricks" to figure out the current

>> URL.

>> It's possible that your server(s) are configured somewhat differently

>> and

>> don't supply all the information we use ...

>>

>> I'm the first to admit that the code is ugly but there didn't seem to be

>> an easier way at the time it was written. I also remember a debugging

>> session on IRC with Blaine, trying to get this stuff working with the

>> Zeus webserver :-/

>>

>> Can you upload a file with <?php phpinfo() ?> in it on one of those

>> servers and PM me the URL? I'll see what I can do ...

>>

>> bye, Dirk

>>

>>

>> --

>> http://www.haun-online.de/

>> http://www.haun.info/

>>

>> _______________________________________________

>> geeklog-devel mailing list

>> geeklog-devel at lists.geeklog.net

>> http://lists.geeklog.net/listinfo/geeklog-devel

>>

>>

> Sincerely,

> Simon

>

> _______________________________________________

> geeklog-devel mailing list

> geeklog-devel at lists.geeklog.net

> http://lists.geeklog.net/listinfo/geeklog-devel



--__--__--

Message: 7
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Date: Wed, 7 Jul 2004 23:05:30 +0200
Organization: Terra Software Systems
Subject: [geeklog-devel] Topics again (was: Blocks again...)
Reply-To: geeklog-devel at lists.geeklog.net

Tony,


>I think this might also be a good time to consider getting rid of the

>text-based primary key on the topic table and introduce a new

>auto_increment value.


Remind me again what the problem was with the topic id?

I actually think that http://www.geeklog.net/index.php?topic=Geeklog
looks much nicer than http://www.geeklog.net/index.php?topic=42. With
some URL rewriting, this could look even nicer (and probably help a bit
with search engines, too).

We do need to filter the characters for the topic id more thoroughly, though.

bye, Dirk


--
http://www.haun-online.de/
http://mypod.de/


--__--__--

Message: 8
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Subject: Re: [geeklog-devel] Blocks again...
Date: Wed, 7 Jul 2004 23:10:01 +0200
Organization: Terra Software Systems
Reply-To: geeklog-devel at lists.geeklog.net


>Anyway, this is probably a server-side issue.


For the record: Geeklog relies on $HTTP_SERVER_VARS['SCRIPT_NAME']
containing the relative URL of the current PHP script (e.g. /index.php).
On Simon's server, however, it always contained /fcgi-bin/php (whatever
that is - looks like the path to the PHP executable).

Using $HTTP_SERVER_VARS['PATH_INFO'] instead fixed it for him. We'll have
to check for that variable, too, then.

Actually, all that code for guessing the current URL could probably
benefit from some refactoring :-/

bye, Dirk


--
http://www.haun-online.de/
http://www.haun.info/


--__--__--

Message: 9
Date: Wed, 07 Jul 2004 16:51:20 -0500
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] Topics again
Reply-To: geeklog-devel at lists.geeklog.net

Well, the first big problem is I don't like the idea of using a
text-based primary key. Of course, granted that nearly all of GL
1.3.x's ID's are text based I'd say at least we are consistent ;-)

The other thing I don't like, assuming you can get over text-based ID's,
is the fact that we allow the value of a primary key to be hand-keyed by
users. Another big no-no in my book but all the things I am complaining
about are legacy things decided before even I was invovled.

As far as URL's, I could care less if they are 'pretty' in a URL. That,
come to think of it, is the only benefit of a text-based primary key.

--Tony

Dirk Haun wrote:


>Tony,

>

>

>

>>I think this might also be a good time to consider getting rid of the

>>text-based primary key on the topic table and introduce a new

>>auto_increment value.

>>

>>

>

>Remind me again what the problem was with the topic id?

>

>I actually think that http://www.geeklog.net/index.php?topic=Geeklog

>looks much nicer than http://www.geeklog.net/index.php?topic=42. With

>some URL rewriting, this could look even nicer (and probably help a bit

>with search engines, too).

>

>We do need to filter the characters for the topic id more thoroughly, though.

>

>bye, Dirk

>

>

>

>



--__--__--

_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://lists.geeklog.net/listinfo/geeklog-devel


End of geeklog-devel Digest



More information about the geeklog-devtalk mailing list