How to add this rating bars to php script ?

Discussion in 'PHP' started by singhisking, Jul 18, 2009.

  1. #1
    I would like add rating system like on movieyay.com to my php videoscript ? How can i add this ?
     
    singhisking, Jul 18, 2009 IP
  2. singhisking

    singhisking Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    :(:(:(no anyone to help ??
     
    singhisking, Jul 20, 2009 IP
  3. raghunathj

    raghunathj Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well use ajax frameworks like JQUERY or MOOTOOLS
     
    raghunathj, Jul 20, 2009 IP
  4. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well it depends maybe you can add it via a plugin depending on the script/CMS your using, or if your interested in creating it yourself, then you would need moderate PHP/MySQL experience, and assuming you had this then you'd create a ratings table, with an articleid linking to the article and columns counting the amount of ratings.

    You then display the stars on each article, you could use some JS or just use plain CSS, and when somebody clicks a star it updates the table and adds 1 to the star voted for in relation to the article ID.

    A last alternative to this would be just to find a rating script, but you'd have to fiddle with it anyway to get it to work with whatever you are using.
     
    wd_2k6, Jul 20, 2009 IP
  5. Sergey Popov

    Sergey Popov Peon

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Since you mentioned your video website is in php, it will require some experience to add requested functionality, otherwise you can broke the code. It is likely that you will also need to modify your database structure.

    If you really need help, I can do this for you for reasonable compensation :)
     
    Sergey Popov, Jul 20, 2009 IP