Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Sorry. It was late and I missed that there was a Resolved marker.

    I’m seeing the same thing. Of the four spam I’ve had to manually moderate in the last week, two have contained just “IW” and “MD” as the body text and the spammy URL in the URL field.

    (The other two were “a string of Chinese followed by a non-linked URL” and “Five spammy links and no other text”.)

    Is there an easy way to hook a custom “Is this spam?” function into Antispam Bee? The filter I use on my hand-written sites would have caught all of these.

    (Among other things, it requires a minimum of three non-URL words in the message body, at least two non-URL words per URL, and at least 33% of non-URL text to consist of words containing only ASCII letters as a privacy-preserving way to detect whether the post either is in English or contains an English translation. The design is focused around refusing things I wouldn’t want from a real human either.)

    …granted, your honeypot markup is more advanced. I haven’t needed to implement that yet because, for my contact forms, I just refuse all attempts to use link markup of any kind and use the URL field as the honeypot.

    Just a note for anyone else who comes across this thread on Google.

    You can place the share buttons manually by inserting <?php echo sharing_display(); ?> into your template, but it’ll only work once.

    That means that it’ll automatically prevent the default buttons from showing if you put it above where they’d appear, but if you put it below where they’d appear, it’ll have no effect.

    To place it below, you have to explicitly kill off the automatically-inserted buttons with these lines:

    remove_filter( 'the_content', 'sharing_display',19);
    remove_filter( 'the_excerpt', 'sharing_display',19);

    Apparently, putting them in your functions.php can work but, when I tried that with a child theme, it had no effect because they got called before the add_filter lines they were supposed to undo.

    I solved that by putting them at the top of my loop-single.php instead, just under the header comment.

    (Note: That file won’t exist on all themes. See Template Hierarchy to figure out where to start tracking down the appropriate spot in themes other than Twenty Ten.)

    Just a note for anyone else who comes across this thread on Google.

    sharing_display() only works as expected if you place it above where it would automatically appear.

    To place it below, you have to put these lines in your functions.php or, if that doesn’t work, at the top of your template. (May be a side-effect of my child theme’s functions.php being called early)

    remove_filter( 'the_content', 'sharing_display',19);
    remove_filter( 'the_excerpt', 'sharing_display',19);
    Thread Starter ssokolow

    (@ssokolow)

    Understood, my apologies.

    Thread Starter ssokolow

    (@ssokolow)

    If you want to.

    Forum: Plugins
    In reply to: Spaminator question.

    I’m using a combination of a Captcha (one of those human-only “type the text in the image” things) and an auto-updating open-proxy blocklist.

    I got them from http://www.tamba2.org.uk/wordpress/spam/ and I haven’t had any spam since.

Viewing 7 replies - 1 through 7 (of 7 total)