01.24.07
SK2-WP-Cache-Compatibility plugin
When you use Spam Karma 2 with WP-Cache, cached files are not flushed after a successfully comment approval.
That’s basically because SK2 intercepts some actions, WP-Cache will not get notified.
I create a small plug-in for SK2, that will directly call wp-cache to flush cache, after a comment is approved.
Download this zip, extract and drop the php into sk2_plugins directory, it should just work.
Note:
- wp-cache 2.1.0 is out, please install 2.1.0 and delete old cache before you complain this compatibility plug-in is not working.
- Turn off ‘encrypted payload’ check in sk2, see the reason updated below.
Updated: There’s a problem discovered by Reiner), sk2 generates some dynamic hidden field to check if the page is really loaded by a browser before the comment is posted.
The ‘encrypted payload’ plug-in will cause the biggest problem, since it contains an ‘ip’ field that generated base upon client’s ip.
With wp-cache, encrypted payload will be fixed, so the ip will not match the real commenter’s ip. IP mismatch will cause a minus 2.5 karma, which will prevent many normal comments comes in.
