Visitors to your site are forced to preview their comment prior to submitting it.
Go to the Options -> Ajax Force Comment Preview admin panel. From there you'll be able to specify the markup used to display the comment being previewed. The markup you enter will depend on what theme your site is using. If you're using Kubrick (the default theme for WordPress), the settings that come installed with the plugin will work fine. For other themes, I suggest the following.
<div>tag. You'll probably need to put your preview markup inside that "parent" tag too. Make sure it has the same class(es) as the tag in your theme's code.
In most cases, this plugin will not conflict with other comment plugins. The only plugins that will conflict are plugins that submit comments without going through AJAX Force Comment Preview's verification. To get around this issue you will have to modify the thrid party plugin by adding the following lines before its call to "wp_new_comment( $commentdata );".
// Ajax Forced Comment Preview Compatibility Code - START $_POST['afcp-nonce'] = Ajax_Force_Comment_Preview::send(true); // Ajax Forced Comment Preview Compatibility Code - END
// Third party's plugin call to create a new comment wp_new_comment( $commentdata );
Keep in mind that by doing this you are bypassing previewing the comment if comments are submitted through the third party plugin.
Requires: 2.5 or higher
Compatible up to: 2.6.2
Last Updated: 7 years ago
Active Installs: 60+
Got something to say? Need help?