Skip to:
Content
Pages
Categories
Search
Top
Bottom

What do your posters see when their posts as flagged by Akismet?


  • johnhiler
    Member

    @johnhiler

    I’m using bbPress 0.9.2. When my posters have their posts flagged as spam by Aksimet, they see the following error message:

    <h1>Not Found</h1>

    The requested URL /topic/ was not found on this server.

    <address>Apache/2.2.3 (CentOS) Server at [domainname] Port 80</address><address>

    </address>

    When my users see this, they assume that their posts didn’t go through and then they re-post their message again – and then get the same error message again. They usually repeat the re-posting from 2-10 times, before giving up…

    I’d greatly prefer it if these users got a nice little message that said something like, “Your post has been put into moderation. We will review it shortly!”

    Is giving an error message after an Akismet positive result standard behavior for bbPress?

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

  • _ck_
    Participant

    @_ck_

    It’s probably a bug when starting a topic that immediately gets flagged by akismet.

    Adding a post to an existing topic will probably just come back with a missing post.

    Since bbpress sets the status to “2”, it will be treated like a deleted post/topic to the end user. Moderators and Admin will see deleted post indicators.


    johnhiler
    Member

    @johnhiler

    This is a pretty awful bug… users often repost the same message a dozen times in a row and get filtered over and over – and see that 404 error message each and every time! Then they get screamingly angry (usually at me haha).

    Is this fixed in 1.0? Does anyone else get complaints from users about this?


    _ck_
    Participant

    @_ck_

    I doubt they anticipated that. Years later, WordPress unbelievably still shows NOTHING when a comment is held in the moderation queue. You have to install a plugin to give the user some kind of clue what has happened. It’s dumbfounding.

    It has not been fixed in 1.0-a6 (as of three weeks ago). It happens on WordPress.org too :/

    (And _ck_, what’s a good plugin for that on WP? I’ve yet to find one I like, but I’m picky.)


    _ck_
    Participant

    @_ck_

    Ipstenu, my skip-akismet plugin works on wordpress installs too, though there is some kind of subtle bug I can’t seem to find where it doesn’t catch everyone on the wp side, works great on the bbpress side however.

    If you meant what will notify users of comments being held, this will do it:

    http://txfx.net/files/wordpress/notify-users-of-moderation.phps

    What’s crazy is that was written back for WP 1.2, and yet it’s still needed, 5 years later.


    _ck_
    Participant

    @_ck_

    Here is an untested variation of Mark’s WP plugin for bbPress, it’s a little more sophisticated in that it tries to return the person back to the topic they were in if it exists or if they were starting a topic, to the forum they were posting in.

    <?php
    /*
    Plugin Name: Moderation Notification
    Author: _ck_
    */

    add_action( 'bb_post.php', 'moderation_notification', 999);
    add_action( 'bb_head', 'moderation_notification_alert', 999);

    function moderation_notification($post_id) {
    if (empty($post_id)) {return;} // invalid post
    $post = bb_get_post($post_id);
    if ($post->post_status==0) {return;} // not moderated

    if ($post->post_position>1) {
    $link = get_topic_last_post_link($post->topic_id); // return them to the last known good post in the topic
    } else {
    $link = get_forum_link($post->forum_id); // return them to the forum that they posted in since there's no valid topic yet
    }

    $link=add_query_arg('moderated','true',$link); // set the flag

    wp_redirect($link);
    exit;
    }

    function moderation_notification_alert() {
    if (!isset($_GET['moderated'])) {return;}
    $out = <<<EOF
    <script type="text/javascript">
    <!--
    alert ("You post was successfully processed, \n\n however it was placed on hold and will appear once a moderator verifies that it is not spam.\n\n Please be patient and do not resubmit your comment.");
    //-->
    </script>
    EOF;
    echo $out;
    }

    ?>

    You can see the notice by putting ?moderated=true on one of your urls

    I don’t recommend trying to purposely cause spam to test it because akismet might flag you globally as a spammer and you’ll end up being bozo’ed across multiple forums/blogs.

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

You must be logged in to reply to this topic.