SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard
    Join Date
    Dec 2004
    Location
    At My Desk!!
    Posts
    1,642
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    User Rating System

    i want to be able to have a user rating system on my site, i was wondering if anyone had any good idea on how i would do this, i want the user to be able to click a link and then have some radio buttons saying, good, bad, medium, ect.

    Any ideas appreciated

    Thanks in advance
    "Am I the only one doing ASP.NET in Delphi(Pascal)?"

  2. #2
    Obsessive designer Infizi's Avatar
    Join Date
    May 2004
    Location
    North Pole
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm,
    Looking at your site, where will it be? I it going to be along with the tutorials???

    I suggest, in the database add another column in the users table and call it reputation. Then have a simple page, ie
    Reputation.php?userid=useridtovoteon

    Good,
    Ok,
    Bad

    And give each a point, ie good = +2, ok = +1, bad = -1. Then post again from the form

    query = insert into users set(reputation = reputation + postvalue)

    I hope you understand this, as i assume you have a good knowledge of PHP/SQL to implement this. I do not have enought time to write you a script at the momnent due to studying, but i am sure this can be implemented by you or another member.

    Thanks
    New Design - PHP Slowly flowing in!

    Infizi Studio's

  3. #3
    SitePoint Wizard
    Join Date
    Jul 2004
    Location
    Minneapolis, MN
    Posts
    1,924
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've never done one myself, but from my experience it wouldn't be all that hard.

    I searched around a bit and found this tutorial:

    http://www.phpfreaks.com/tutorials/9/0.php

    It should at least give you a picture on how to do it.

  4. #4
    SitePoint Wizard
    Join Date
    Dec 2004
    Location
    At My Desk!!
    Posts
    1,642
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks both of you, thats he kind of idea i thought of! Ill look at the tutorial and see what it has to offer

    And yes the rating system will be going alonf with the tutorials, and the top 5 rated tutorials will be displayed on the main page. Also the downloads will have a rating system to give users an idea whether its good or not.

    Anyways thanks for the help
    "Am I the only one doing ASP.NET in Delphi(Pascal)?"


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •