Skip to:
Content

Opened 18 months ago

Last modified 15 months ago

#7179 new enhancement

UI to Add New Group Type in wp-admin

Reported by: mercime Owned by:
Milestone: Future Release Priority: strategic
Severity: normal Version: 2.6.1.1
Component: Groups Keywords:
Cc: alexlii1971@…

Description

Now that we have Group Types in #6784, let's make it easier for Site Admins/Builders to create any number of Group Types in the admin area.

Change History (10)

#1 @DJPaul
18 months ago

  • Priority changed from normal to strategic

#2 @mercime
18 months ago

Related:
#7180 All Group Types UI
#7175 Display and filter by group type on Dashboard > Groups

This ticket was mentioned in Slack in #buddypress by tw2113. View the logs.


17 months ago

#4 @dcavins
17 months ago

This is an interesting addition, and something I would like to work on.

Before getting started, though, I have a question about how we'd store these new items. At the moment, member and group types refer to taxonomy terms behind the scenes, but are made active by being registered at load via code hooked to the bp_groups_register_group_types action. ("Active" types are added to buddypress()->groups->types.)

So, it'd be relatively straightforward to add a taxonomy-like interface to add/remove the actual types as terms, but what strategy do we want to take to register these new terms at load? Are we wanting to add them to a record in the options table (or similar), then add a query at load to see if there are any terms that need to be dynamically registered? Maybe we could use term meta for this, and identify the terms added via the interface as active (minimum supported WP version would have to be 4.4--we're at 4.2 now)?

@r-a-y and @boonebgorges have worked extensively on types; do either of you have thoughts about how to work with the registration piece?

Last edited 17 months ago by dcavins (previous) (diff)

#5 @boonebgorges
17 months ago

@dcavins We've had some discussion about this issue over at #7181 (in the context of Member Types, though the storage mechanism should be the same). I argued there for storing Dashboard-created types as CPTs. But it'd be great if you read over that thread, and tossed in your two cents.

This ticket was mentioned in Slack in #buddypress by boone. View the logs.


17 months ago

#8 @alexlii
15 months ago

  • Cc alexlii1971@… added
  • Version set to 2.6.1.1

Hello,

I am really eager to this plugin, but from my view, it is most important to support group member users to filter groups by TYPES at frondend, and it would much great if it can support for sub-types, it would be much great experience for site users, for exameple:

Learning: math, physical, language....
Hobby: Movie, sports....

I know Buddypress does not support Category default, but if some plugin can do the similar thing, it would be much much great, any comments would be appreciated, thanks all.

Alex

#9 follow-up: @dcavins
15 months ago

Hi @alexlii, directory filtering by category is coming in 2.7. See #7210 for more info, or, better yet, check out the RC2:
https://buddypress.org/2016/10/buddypress-2-7-0-release-candidate-2/

#10 in reply to: ↑ 9 @alexlii
15 months ago

Great news, Great thanks,

I am glad to have a test of buddypress 2.7beta, and I have a question now:

I am running a Wordpress musites now, for now buddypress 2.6 is running on a sub domain site, question is whether I can up load buddypress 2.7 and let it run on another sub site?

I am new to Wordpress, any comment would be great appreciated!

Alex

Replying to dcavins:

Hi @alexlii, directory filtering by category is coming in 2.7. See #7210 for more info, or, better yet, check out the RC2:
https://buddypress.org/2016/10/buddypress-2-7-0-release-candidate-2/

Note: See TracTickets for help on using tickets.