Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need an easy way to create a set of users who cannot interact with the other users, all they can do is administrate a group (they can upload documents to the group-documents plugin and maybe change the name and description and avatar).

Apart from that they're not allowed to have a profile, they're not allowed to interact with other users, post to groups or anything. All they can do is log in and administrate their group.

Any ideas? I'd greatly prefer to create this in plugin format, and don't really want to edit any core files.

Thanks for any help.

Tom

share|improve this question

1 Answer 1

up vote 0 down vote accepted

If you want them to be able to choose the type You'll need to write your own registration logic

After that check via get_user_meta() to see if they have a certain permission

if they can do xyz and allow accordingly. I've done custom user types before for a plugin i wrote.

There's no build in roles in BP AFAIK but a lot can be done via actions and filters, does require some coding skills though.

Let me know if you need more help

share|improve this answer
    
If you need it from the backend just create a plugin that lets you modify the users the frontend checks would be the same. –  Piotr Kaluza Jan 15 '12 at 10:50
    
Thanks for this, I had to do something similar. There's a plugin that allows you to add user roles, then I had to test against that role to restrict use of the site. –  Thomas Clayson Feb 22 '12 at 12:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.