I really like the new versions of the module, but I still requesting support for this module when the site cache is enabled. Both standard Drupal cache and Boost, Authcache, etc. Now when I vote in cache mode I can't see my vote when I update the site.

And also support for multiple widgets on the same page(ex when using Quicktabs), but that issue has already been requested.

Comments

TheInspector’s picture

I forgot. I would also be available to theme the callback when someone has voted. But maybe that's a Ctools issue?

marvil07’s picture

Version: 6.x-2.0-rc1 » 6.x-3.x-dev

Not sure about the exact process to integrate the module with the modules mentioned.

I need to confirm this, but if any other person can confirm it and provide more details it would be great.

TheInspector’s picture

It's all about either clear the cache when someone has voted or update the values with ajax requests once the page has loaded. I dont really know how the token is created and validated, but maybe its the best solution to keep the token and scores fresh to make ajax requests when the page is loaded.

I've tried to make an own custom module to update the scores with ajax when Drupal cache is enabled, but then I got some error messages in the log with the following text:

Could not vote on node 278, with value 1, tag vote and token f6c71a6963839e3b824a3a5598941a8f

Andrew Kaufmann’s picture

Yeah, I'm having the same problem with caching turned on - votes aren't getting counted... the initial ajax gives the vote bump, but then on page refresh, the vote is gone...

marvil07’s picture

Status: Active » Closed (duplicate)

Normal Cache with drupal is going to be supported after #672566-32: Compatibility with Pressflow

I am closing this at its duplicate. In the other side, this is also too-generic, please open new issues with specific requirements, and please test that patch to let it get in soon ;-)