When you’re logged into WordPress, there’s no need to collect your name and e-mail address since this information is already captured with a WordPress user account.
When you are rating anonymously, the rating form is hidden on submit because the user is not allowed to update or delete their existing rating.
|mrp_manage_ratings||Ability to manage all ratings and plugin settings (i.e. to do everything).||Administrator|
|mrp_export_ratings||Ability to export rating entries to a CSV file.||Administrator|
|mrp_moderate_ratings||Ability to moderate and edit ratings.||Administrator, Editor|
|mrp_delete_ratings||Ability to delete rating entries.||Administrator, Editor|
|mrp_ratings_menu||Ability to view rating results.||Administrator, Editor|
The plugin chooses not to drop any custom database tables on uninstall. This helps to avoid accidental loss of data. If you wish to cleanup and drop any custom database tables created by the plugin, you can do so manually using a database management system such as phpMyAdmin or by executing the following PHP code as a part of the uninstall hook.
You can submit/update/delete ratings via the rating form. If a user has previously submitted a rating, the rating form will default with the existing rating details so that it can be updated. Note that only logged in users can update and delete their ratings. You can also let logged in users view all of their ratings via the [mrp_user_ratings_dashboard] shortcode. This presents a list of ratings which users can edit. When editing, the rating form will immediately appear underneath the rating summary.
You can add an excerpt for each post, rather than letting the excerpt default to the first 55 words of the post content by default. Otherwise, you could try adding the following code to strip the shortcode from the excerpt.
The ability to re-order fields in a rating form is not yet available. In the interim if you are technical, you can change the order by changing the rating-form.php template file. See the template system documentation.
You can reset your password here.
The following shortcodes by default will use the post id setup in the WP loop if not set specifically:
Some content areas on a page added by page builders, custom widgets or theme code may not initialize the WP loop properly. In this situation, your shortcodes may not work unless you set the post id shortcode attribute specifically e.g. [mrp_rating_result post_id="1"]. A symptom of this is you might find the [mrp_rating_result] shortcode displaying “No ratings available” even though there are ratings viewable in the WP-admin for the current post.
See the full documentation on shortcodes which has a list of shortcode attributes available.
Licenses for the Multi Rating Pro plugin are annual and you will be asked to renew your license each year.
An active license is required in order to receive technical support and updates. If a license is allowed to expire, support and updates will be discontinued until the license key has been renewed.
The Multi Rating Pro plugin does not require an active license to work. However staying up to date with the latest version of Multi Rating Pro is extremely important to ensure that you have the latest features and are running the most secure and stable version.
Updates are released frequently to resolve issues that are discovered and to introduce new features.
License renewals are discounted at 30%.
You will receive periodic emails alerting you that your license key(s) is about to expire. In that email will be a URL with instructions on how to renew. If you do not receive the email or you have lost it, you can log into your account page and renew your license there.
Please see terms & conditions for more information.
After you make a purchase, you can login to your account here and generate a PDF invoice. You can also change the billing information as required.
No. Multi Rating Pro can only rates WordPress posts / pages. Ratings are stored against the post.
Note: It is possible to workaround this limitation with some custom code but this is not supported. For example, creating private posts for each user and mapping theses to user id’s.
After ratings have been calculated, they are effectively cached in a custom database tabled “
The plugin also stores a copy of ratings in a couple of post meta fields since v5.0.2 however the implementation of the plugin does rely on these fields.
- “mrp_rating_result_<rating_form_id>” where <rating_form_id> is the rating_form id e.g. “mrp_rating_result_1”. This holds an array of rating result data.
- “mrp_rating_result_<rating_form_id>_star_rating” where <rating_form_id> is the rating_form id e.g. “mrp_rating_result_1_star_rating”. This stores an overall star rating value.
This also makes it easy to sort posts in a WP Query.
$q = new WP_Query( array( 'orderby' => array( 'mrp_rating_result_1_star_rating' => 'ASC' ) ) );
Yes. In the plugin tools page you can migrate rating entries from the Free version across into the Pro version. You will need to setup new rating items etc… which reflect the free version and then map them accordingly.
FAQ09 – WordPress database error: [Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT)
This error can occur if some of your database tables have different character encoding and is not caused by Multi Rating Pro. Multi Rating Pro uses the default WordPress charset collate when the db tables are created or updated (global $charset_collate variable).
If you encounter this error, there is an SQL query you can use to alter the DB table collate (make sure you change the table names as required).
ALTER TABLE table CONVERT TO CHARACTER SET "utf8", COLLATE "utf8_general_ci"
The plugin comes with an extensive template system which allows anyone with basic PHP, HTML and CSS knowledge to customize the plugin’s presentation. There’s also a CSS textarea in the plugin style settings tab if you need to make minor style changes.
Yes. You can prevent anonymous users from rating a post multiple times by turning on duplicate checking in the plugin settings. You can check for duplicate using the following method: IP addresses, cookies or both.
Logged in users can only rate the same rating form for a post once however they can update their existing ratings (this can be turned off if required)
Rating items can be assigned different weights in a rating form. The more the weight, the more influence the rating item has on the overall rating. All of the overall ratings for each entry are calculated first and then averaged. When calculating an overall rating for an entry, each rating item is multiplied by it’s weight, added together and then divided by the sum of all weights to calculate a rating.
For example, if there are two rating items with weights 0.5 and 1.5, both max values 5 and we have a rating entry with values 4 and 3 respectfully, then we calculate the rating as follows
This is 8.5/10 score, 4.25/5 stars and 85%.
The plugin supports two types of rating algorithms: average and bayesian. Bayesian averages normalizes rating to be more representative. Here’s the bayesian average formula used by the plugin.
avg_num_entries – average number of entries for a post
avg_rating – average overall rating for a post
this_num_entries – number of entries for the current post
this_rating – the overall rating for this post
Go to WordPress discussion settings and ensure comments are enabled for new articles.
Check your theme uses the standard WordPress comment system. There are standard filters and action hooks specific to the WordPress comments system that theme developers should use and are required as per the WordPress theme guidelines. You can test theme compatibility by installing the Theme Check WordPress plugin available on the WordPress.org plugin repository. If you see the following line in the Theme Check plugin output when testing a theme then you will be unable to integrate rating forms in the WordPress comment form
REQUIRED: Could not find comment_form. See: comment_form
Depending on your theme, WordPress comments may or may not be supported for all post types or pages. See the register_post_type()
Try switching to the text editor – not the visual editor. Sometimes the visual editor adds some styles inside the shortcode which can breaks things. For example some span style tags could be automatically added
[mrp_rating_result <span style="color: #000000;">show_rich_snippets="true"</span>]
. This would need to be fixed to remove the span tags i.e.
the_title() function should not be used in a HTML element attribute. This will cause broken HTML markup. the_title_attribute() function should be used instead. Pippin Williamson has a terrific article about this called Use the_title() and the_title_attribute() Correctly.
Here’s an example of incorrect code usage of the_title() function
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">Hello World/a>
Using the auto placement settings to display the rating results would result in broken HTML like this
Correct usage is to use the_title_attribute() function instead for output of a HTML element attribute
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">Hello World</a>
It may take some time for rich snippets to appear in search engine results. The search engine crawler may not have discovered your site or any updated pages yet. You can test your schema.org markup using Google’s Structured Data Testing Tool. If rich snippets aren’t appearing for your site, see possible reasons why.
It is possible your theme or another plugin is loading the same font icon library which could cause a conflict. An example could be your theme bundling an older version of Font Awesome and Multi Rating Pro loading the latest Font Awesome library from a CDN. If there is a conflict, go to the plugin settings and try changing the version of the library. If your theme or another plugin already loads the font icon library, you can turn off loading the font icon library from a CDN in the plugin settings also.
If you are loading the font icon library from a CDN, star icons may not show up if you do not have an Internet connection.