Skip to:
Content
Pages
Categories
Search
Top
Bottom

group types


  • firetag
    Participant

    @firetag

    I was wondering if there is anyway to extend groups and add in the ability to have different group types. Depending on the certain group type the group would have certain features (supplied by another plugin). Basically the group types would be much like member types…. Is this possible without hacking out the core code?

Viewing 13 replies - 1 through 13 (of 13 total)

  • firetag
    Participant

    @firetag

    I did some looking through the docs and found that using the group api would be the best way to achieve this….


    Boone Gorges
    Keymaster

    @boonebgorges

    I recommend using groupmeta to accomplish this. The functions you want are groups_get_groupmeta and groups_update_groupmeta.


    firetag
    Participant

    @firetag

    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?


    firetag
    Participant

    @firetag

    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?


    Anonymous User 96400
    Inactive

    @anonymized-96400

    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…


    Sven Lehnert
    Participant

    @svenl77

    @firetag +1 please make a plugin!


    firetag
    Participant

    @firetag

    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…


    stwc
    Participant

    @stwc

    @firetagas 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!


    firetag
    Participant

    @firetag

    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..


    bplove
    Participant

    @bplove

    @firetag Sweet :) ~ This is a great addition ~ powerful ~ God speed ;)

    Still no working plugin for different group types?


    @mercime
    Participant

    @mercime

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘group types’ is closed to new replies.
Skip to toolbar