• Resolved cyjambo

    (@cyjambo)


    Hi there,

    It seems your plugin is either not really compatible with the WP-PostRatings plugin (https://ww.wp.xz.cn/plugins/wp-postratings/) or I am setting something up wrong.

    When I activate your plugin the wp-postratings widgets don’t get updated and also if I rate an article when I go back to an article I can rate it again if I press F5 for example. But when I do so I get a message “You Had Already Rated This Post. Post ID #223.” which is true, but then why can I rate it again? It seems to me that a lot of things are cached which are interfering with the ratings.
    If I clear the cache from the backend then everything shows up correctly.

    Unfortunately at the moment the only way I can make the ratings work as expected is if I turn off your plugin (which I don’t want to do because the plugin is awesome) πŸ™‚

    I am wondering if it would be possible to create some sort of trigger so that when a rating is placed the cache gets immediately deleted?

    Do you have any ideas who I can achieve this?

    Thank you,

    Jambo

    https://ww.wp.xz.cn/plugins/wp-fastest-cache/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Emre Vona

    (@emrevona)

    post rating used to be compatible. Maybe the plugni editor updates something. I will test and inform you.

    Thread Starter cyjambo

    (@cyjambo)

    Thanks a lot Emre for your quick reply! I will wait for your response, I really hope it is compatible πŸ™‚

    Plugin Author Emre Vona

    (@emrevona)

    Thread Starter cyjambo

    (@cyjambo)

    Ok, that’s a pity. Thanks for trying!

    Thread Starter cyjambo

    (@cyjambo)

    So I am now trying to find a workaround πŸ™‚

    I was thinking to trigger a cache clear each time a rating is set.

    Lester wrote that I can use the “rate_post” action hook:

    https://ww.wp.xz.cn/support/topic/any-cache-plugin-breaks-wp-postratings?replies=4#post-6275224

    Could you help me with this maybe? Basically all I need is that when “rate_post” is triggered I would like to do a complete html cache flush (like in the option in your plugin to clear cache when a new post is published).

    Thanks a lot for your efforts! πŸ™‚

    Plugin Author Emre Vona

    (@emrevona)

    Thread Starter cyjambo

    (@cyjambo)

    Done πŸ™‚ Thx for your help!

    BTW I have stopped using WP-Postratings plugin and changed to PollDaddy. Works like a charm!

    Thread Starter cyjambo

    (@cyjambo)

    Hi Emre,

    Unfortunately PollDaddy also has some issues, the ratings don’t show in Google Rich Snippets. They said they have to fix this and there is no ETA for it.

    So I am back to square one πŸ™‚

    What I would like to do is when someone rates an article (using WP-PostRatings plugin) I would like to clear the cache. Is it possible to have some action filter that clears the cache each time a rating is given?

    I think it should be possible somehow since you have the option to “Clear all cache files when a post or page is published”.

    Is it possible to apply this also when a new rating is given?

    If you could point me to the right direction I would really appreciate it!

    Thanks a for your help,

    Jambo

    Plugin Author Emre Vona

    (@emrevona)

    I think it should be possible somehow since you have the option to “Clear all cache files when a post or page is published”.

    Is it possible to apply this also when a new rating is given?

    may be. but it couldn’t be good way. I will inform you if I find a solution.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘WP-PostRatings plugin compatibility’ is closed to new replies.