• i’m looking for a plugin that will give an interface for a sort of survey. i imagine something like this…

    45 option 1
    23 option 2
    56 option 3

    each time a user clicks on a line the number would increment.
    i was thinking i could find a plugin quick and easy but have been fishing around too much.

    any ideas??
    please not much php coding 😉
    thanks!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you found a solution? I’m not exactly sure what you’re trying to acheive, there are a few survey plugins available.

    I think the reason why this plugin would not be so simple is because the developer has to implement a system to prevent people from artificially increasing the votes.

    Otherwise, the code for each vote link would just lead to something like:
    vote.php?id=9

    Where ‘9’ is the ID of the post.

    The php for vote.php would use a MySQL query to pull a new column from the database (let’s call it voteid), and increase the post’s vote ID by one. Something simple like this:
    $voteid=++;

    That ++ increases the current score by one.

    Then, the template would only have to be modified to link to that vote.php URL and also echo the $voteid variable from the database to display the score.

    If you didn’t care about someone messing with the scores, these changes could easily be implemented.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘looking for digg style vote for list’ is closed to new replies.