RE: How to activate ratings and comments
Paul Thomann <[email protected]> Mon, 11 Aug 2003 08:27:53 -0400
| Newsgroups | gmane.comp.cms.xaraya.knowledge-base |
|---|---|
| Message-ID | <3A352CF455E0D311B50D00105ACEB91E10095C@thomannasphalt1.thomannoffice.com> |
Thomi: Why not just assign the new priv to the existing users role since that is the default role for registered users? Paul -----Original Message----- From: Tomislav Grabic [mailto:[email protected]] Sent: Sunday, August 10, 2003 10:00 AM To: [email protected] Subject: [Xaraya_knowledge-base] How to activate ratings and comments a short tutorial (I hope I won´t forget to mention anything) to enable registered users to comment and rate stuff on your site... it´s a hook/priv issue, so I thought it might help nontechies like me ;-) There was a posting about comments before, but that was about how to turn them off... activate all modules you want to have comments and ratings in (usually articles) activate the comment and ratings modules click on modules-->configure hooks-->comments/ratings choose below "all articles : Display articles" any pubtype you want the comments/ratings to appear, i.e. "news articles" (at this point, I´m not sure: do I have to enable the comment and ratings hook in the article hook configuration as well?) add a new empty priv called "normal users" or anyway you like it add another priv, but with rights, call it "comments", with the following options: all:comments:all:comment and assign it to the "normal users" group add another priv for ratings with rights, call it "ratings", with the following options: all:ratings:all:comment and assign it to the "normal users" group et voila. it works for me, if I left something out or this is not the best way to do it, let me know :-) bye Tomi --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.489 / Virus Database: 288 - Release Date: 6/10/2003