The rating system....

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jaykay90
Forum Newbie
Posts: 5
Joined: Thu Jan 21, 2010 12:42 am

The rating system....

Post 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!!
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: The rating system....

Post by papa »

Either try Google to find complete scripts or start coding yourself and we can help you with the code if needed.
jaykay90
Forum Newbie
Posts: 5
Joined: Thu Jan 21, 2010 12:42 am

Re: The rating system....

Post by jaykay90 »

i googled it.. the code is not for free!!!
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: The rating system....

Post by Eran »

There are plenty of free scripts. Look beyond the first item in the search results or modify your search terms
jaykay90
Forum Newbie
Posts: 5
Joined: Thu Jan 21, 2010 12:42 am

Re: The rating system....

Post 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!!!
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: The rating system....

Post by Eran »

Those two are unrelated concerns. Find a script for your rating and implement an authentication mechanism, one at a time.
jaykay90
Forum Newbie
Posts: 5
Joined: Thu Jan 21, 2010 12:42 am

Re: The rating system....

Post 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...
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: The rating system....

Post by Eran »

Can you program? what have you tried so far?
jaykay90
Forum Newbie
Posts: 5
Joined: Thu Jan 21, 2010 12:42 am

Re: The rating system....

Post 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!!!
Hieroglyphics
Forum Newbie
Posts: 13
Joined: Wed Jan 20, 2010 8:25 pm

Re: The rating system....

Post 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}
Post Reply