From: CertIndex.com W. <web...@ce...> - 2001-04-26 10:06:59
|
the (i think) final plugin we're going to make for slash before we launch our forum is the open and democratic moderation plugin. it will work how kuro5hin's does (i think) in that every registered user will be able to rate every comment in every article, no matter if they participate in it or not. i would like, if you (whoever) have time to give some suggestions. as i see it now, we'll have the form to submit the rating post to a script that will take all of the ratings and put them into a new table. i'm aware that registering ratings for these user would break slash if the people commented in the article they rated comments in, so what i plan to do is run a cron (each minute or two or ten) that will take all of the votes for each comment in each article, average them out, then register 1 rating in the slash table for that by uid 1 (system). since 'system' never makes comments, since he's not real ;), i think this is a good solution. so let's say 100 registered users rate a comment between 2 and 4. the cron comes along and figures out the average is 3. it then registers the 1 real (real as in it's in a real slash table, not our auxillary table) rating of 3 and sets the user rating it as uid 1. does anyone see any potential problems for this? oh btw, as for the rating 'extension' like 'funny' or 'troll' or whatver, we'll just display the one most common. *shrug* ideas? :) thanks ps: oh ya, we're also going to make a plugin so articles can be rated by users. anyone want this? if you do email me any features you want and i'll make sure they get in. |