|
From: Jamie M. <ja...@mc...> - 2007-08-29 14:36:20
|
eri...@ja... (Eric Dannewitz) writes:
> Ok, after some digging I found that comments and stories are
> linked via a discussions variable in the stories. That is rather
> strange.....oh well.
Not at all. Comments are grouped together by being in the same
discussion. Then each discussion is linked to one (or in rare
cases more than one) other type of object in the system. To be
precise, a discussion (aka a collection of comments) can be
attached to a poll, a user journal, a submission (via firehose),
or a story. (Or it can stand alone, but that's archaic code
that probably no site still uses.)
The strange part is that, as you noted, stories.sid is a string and
discussions.sid is numeric. Those are totally different data types
which happen to have the same name. Also "sid" appears as a URL
param but it's different for article.pl (stories.sid) and
comments.pl (discussions.sid).
stories.discussion =3D discussions.sid
comments.sid =3D discussions.sid
> Next problem is that I moved a site to a different domain
> header, from www.mysite.com to slash.mysite.com, and it still is
> generating templates with www in it even though I went through
> all the values in the VARS table and changed them. rootdir is
> //slash.mysite.com
>=20
> What am I missing?
skins table, probably.
Also, see the paragraph of the INSTALL file that begins:
If you're planning on having sections with more than two dots
in the hostname...
--=20
Jamie McCarthy
http://mccarthy.vg/
ja...@mc...
|