From: Dave Waterson <davey@ep...> - 2000-10-26 16:29:06
a slightly cleaner hack is to make the date display the lesser of the
current date and the story date, now if you enter your persistant story into
the the site. edit the row in the the db table to make the date
for the story in advance of the current date.
I done this on my 0.5 site for a welcome message, works fine and the story
off the top once the forward posted date is past.
> -----Original Message-----
> From: nathan r. hruby [mailto:nhruby@...]
> Sent: Thursday, October 26, 2000 5:53 AM
> To: Wayne Pascoe
> Cc: phpslash-users@...
> Subject: Re: [phpslash-users] Keeping a story on the front page
> On 26 Oct 2000, Wayne Pascoe wrote:
> > Hi all,
> > I've setup phpslash and libphp. I have a few questions.
> > Is there any way to set PHPslash up so that a story, or group of
> > stories can appear on the front page indefinitely, while
> others rotate
> > out into older stuff ?
> Uh, sure. But it takes some coding. The way the front page
> works is that
> it grabs the first 25 (or whatever) stories from the db, so
> as you load
> new ones into phpSlash, the query on the front page
> automagically moves
> them down one.
> So in order to have several stories on the front page appear
> you'd need to get their id's , add queiries from them in the
> file and and call the functions that crate stories with that data you
> queried. Kind of a pain, but not a big one
> > Secondly, I got phpslash-0.5.3-2.tar.gz as a link of the phplib
> > site. Is there a newer version that I should be using ?
> YES!!!! Use the current CVS from
> cvs.phpslash.sourceforge.net (check out
> module phpslash-ft, login as anonymous / no password)
> nathan hruby
> Webmaster: UGA Department of Drama and Theatre
> Project Maintainer: phpSlash, Carousel
> phpslash-users mailing list