-
Author
-
October 7, 2016 at 20:39 #138641valuserParticipant
Have implemented BuddyPress Group Types successfully with this set up:
WP: v.4.61; Theme: Twenty Sixteen; Plugins: (1) – BuddyPress 2.7 rc-1, release candidate
as per BuddyPress Group Types Codex
i removed the line – line 13 of codex of Group Types codex page
‘create_screen_checked’ => true
in order for it to work.
Now to Kleo v.4.1.4
inserted function in functions.php but nothing happens!
Attachments:
You must be logged in to view attached files.October 10, 2016 at 18:29 #138869LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
October 11, 2016 at 16:24 #139047valuserParticipantThanks for pushing this up to devs.
Now updated to kleo v. 4.1.5
BuddyPress Group Types Codex Page is now updated.
So i have in kleo (v.4.1.5) functions.php the following functions
COPY CODEfunction my_bp_custom_group_types() { bp_groups_register_group_type( 'team', array( 'labels' => array( 'name' => 'Teams', 'singular_name' => 'Team' ), // New for 2.7 - Change 'teams' to whatever slug you want your group type directory to have. 'has_directory' => 'teams', 'show_in_create_screen' => true, 'show_in_list' => true, 'description' => 'Teams are good', 'create_screen_checked' => true ) ); } add_action( 'bp_groups_register_group_types', 'my_bp_custom_group_types' );
no response from theme to insert group types
whereas in twenty sixteen see the following attachments.
I think perhaps that the buddypress group component in your theme needs updating
please keep me posted
Attachments:
You must be logged in to view attached files.October 11, 2016 at 16:27 #139050valuserParticipant[attachment file=139051]
Attachments:
You must be logged in to view attached files.October 11, 2016 at 16:39 #139058RaduModeratorHi,
Can you please provide a download link for that plugin ?
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 11, 2016 at 16:51 #139063valuserParticipanthi there is only one plugin active on a local test site.
Buddypress 2.7 release candidate 1
it incorporates BuddyPress Group Types
https://downloads.wordpress.org/plugin/buddypress.2.7.0-rc1.zip
October 11, 2016 at 17:30 #139074valuserParticipantperhaps this is relevant
https://bpdevel.wordpress.com/2016/10/11/changes-to-template-files-for-buddypress-2-7/
also changes for 2.6 may be relevant
October 12, 2016 at 16:37 #139265RaduModeratorHi,
I will add this to improvement list and in future we will implement this
We will let you know
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 12, 2016 at 16:44 #139269valuserParticipantThank you.
I will add this to improvement list and in future we will implement this
Any provisional timeframe?
or Even if you could please now point to the files that need changing ?
In the meantime is it reasonable comment to say that your theme is not entirely compatible with recent updates of BuddyPress e.g 2.6. ??
Many thanks.
October 12, 2016 at 18:46 #139311RaduModeratorThe BP 2.6 It’s compatible, we will implement this week or nextweek
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 13, 2016 at 18:21 #139459RaduModeratorOk we will let you know
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 1, 2017 at 17:03 #151619HappiierParticipantHi Radu and Team,
I have successfully added custom group types in this way (ie, group 1 group 2 and group 3 all belong to group type “Adventure”). However, I do not understand how to make these show up in the Group Masonry filter options so that only group type “Adventure” is populated in a specific area. Can you please provide a way to select a group type to show in kleo group masonry?
With Gratitude,
BlazeFrom Buddypress.org (LINK: https://codex.buddypress.org/developer/group-types/)
“Querying by group type
A common task is to retrieve a list of groups of a given type (or set of types). bp_has_groups() and BP_Groups_Group::get() accept a ‘group_type’ parameter, which can be a single group type or an array/comma-separated list of group types. This will filter query results to those groups matching the type. Example:
// Fetch all teams and companies.
$group_args = array(
‘group_type’ => array( ‘team’, ‘company’ ),
);
if ( bp_has_groups( $group_args ) ) { // …”February 7, 2017 at 17:44 #152233RaduModeratorHi,
I cannot figure out where the types should appear in masonry filter cuz in the masonry filter you can choose most members last active etc… there ?
Provide a screenshot.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.