RatingWidget
Forum Replies Created
-
Forum: Plugins
In reply to: [Rating-Widget: Star Review System] Get rating score by post idHi @felix_nong,
1. Are you interested to retrieve the data for your own use? Or would you like to add it somewhere in your blog?
2. We have standard WP shortcodes and PHP shortcodes you can use:
http://rating-widget.com/support/shortcodes/#platformHope it’s helpful.
Forum: Plugins
In reply to: [Rating-Widget: Star Review System] Wrong ratingHi @css0101,
The 5 stars means that all of the 3 votes were 5 star votes, it’s ok.
You might used to see reputation systems where the stars are being collected with time (mostly according to activity). But we show the average rating of all the aggregated votes.
Hope it’s clear.
Forum: Plugins
In reply to: [Rating-Widget: Star Review System] Custom Post TypesHi @sampaven88,
If your custom post type is using the_content() to show the post’s content then it will work out of the box. Otherwise, you can edit the template and add our PHP shortcodes:
http://rating-widget.com/support/wordpress/shortcodes/is-there-any-php-shortcodes-i-can-use-for-my-custom-posts-templates/Forum: Reviews
In reply to: [Rating-Widget: Star Review System] Ratings are not showing perfectlyHi there,
To add user profile ratings you need to use this code:
<?php rw_the_user_rating() ?>Let me know if that worked.
Btw. Next time please use the support forum for questions 🙂
Awesome – we’ll deploy it on the next release.
Btw. I would really appreciate if you could spend 60 sec rating the plugin on WP to help us spread the word (don’t forget to click the Post button to submit the rating):
http://wordpress.org/support/view/plugin-reviews/rating-widget#postformThanks for the stackoverflow link, it gave us an idea to try this:
echo 'RW.initRating("' . $urid . '", {title: "' . esc_js(json_encode($data["title"])) . '", url: "' . esc_js($data["permalink"]) . '"' .Hope this one will work 🙂
How about this one:
echo 'RW.initRating("' . $urid . '", {title: "' . esc_js(preg_replace('/[^\P{C}\n]+/u', '', $data["title"])) . '", url: "' . esc_js($data["permalink"]) . '"' .How about trying to replace it with:
echo 'RW.initRating("' . $urid . '", {title: "' . esc_js(ereg_replace('[:cntrl:]', '', $data["title"])) . '", url: "' . esc_js($data["permalink"]) . '"' .I see. As a developer, maybe you could try to help us out and also search for a solution to clean up the hidden characters (now you know where the clean-up method should be implemented). In parallel, we’ll try to find some alternative as well.
Hi @tmwnn,
The reason we’ve asked for the admin access is to prevent this back and forth messages. This type of bugs usually takes several iterations to resolve the problem and we just don’t want to bother you every time (might be annoying).
Would you mind to consider setting a temporary admin account so we can resolve it once and for all? We will only modify the plugin’s code without touching anything else. What do you think?
Forum: Plugins
In reply to: [Rating-Widget: Star Review System] [NSFW] Rating widget thumbnailsHi @sonic_crack, please share the url of the page you are talking about.
Ok, follow the next steps:
1. Open the main plugin’s file rating-widget.php
2. Search for:echo 'RW.initRating("' . $urid . '", {title: "' . esc_js($data["title"]) . '", url: "' . esc_js($data["permalink"]) . '"' .3. Replace it with:
echo 'RW.initRating("' . $urid . '", {title: "' . esc_js(preg_replace('/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F]/', '', $data["title"])) . '", url: "' . esc_js($data["permalink"]) . '"' .4. Save the file changes.
Let us know if that worked.
We’ve tried to get back to you but the email you’ve typed is wrong. Here’s the technical staff response:
Hi,
We’ve investigated the problem and it is caused by the comment starting with:
“Just in case donna sticks her head in this thread for a …”There’s a hidden character that cause this problem. We believe that we know how to fix that, but in order to test our assumption we’ll need to make a small modification on your plugin. Please send me a temporary admin access so we can test our assumption and resolve it for you.
Please contact us again with a temporary admin access to your dashboard.
We don’t know what’s the character, and this is exactly what we’ll have to investigate.
Thanks for the message. Seems like there’s some ASCII character/s in the comments that rating widget don’t like 🙂 Please contact our technical staff via http://rating-widget.com/contact/?platform=wordpress and they’ll help you resolve it.