Blaz K.
Forum Replies Created
-
Forum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] bbpress/buddypressDisabling Rate my Post’s structured data should remove the extra output beneath the widget. One option to solve this and keep structured data is to rewrite the template using microdata but that’s quite some work. I do have this on to-do list but no ETA yet. Otherwise, buddypress could also modify their plugin to allow json-ld structured data, but that you have to ask on their support forum π
Blaz
Forum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] bbpress/buddypressHi @joeco,
this is also an issue with various “custom post type” plugins as they are sanitizing script tags. Rate my Post uses script tags to output structured data in json-ld. I guess there should be no problem if structured data is disabled. There is no easy fix for this. An option is to use microdata rather than json-ld. The plugin supports custom templates and thus it’s possible to add microdata. More about custom templates here.
Regards,
BlazForum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] Invalid Token ErrorHi Barney,
I’ll do my best to have the patch out by the end of the week. In the meantime you can apply this quick fix: https://wordpress.org/support/topic/invalid-token-9/
Regards,
Blaz- This reply was modified 6 years, 2 months ago by Blaz K..
Forum: Reviews
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] Γtimo plugin!Thanks for review @wesleymina! π
Forum: Reviews
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] ExcellentThank you!
Hi @uniland,
do you mean that negative vote is counted only if feedback is left? That’s unfortunately not possible since version 3. Previous versions had such an option but it was a hassle to maintain it and not many people used it. So, I decided to remove it.
Regards,
BlazForum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] Invalid TokenHi @srogers1,
I’m aware of this issue on certain server configurations, but I haven’t yet found time to release an update π Til then you can do a small change in code to fix the problem.
Change this line in rate-my-post/public/class-rate-my-post-public.php
if( ( $token === $db_token ) && ( $db_token != '-1' ) && ( $acceptableTime > $currentTime ) ) { // tokens match, time window is ok and rater is eligible to give feedbackto
if( ( $token === $db_token ) && ( $db_token != '-1' ) ) { // tokens match, time window is ok and rater is eligible to give feedbackRegards,
BlazForum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] bbpress/buddypressHi @joeco,
I’m unfortunately not familiar with buddypress/bbpress and I haven’t tested the plugin on such an install. Nevertheless, I don’t see a reason why the plugin wouldn’t work on such an install. Try it out and if you encounter problems feel free ask for support here.
Regards,
BlazForum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] Invalid nonceHmm, but what exactly are you caching with Cloudflare? By default Cloudflare caches only static resources which is not a problem. The problem is page cache which doesn’t clear for more than 24 hours. This means that nonce is not up-to-date after 24 hours and is thus not valid.
Blaz
Hi Mirko,
that’s style for the submit feedback button. I noticed that I don’t have a CSS snippet for submit rating button in the documentation. So, here it is:
button.rmp-rating-widget__submit-btn.rmp-btn { background-color: red; }Regards,
BlazForum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] Invalid nonceThe automatic option utilizes the_content filter and not shortcodes, so that is not possible. Nevertheless, excluding the rating widgets from cache is not the right way to go about this. The problem is nonce which is printed to html pages using wp_localize_script function. Hence, even if you exclude the “rating widgets from cache”, you will still be getting invalid nonce error. If anything, you should exclude nonce from cache. The right (and probably easier) way is to ensure that page cache is cleared at least every 24 hours.
Regards,
Blaz- This reply was modified 6 years, 3 months ago by Blaz K..
as explained above, the tutorial on how to add the SoftwareApplication schema is available in the documentation. Search for “Example 2 β Change schema type to SoftwareApplication”.
Regards,
BlazHi @sebgalipette,
you can change structured data type with the rmp_schema_type filter like this:
function blazzdev_schema( $schemaType ) { return 'YourSchemaType'; } add_filter( 'rmp_schema_type', 'blazzdev_schema' );Best regards,
BlazForum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] Invalid nonceYou can’t just exclude one plugin from cache. Contact LiteSpeed cache support and ask them how to set the plugin so that the cache gets cleared every 24 hours. That’s vital with WordPress as nonces are valid for 24 hours and if you utilize page caching they get cached. Hence, no plugin that utilizes nonces will work on the website. And most plugins that handle some kind of front-end submission (rating, contact forms etc.) utilize nonces.
Regards,
BlazForum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] Issues adfter updatingHi,
I send Dominic a fix which will be included in the next update. You can contact me via: https://blazzdev.com/
Regards,
Blaz