WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. 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/

  2. seanjacob
    Member
    Posted 3 years ago #

    I would also like to be able to track who is reporting my comments so I can block their IP.

Topic Closed

This topic has been closed to new replies.

About this Topic