WordPress.org

Ready to get started?Download WordPress

Forums

Achievements for WordPress
[resolved] Enable editors to award achievements? (9 posts)

  1. allmyleagues
    Member
    Posted 9 months ago #

    Hey Paul,

    Really enjoying this plugin on my site! I was wondering if there is a way to set a specific WordPress rank/role so they can manually award achievements to people. I would like to enable some of the people on my website to award achievements to others, but I don't want to give them full administrative permissions. Is there a way to do this?

    Thanks for all your hard work on this plugin.

    Mark

    http://wordpress.org/plugins/achievements/

  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 8 months ago #

    It's intended that Editors should be able to award achievements already. I'll test as soon as I can to see if it is indeed broken. :)

  3. allmyleagues
    Member
    Posted 8 months ago #

    Just following up on this one, Paul. I've tried awarding permissions from an editor account I created and it doesn't seem possible. I think it has something to do with the fact that Editors by their nature don't have access to edit the user database from the backend if I'm not mistaken. That's my guess, but I'm sure you have more background knowledge of those things than I do.

  4. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 8 months ago #

    ...doh.

  5. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 8 months ago #

    You've rightly identified the problem. I don't know how I want to improve this at the moment, but it's something I want to do in due course.

  6. Vernon Fowler
    Member
    Posted 8 months ago #

    Ideally admins can choose which roles (including custom roles) can award achievements.

    Looking forward to whatever solution comes up for this situation.

  7. allmyleagues
    Member
    Posted 8 months ago #

    I may have a workaround for this. I downloaded and activated a plugin called "User Role Editor". Using the User Role Editor, I enabled editors to "delete_users" and also enabled editors with the permissions for everything that included "achievements". Editors are now able to award achievements on my site.

    There's probably a better way to do this, but for now I believe this is a usable solution. Bear in mind that while this is a solution I'm using I am not recommending anyone else use it. I do not know the repercussions of the solution I suggested, so perhaps Paul or someone else can verify this as a safe solution or perhaps offer another option to make this work.

  8. Vernon Fowler
    Member
    Posted 8 months ago #

    The "delete_users" capability is not one I am prepared to enable for anyone. If someone accidentally deletes a user, that user is gone. Even "edit_users" is scary enough. Hence the issue with the current implementation. Turning on "award" capabilities through User Role Editor without giving Editors the capability to edit_users won't do much as that is the UI for awarding at the moment. So I'm hanging out for a way around the need to edit anything on user accounts except un/award achievements.

  9. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 8 months ago #

    Yep. :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags