Skip to:
Content
Pages
Categories
Search
Top
Bottom

Automatic Role Upgrading


  • 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)

  • rich
    Member

    @etivite

    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 )


    Michael Sanborn
    Participant

    @michaelsanborn

    That’s very helpful, thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Automatic Role Upgrading’ is closed to new replies.
Skip to toolbar