I did some looking through the docs and found that using the group api would be the best way to achieve this….
I recommend using groupmeta to accomplish this. The functions you want are groups_get_groupmeta and groups_update_groupmeta.
yeah but whenever users create new groups I’ll have to add in a new group type like ( public, private, hidden, customgroup1 or whatever ). But I guess the reason for using group meta would be because it’s easier to cache?
Well I am just about done with this.. I’ll try to post a tut of what I did after my volunteer job tomorrow. It’s really not that hard, but I got the core all hacked up right now so I’m just converting it to all work with actions.
If people want I could make a plugin with this kind of functionality.
I need to skip over a chunk of code using the actions…is the only way to do this is by making a div and making it hidden?..but then people can technically still access it? nvm guess it doesn’t matter if they can access it anyway
@firetag I’m interested in seeing how you did it. How are you planning to filter the group types for browsing on your site?
I’d keep group types separate from your normal types (public, private, hidden). You’d still want a group of a certain type to be able to be either public, private or hidden…
@firetag +1 please make a plugin!
Ok I just got back from work, but I need to get a client site on today that I forgot about lol so I’ll post a tut or something tomurrow…
@agrundner I am going to filter the group types in the theme it’s the only way to do it… Unless someone knows a better way?
@Travel-Junkie It is separate from the normal types its actually separate from the whole create new group (at least that’s the way I’m doing it I’ll show everyone how to do it with normal group creation if it’s requested)
@Svenl77 I’ll try to make a plugin, but you’ll still need to edit your them for it to work…
@firetag — as I talked about here, I’m really keen to have something to start from to get this going. Would much appreciate anything you can share to help!
Ok sorry update took to long got stuck doing other work… Anyway the way I am handling new group types is by using meta data as Boone Gorges suggested, but I am doing it quite different than the way it’s handled on the buddypress.org site….just because that’s what my site requires.
anyway the new group type is totally separate from other groups….(for users it’s actually not even called a group) It creates a whole new directory for this certain type of group…
@stwc I will add in rating functionality hopefully because this could be useful to my site also…
edit: after working on it for a little I have decided the functionality I need is a lot different than what everyone is asking for, but I’ll try to work on both at the same time..
@firetag Sweet ~ This is a great addition ~ powerful ~ God speed
Still no working plugin for different group types?