Skip to:
Content
Pages
Categories
Search
Top
Bottom

Auto-role based on forum post count


  • fenixbazaar
    Participant

    @fenixbazaar

    Hi there,

    I hope someone can help me with this, or point me in the direction of a plugin that can do the trick.

    What I wish to do is create a range of roles based on forum post count. So, for example, a new user with <100 posts would be role-1, >100 but <200 would be role-2, etc etc.

    Also, the user’s role updates automatically once they reach a specific post milestone. So, once they reach 101 posts, their role changes automatically from role-1 to role-2.

    Any ideas?

Viewing 1 replies (of 1 total)

  • r-a-y
    Keymaster

    @r-a-y

    Since you are talking about forum post count, you should post this over on the bbPress forums:
    https://bbpress.org/forums

    bbPress adds support for group forums in BuddyPress.

    Here are some hints though:
    https://codex.wordpress.org/Function_Reference/count_user_posts
    http://wordpress.stackexchange.com/a/4727

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar