Arrow

compatibility with a guestbook | Peter's Custom Anti-Spam for WordPress | Forum

Back to the custom anti-spam plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
compatibility with a guestbook
March 29, 2008
11:01 am
Shelli
Guest

I love this plugin and have it on all of my blogs. I started a website for my brother-in-law who has ALS (Lou Gehrig's Disease) and installed a guestbook generator plugin for that. It operates like a comment form, but for some reason, I can't get the antispam image to show up in the guestbook. Any suggestions, anyone?

April 6, 2008
3:20 pm
Peter
Admin
Forum Posts: 841
Offline

Hi Shelli,

I just tested it and it is compatible with the guestbook plugin. You might simply have to use the manual insert method, which would involve inserting the following code in guestcomments.php, just above the comment field:


< ?php do_action('secure_image', $post->ID); ?>

You should also set this setting to "false" in the anti-spam plugin file:


// Set this to TRUE if you will be editing your comments file (add this php line wherever you want the anti-spam image inserted in the comments.php file: do_action('secure_image', $post->ID); )
// Set this to FALSE if you want to use the default JavaScript positioning
$cas_manualinsert = false;