Skip to:
Content
Pages
Categories
Search
Top
Bottom

Automatic Role Upgrading

  • Avatar of Michael Sanborn
    Michael Sanborn
    Participant

    @michaelsanborn

    I’d like to set some threshold of activity on my BuddyPress site after which users would automatically be upgraded to Author privileges. Is there some combination of plugins and settings that could do that? Or do I have to monitor all users and do it manually?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Unless there is a specific plugin for this purpose in the wp plugin directory, otherwise you’ll need to code your own.

    You could hook on bp_activity_posted_update

    then perform a count and compare to your set threshold of activity updates prior to adding the permissions to the userdata. ( if you look at the member profile stats plugin – there is a function called etivite_bp_member_profile_stats_get_member_status_count() – which pulls only activity_updates )

    Avatar of Michael Sanborn
    Michael Sanborn
    Participant

    @michaelsanborn

    That’s very helpful, thank you.

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

You must be logged in to reply to this topic.