I'm thinking of letting any logged in user create an article, and I've a
page to do it, that's set to require authentication. It seems to be
creating the articles alright.

 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.

 Secondly, I wanted people to be able to rate certain articles. So, they
would give a rating between -5 and 5, and then the score would have that
added/taken from it. However, I'm at a loss as to how to stop people
rating something twice.

 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 ?

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]

Reply via email to