On Wed, Mar 07, 2001 at 01:19:41PM +0100, Emiliano mentioned:
> John P . Looney wrote:
> > However, I'm curious as to how the approving works. By default, I'm
> > creating all articles with an approval date of 0000-00-00 etc. Is there an
> > easy way to set that date to the current date ? In Oracle there is a
> > SYSDATE constant, though I've know idea how to go about it.
> Approving the article will set the approval date to the current
> date/time.
Should have noticed mgd_approve_article() - you guys have thought of
everything!
> > Is this what the "parameters" section of an article could be used for ?
> > Something like add a parameter "rated" with a value of "$user->id" ? Also,
> > is there any fixed use for the "type" field ?
> Yes, you could use parameters for that. There's no fixed use for the
> type field. You can use it to limit the list of fetched articles to
> those that have it set to a specific value.
Ah right, thanks. I was thinking of setting it to a topic id, so that
people could cross post, to a limited extent. But it's a little too
limited; it's just a integer though. Is there any point trying to do that
?
Kate
--
When I say 'free', I mean 'free': free from bond, of chain or command:
to go where you will, even to Mordor, Saruman, if you desire. "
-- Gandalf, paraphrasing the choice between Free and Non-free software
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]