» Changelog
-
Version 1.11 (01-06-2007)
- NEW: Ratings Custom Fields Will Automatically Be Created With The Creation Of Each New Post/Page
- NEW: Added AJAX Style Option: "Show Loading Image With Text"
- NEW: Added AJAX Style Option: "Show Fading In And Fading Out Of Ratings"
- NEW: Removed Ratings From Feed If Ratings Is Embedded Into The Post Using [ratings]
- FIXED: Wrong URL For Page Under Top Rated/Highest Posts Listing
- FIXED: Next/Previous Paging Bug In WP-Admin -> Manage Ratings
- FIXED: Sort Most Rated Posts By Number Of Voters Followed By Post Average Ratings
-
Version 1.10 (01-02-2007)
- NEW: Works For WordPress 2.1 Only
- NEW: Renamed postratings-js.js To postratings-js.php To Enable PHP Parsing
- NEW: Added Function To Get Highest Rated Post By Category ID
-
Version 1.05 (02-01-2007)
- NEW: Added The Ability For Each Rating Star To Have Its Own Text
- NEW: Highest Rated Post Is Now In The Templates For Easy Modification
- NEW: Usage Instructions Is Also Included Within The Plugin Itself
- NEW: Able To Delete Ratings Logs And Data By Post IDs
- NEW: Able To Uninstall WP-PostRatings
- NEW: Localization WP-PostRatings
- FIXED: snippet_text() Function Missing
- FIXED: AJAX Not Working On Servers Running On PHP CGI
- FIXED: Highest Rated Post Is Now Based On The Ratings Followed By The Number Of Votes
- FIXED: Added Some Default Styles To postratings-css.css To Ensure That WP-PostRatings Does Not Break
-
Version 1.04 (01-10-2006)
- NEW: Ability To Logged By UserName
- NEW: get_highest_rated_sidebar(); To Display The Highest Rated Post On The Sidebar
- NEW: Added CSS Class 'post-ratings-image' To All IMG Tags
- FIXED: If Site URL Doesn't Match WP Option's Site URL, WP-PostRatings Will Not Work
-
Version 1.03 (01-07-2006)
- NEW: Total Rating Votes Stats And Total Rating Users Stats Function Added
- FIXED: Ratings Not Working On Physical Pages That Is Integrated Into WordPress
- FIXED: Modified Get Most/Highest Rated Post Function
- FIXED: Search Bots Unable To Index Site
-
Version 1.02a (07-06-2006)
- FIXED: AJAX Not Working In Opera Browser
-
Version 1.02 (01-06-2006)
- NEW: Fading In/Put Effect After You Rate A Post
- NEW: Rating Voting And Rating Results Are On The Same Image
- NEW: Added Rating Option For Logging Method
- NEW: Added Rating Option For Who Can Rate
- NEW: Added Rating Results Image To Get Highest Rated Stats
- NEW: Rating Administration Panel And The Code That WP-PostRatings Generated Is XHTML 1.0 Transitional
-
Version 1.01 (01-04-2006)
- NEW: AJAX Voting
- FIXED: Block Search Bots From Voting
- FIXED: Hard Coded Table Name In Ratings Stats
-
Version 1.00 (01-03-2006)
» Installation Instructions
-
Open wp-content/plugins Folder
-
Put:
Folder: postratings
-
Activate WP-PostRatings Plugin
-
Refer To Usage For Further Instructions
» Upgrade Instructions
From v1.0x To v1.11
-
Deactivate WP-PostRatings Plugin
-
Open wp-content/plugins Folder
-
Overwrite:
Folder: postratings
-
Delete these file if exists:
File: wp-content/plugins/postratings/postratings-js.js
-
Activate WP-PostRatings Plugin
-
Go to 'WP-Admin -> Ratings -> Ratings Options' and restore all the template variables to Default
-
Refer To Usage For Further Instructions
» Usage Instructions
General Usage
-
Open wp-content/themes/<YOUR THEME NAME>/index.php
You may place it in single.php, post.php or page.php also.
-
Find:
<?php while (have_posts()) : the_post(); ?>
-
Add Anywhere Below It (The Place You Want The Ratings To Show):
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
If you DO NOT want the ratings to appear in every post/page, DO NOT use the code above. Just type in [ratings] into the selected post/page content and it will embed ratings into that post/page only.
Note
-
Note: In IE, some of the post ratings' text may appear jagged (this is normal in IE). To solve this issue,
-
Open postratings-css.css
-
Find:
/* background-color: #ffffff; */
-
Replace:
background-color: #ffffff;
Where #ffffff should be your background color for the poll.
Ratings Stats (Outside WP Loop)
-
To Display Highest Rated Post
-
Use:
<?php if (function_exists('get_highest_rated')): ?>
<ul>
<?php get_highest_rated(); ?>
</ul>
<?php endif; ?>
Default: get_highest_rated('both', 10)
The value 'both' will display both the highest rated posts and pages.
If you want to display the highest rated posts only, replace 'both' with 'post'.
If you want to display the highest rated pages only, replace 'both' with 'page'.
The value 10 will display only the top 10 highest rated posts/pages.
-
To Display Highest Rated Post In A Category
-
Use:
<?php if (function_exists('get_highest_rated_category')): ?>
<ul>
<?php get_highest_rated_category(); ?>
</ul>
<?php endif; ?>
Default: get_highest_rated_category(0, 'both', 10)
The value 0 will display highest rated post from category id 0.
The value 'both' will display both the highest rated posts and pages.
If you want to display the highest rated posts only, replace 'both' with 'post'.
If you want to display the highest rated pages only, replace 'both' with 'page'.
The value 10 will display only the top 10 highest rated posts/pages.
-
To Display Most Rated Post
-
Use:
<?php if (function_exists('get_most_rated')): ?>
<ul>
<?php get_most_rated(); ?>
</ul>
<?php endif; ?>
Default: get_most_rated('both', 10)
The value 'both' will display both the most rated posts and pages.
If you want to display the most rated posts only, replace 'both' with 'post'.
If you want to display the most rated pages only, replace 'both' with 'page'.
The value 10 will display only the top 10 most rated posts/pages.