Rating System Code?

Discussion in 'Programming' started by stompergames, Jul 28, 2008.

  1. #1
    Does anybody have any code, Javascript or other, for a simple rating system that a user comes, hovers over 1-5 stars, and clicks and it makes the selection without refreshing and doesnt let the same IP vote for that particular item again?

    How would I create a cookie for tracking what IPs have voted, or something of that nature?


    Thanks!!!
     
    stompergames, Jul 28, 2008 IP
  2. rohan_shenoy

    rohan_shenoy Active Member

    Messages:
    441
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Plz let us know about your skill level in AJAX(client side) and PHP-MySQL(or other server side) technologies. You could also use one of the many free ones available. Plz google it.
     
    rohan_shenoy, Jul 28, 2008 IP
  3. stompergames

    stompergames Peon

    Messages:
    222
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thats the thing... i dont have any skill in these. can you tell me the best one to learn for writing cookies on the users browser and storing their IP info so they cannot vote again, and also the easiet language to learn for a simple database of the votes.
     
    stompergames, Jul 28, 2008 IP
  4. rohan_shenoy

    rohan_shenoy Active Member

    Messages:
    441
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #4
    If you don't have skills in any of those, for timebeing, consider buying one. I am sure it won't cost much.
     
    rohan_shenoy, Jul 28, 2008 IP
  5. Social.Network

    Social.Network Member

    Messages:
    517
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    35
    #5
    Social.Network, Jul 29, 2008 IP
  6. Typo3 Steve

    Typo3 Steve Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You need to write the data in a cookie, but also write it in a database server side, using ajax.

    When the visitor enter your site, you check if it has a cookie,if yes, it double check server side if the info is valid.

    If it doesnt have any cookie, it verifies with its ip address to see if any votes have been counted for him server side.

    Otherwise, it lets the visitor votes in your system.

    You need to do that that way, because some people may delete their cookies themselves.

    Steve
     
    Typo3 Steve, Jul 31, 2008 IP
  7. jpinheiro

    jpinheiro Peon

    Messages:
    1,211
    Likes Received:
    15
    Best Answers:
    1
    Trophy Points:
    0
    #7
    I have a Script PM me its Free NOT WAREZ
     
    jpinheiro, Aug 1, 2008 IP
  8. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #8
    Trusted Writer, Aug 1, 2008 IP