• Using WordPress 2.5.
    I’ve been reading about how to foil email spammers and would like to use the antispam bot but cannot find info (that I understand) on which file or files to edit and where to place the antispam bot line within this file or files. Can anyone help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    What is the link to the plugin? There are many anti spam plugins.

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    I’m using one (I’m not on 2.5 yet – still on 2.3.3) that stopped virtually all of the bot spam because it uses rotating math questions (not the same every time).

    https://sw-guide.de/wordpress/plugins/math-comment-spam-protection/

    Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Did you follow these directions?

    This plugin can be installed in 5 easy steps:
    
        * Download the plugin (see “Downloads” above).
        * Decompress the .zip archive and put the files into your plugins directory (/wp-content/plugins/) or into a sub directory of the plugins directory.
        * Enable the plugin in the WordPress Plugins admin page.
        * Go to Options / Math Comment Spam, adjust the options and save.
          Important: You need to save the options when you use this plugin the first time or if you have updated from a previous version.
        * Add code to the comments.php of your theme. In the following an example for the WordPress standard theme (Kubrick):
    
          <?php
          /****** Math Comment Spam Protection Plugin ******/
          if ( function_exists('math_comment_spam_protection') ) {
          	$mcsp_info = math_comment_spam_protection();
          ?> 	<p><input type="text" name="mcspvalue" id="mcspvalue" value="" size="22" tabindex="4" />
          	<label for="mcspvalue"><small>Spam protection: Sum of <?php echo $mcsp_info['operand1'] . ' + ' . $mcsp_info['operand2'] . ' ?' ?></small></label>
          	<input type="hidden" name="mcspinfo" value="<?php echo $mcsp_info['result']; ?>" />
          </p>
          <?php } // if function_exists... ?>
    
          Add this code for example right after the field for the website URL.
    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    No, I just put the folder in my plugins folder and everything worked fine for me.

    [edit: Actually, I’ve been using it for a while and now that I think about it, I do remember editing the comments.php.]

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    I should mention that I’ve upgraded to 2.5 and changed themes so my changes to comment.php are now gone, so I don’t know if it is compatible with 2.5 or not (I haven’t activated it after upgrading). Probably ought to check with the author before hacking comments.php.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘antispam bot – need help’ is closed to new replies.