The Vote It Up plugin enables visitors to vote for and against posts.
A working WordPress install
WordPress theme must contain a call to the get_header() function
WordPress theme must contain the WordPress loop
Most WordPress installs have these, so you need not worry about these.
In addition, one must have JavaScript enabled in their browsers in order to vote.
WordPress 2.8 or above is recommended for this plugin.
Votingfunctions.php
Within votingfunctions.php, there are several functions that can shows other information.
GetVotes($post_ID): Returns the number of votes associated with the post.
UserVoted($post_ID, $user_ID): Returns TRUE if the user already voted for the post, FALSE if the user hasn't voted for the post
GetPostVotes($post_ID): Returns an array of user IDs that have voted for the post.
GetPostSinks($post_ID): Returns an array of user IDs that have voted against the post.
SortVotes(): Returns an array of post IDs and votes. The array is sorted with the post having the most votes at the top of the array.
Requires: 1.5 or higher
Compatible up to: 2.8
Last Updated: 2010-5-28
Downloads: 65,817
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?