Skip to:
Content
Pages
Categories
Search
Top
Bottom

assign users to group based on role

  • @pnet

    Participant

    I am using User Role Editor plugin to create custom roles.
    I will eventually be loading users from the back end, I have a few test users now.

    Is there a way, through a function, I can assign users to groups based on their user role?

    I searched plugins and can not find one that suits my needs. I am new to buddypress and I can not figure out where I would hook into buddypress if I did have a function to do this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • @pnet

    Participant

    2 weeks and no replies?

    @venutius

    Moderator

    I’d like to know the answer too as I would like to automatically assign all new members a group

    @danbp

    Participant

    @venutius

    Moderator

    Sorry about that Dan

    @rglennnall

    Participant

    DanBP, those two links are specifically about assigning NEW users on registration – i’m not so sure that the poster was strictly referring to NEW users. so to ridicule @venutius for ‘hijacking’ is pretty unprofessional, in my eyes.

    so you didn’t in any way answer the post query.


    @venutius
    , don’t apologize.

    @danbp

    Participant

    @rglennnall,

    thank you for your kind comment… 6 months later !
    The initial question was: Is there a way, through a function, I can assign users to groups based on their user role? and Venutius jumped in with: i’d like to know the answer too.

    As i’m not a professional, only volonteer, i answer about what i understand – and not only to things i’m sure. Like you apparently. In hope that my answer to your today’s question will satisfy you.

    For now, keep your remarks for you, especially if it is to make such a sterile and unconstructive comment on an old topic.

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