Page 1 of 1

The rating system....

Posted: Thu Jan 21, 2010 12:45 am
by jaykay90
hi i just need some help with rating system...
with javascript, php n mysql i want a rating system which needs user authentication to rate it.. and only one vote/rate can be done by the user.. its just like the youtube video rating system...
need help!!

Re: The rating system....

Posted: Thu Jan 21, 2010 2:08 am
by papa
Either try Google to find complete scripts or start coding yourself and we can help you with the code if needed.

Re: The rating system....

Posted: Thu Jan 21, 2010 3:59 am
by jaykay90
i googled it.. the code is not for free!!!

Re: The rating system....

Posted: Thu Jan 21, 2010 4:39 am
by Eran
There are plenty of free scripts. Look beyond the first item in the search results or modify your search terms

Re: The rating system....

Posted: Thu Jan 21, 2010 5:33 am
by jaykay90
yeah man... i tried... but the rating needs to be done on user authentication... the guest users can just see the current rating!!! and most important of all is only once an user can rate it...

i cant able to get these in same script.. i cant able to find authenticated rating scripts!!!

Re: The rating system....

Posted: Thu Jan 21, 2010 5:54 am
by Eran
Those two are unrelated concerns. Find a script for your rating and implement an authentication mechanism, one at a time.

Re: The rating system....

Posted: Thu Jan 21, 2010 6:40 am
by jaykay90
i already have the rating script bro... can you guide me through...
with that script i can rate it but i can rate it several times...

Re: The rating system....

Posted: Thu Jan 21, 2010 6:44 am
by Eran
Can you program? what have you tried so far?

Re: The rating system....

Posted: Thu Jan 21, 2010 8:47 am
by jaykay90
currently am developing the cms of my site!!! so i just tried few scripts for rating!! those didnt satisfy my need... i would alter those scripts by someone's guidance only when i complete my current work!!!

Re: The rating system....

Posted: Thu Jan 21, 2010 6:58 pm
by Hieroglyphics
Learn some basic ajax. Make a rate_log table in your db and columns video and user, and after each rating fill in those columns and put an if(mysql_num_rows < 1) {canRate}else{cant}