Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.12
About It:
Get it:
Rate it:
  • Helpful?
  • 1 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

aam_zcr_clearcache

This plugin helps two other plugins co-exist peacefully: the full-page caching of asy_jpcache and the powerful form processing of zem_contact_reborn (ZCR). These plugins usually clash due to the way ZCR fights spam.

If you have problems getting the plugin to work properly, please let me know by posting a message in the plugin’s support thread on the Textpattern forum.

About aam_zcr_clearcache

The anti-spam measures built into zem_contact_reborn can cause conflicts with the full-page caching plugin asy_jpcache. When a ZCR form is cached after submission, one person filling out a form can prevent another person from filling out the same form a few minutes later. Instead of a thank you message, everyone else who submits that form receives a “form already used” error until the cached version of the page expires. This error is caused by a conflict between the full-page caching of asy_jpcache and the hidden codes used by ZCR to fight spam.

The aam_zcr_clearcache plugin prevents “form already used” errors by making asy_jpcache treat ZCR forms the same as it treats comment forms: the cache gets cleared whenever a ZCR form is submitted.

Important Note

This plugin only works to prevent “form already used” errors that occur when using zem_contact_reborn and asy_jpcache together.

You may also see “form expired” errors if your cache expiration time is set too high. I explain how to fix this in my blog post about this plugin.

Usage

Just install and activate. No template tags are required for this plugin to work.

License

This plugin and its documentation are copyright © 2007 Adam Messinger, and are provided under the terms of the BSD License.

Article Request Count:
Keywords/tags:
Initially released:
8/25/2007
Posted here:
25 Aug 2007
Article modified:
26 Aug 2007

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern