Support » Plugin: P2 Resolved Posts » Limit access to flag as (un)resolved

  • Resolved Jamie Thingelstad


    This plugin is simply awesome. Really great stuff. I’m using it for our non-profit to coordinate activities amongst volunteers.

    There is one pretty big challenge though. Right now our site is set to require registration to comment and open registration. But, any visitor is able to flag an item as unresolved and we keep having people showing up and flagging items.

    At first I thought it might be great to have flagging follow the same rule as commenting, but I actually think it would be better to limit flagging to certain WordPress roles. That way you could limit who can flag things one way or another with a bit more granularity.

    Thanks for listening. I’m really hopeful the addition I highlighted can make it in.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Daniel Bachhuber


    Hand Built

    Glad to hear you like the plugin. I could’ve sworn I had already implemented this to some degree. I guess not. Here’s the issue that’s been filed. I’ll be working on it for the next version.

    Thanks! That would be great!

    Hi, I’m having the same problems with users should randomly flagging posts as resolved, so sadly I had to remove the plugin. I would love to be able to use it again, so I’m looking forward to the next update as well.

    Thanks a lot for the great plugin, Ellen



    Hi there.
    I agree with Jamie and Ellen. It would be awesome to have that feature.
    Another bell on the wish list would be to allow setting individual posts to be “flaggable” or not. This would allow to distinguish threads to follow (with flags) from regular posts (which don’t need our attention).

    Plugin Author Daniel Bachhuber


    Hand Built

    Yep 🙂 I’ll try to queue working on this in the next few weeks. Stay tuned…

    Hi Daniel, that would be wonderful, I would love to use your plugin! Best regards, Ellen

    ditto on kudos to awesome plugin but IMHO Achilles Heel = no user / role / group permissions …

    e.g., a private blog with only registered users to read-write that is not honored by plugin and allows public to change status regardless = not good …

    accordingly, this plugin is off charts of useability until it has role / capability limits …

    but hey, maybe there is an easy hook / filter for child theme functions.php to achieve said limit to author / subscriber roles ..??..

    don’t get me wrong, this plugin is WAY COOL but IMHO could benefit GREATLY if had hooks / filters to limited roles for red to green modes but i digress :>0

    PS – i did figure out a hack to plugin that allows only logged in users to flag resolved or unresolved … code below … cheers!

    changed this file -> p2-resolved-posts.php
    modified this function -> function p2_action_links()
    changed line 417 to this ->

    /* CS Modification - show links for only logged in users - original code was one line -> echo $output; */
    if ( is_user_logged_in() ) {
    	echo $output;
    	} else {
    	echo ' | <a href="' . wp_login_url() . '" title="Log in to Flag">Flag</a>';

    result = essentially just shows the word “Flag” preceeded with dividing line, with the word flag being linked to login page for those not logged in … if logged in, goes back to normal per original plugin authors and shows the various links to make a post resoloved, unresolved, etc …

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Limit access to flag as (un)resolved’ is closed to new replies.