Group Types & Roles
-
Hey everybody,
I did a quick search about group types and it looks like this hasn’t come up yet. I basically want there to be a few different types of groups, e.g. normal user groups like we have now and then a special type for organizations (or even more types for different kinds of organizations). Advantage would be that we then could filter for one group type and display the returned data on the homepage for example.
Ideally I’d like to be able to give people the option to register as a normal user or as an organization. When an organization registers, they automatically get a group set up for them with some extra information to be filled out, like their adress.
Does anybody know of any component that does this or something similar? No point in reinventing the wheel! I guess I could assign different roles to the various group types and then show extra group profile fields depending on the role. I’d imagine there are plenty of hooks provided for such a case (I’ll have to look into that…).
Anyways, I’ll be glad for any pointers in the right direction!
Cheers,
Boris
-
I’m not aware of any plugins that do this. It shouldn’t be too hard, though.
No, I didn’t think so I’ll do it myself then. Cheers anyways, DJPaul!
Travel-junkie – I would be very interested in this type of functionality.
Are you planning to do a plugin to accomplish this? Or would it just be part of your theme? If a plugin, any plans of sharing it?
Even if part of your theme, if you could share which hooks you used to accomplish this would be helpful.
Thanks
Danf, I’ll do it as a plugin I guess. I’m making the theme for the site I need this functionality at the moment and after that I’ll start on the plugin. I’ve done a fair bit of regular old WP stuff, but no MU or BuddyPress to date, so it might still be a little while until it’s ready for release. Are you interested in helping me test it, when I get to that stage?
I might be available for testing purposes as well if you need some @travel-junkie
Sure, Bpisimone. I’ll let you know!
Any luck with this plugin? I’m looking to do the same.
I’m looking for pretty much the same thing, let me know if anything needs testing!
I’m planning to make a game for game developers. At its simplest, I want to offer users the following during group signup:
Please choose one of the available project portals (only the initial setup is different):
– Showcase
– Development
– Startup
At its more advanced, there would be differences in layout to allow the index of a showcase group to market itself more efficiently,while a development group would be more about the overall updates.
Another cool feature would be the ability to make simple customizations to their site, like changing the color schemes and background pictures for their group pages. But this might not be within your scope eh?
Should be quite easy to do. When someone creates a group you give them the choice of what kind of group it should be using the groups api. This you attach to the group as groupmeta. Once that is done you can enable functionality based on that meta data. Have a look at the group api docs in the codex
The way I did it was a bit different and I never got round to making a plugin out of it. It was for a personal site, which i haven’t got to for the last 4 months or so. Too much client work…
What iI’d like to see is the possibility that users get different rights based on groups they signed in.
Users of Gorup A can read all blogposts, Users of Group B can just read blogposts tagged (or categorized) with tag “group b” ….
would this be possible too?
That would be just a continuation of what i wrote earlier. All you need is the group type and the user id and you can do anything with that user…
Sounds great, I would love to see something like this added
Well, thinking about it, when roles come into play it might be a bit more difficult, cause users can have different roles for different blogs. As far as I know there are no global roles. You’d have to implement your own role system, which could be as easy as assigning some usermeta and check against that if the user is allowed to see this or that part of the website…
i just need one blog, where everything is posted and just viewable for members of the goups
- The topic ‘Group Types & Roles’ is closed to new replies.