Skip to:
Content
Pages
Categories
Search
Top
Bottom

group types

  • Avatar of firetag
    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)
  • Avatar of firetag
    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….

    Avatar of Boone Gorges
    Boone Gorges
    Keymaster

    @boonebgorges

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

    Avatar of firetag
    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?

    Avatar of firetag
    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

    Avatar of agrundner
    agrundner
    Member

    @agrundner

    @firetag I’m interested in seeing how you did it. How are you planning to filter the group types for browsing on your site?

    Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    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…

    Avatar of Svenl77
    Svenl77
    Participant

    @svenl77

    @firetag +1 please make a plugin!

    Avatar of firetag
    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…

    Avatar of stwc
    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!

    Avatar of firetag
    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..

    Avatar of bplove
    bplove
    Participant

    @bplove

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

    Avatar of ecosapiens
    ecosapiens
    Member

    @ecosapiens

    Still no working plugin for different group types?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

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

You must be logged in to reply to this topic.