WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Safe Report Comments] Limit to logged in users (or track WHO reports?)

[Plugin: Safe Report Comments] Limit to logged in users (or track WHO reports?)

  • So I have a troll! The person’s run through my site clicking on EVERY damned ‘report’ link and reported every single flippin’ comment 2-5 times. I’d block them, but I don’t know who they are, since I can’t easily track them.

    Options:
    1) Change the plugin to ONLY let logged in users (70% of my commenters have accounts – it’s a BuddyPress thing) report.
    2) Find a way to track who comments.

    I think #1 would just be a ‘simple’ filter like to change the link layout to have a pipe prepended, and instead pre-pend a php check ‘if user is logged in…’ so I did this:

    // change link layout to have a pipe prepended
    add_filter( 'safe_report_comments_flagging_link', 'adjust_flagging_link' );
    function adjust_flagging_link( $link ) {
    
      if ( is_user_logged_in() ) {
        return ' | ' . $link;
      }
    }

    Not the most perfect solution, but it stops my idiots somewhat. It won’t help if a registered user reports comments like that thought, so I kind of want to track WHO is reporting.

    http://wordpress.org/extend/plugins/safe-report-comments/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Safe Report Comments] Limit to logged in users (or track WHO reports?)’ is closed to new replies.