Skip to:
Content

{5} Accepted, Active Tickets by Owner (Full Description) (7 matches)

List tickets accepted, group by ticket owner. This report demonstrates the use of full-row display.

dcavins (2 matches)

Ticket Summary Component Milestone Type Created
Description
#6161 Group Bulk Edit Groups Awaiting Contributions enhancement 01/24/2015

So, I imported some Groups using a plugin.

When users started joining the groups, I realized that the first member automatically became the administrator of the group!

Hmm...looks like these groups were created without any members (or administrators) and since every group needs an administrator, therefore, the first member to join was being made administrator.

Ok, no problem, methinks...just like I can bulk edit posts/pages to change author, I should be able to bulk edit groups to change/add administrator, right? Wrong! There is no bulk edit function for groups.

Well, there should be.


#7343 Add the_group filter to allow group object modification Groups Awaiting Contributions enhancement 11/12/2016

Possible to add the_group filter, probably inside the_group() function, to allow to easily modify the group object in the loop? In a similar way to how the the_post filter works.

One scenario where the group objects needs to be modify is explained in ticket:7290. And the only solution at the moment is to modify the groups_template object using nested loops ticket:7290#comment:25 ( which I personally don't like ).

Same filter, I believe, should be applied to the the_member() function. Perhaps this should be created as a separate ticket.


johnjamesjacoby (2 matches)

Ticket Summary Component Milestone Type Created
Description
#6173 'Members' menu selected when current page user profile page Core Awaiting Contributions defect (bug) 01/29/2015

In attached screen shot you can see that the current page selected is "My Profile" URL "/members/chris/profile/"

But also menu "members" URL "/members" was selected.

I checked that the current menu selection was done by wordpress core in file /wp-includes/nav-menu-template.php. So I'm not 100% sure if this could be fixed within buddypress.

Seems like as "my Profile" also contains 'members' it selects the members link too.


#6179 notification count doesn't match on admin bar Toolbar & Notifications Awaiting Contributions enhancement 02/01/2015

BP 2.2 RC2 theme 2013

All is in the title and the joined picture.

To reproduce: mention a user several times (more as once preferably :) )

To solve the issue, i modified the $count in bp_notifications_toolbar_menu function (bp-notifications-adminbar.php:20)

Change

$count = ! empty( $notifications ) ? count( $notifications ) : 0;

to

$count = bp_get_total_mention_count_for_user( bp_loggedin_user_id() );

r-a-y (1 match)

Ticket Summary Component Milestone Type Created
Description
#7837 Group Detail Pages Not Showing w/ Custom Meta Plug-Ins in Version 3.0.0 Templates 3.2.0 defect (bug) 05/18/2018

Group detail pages not showing up following 3.0.0 update on several sites. Rolling back BP to 2.9.4 fixes issues in both the previous and current versions of WP. It appears to be linked to sites currently using custom group meta through an active or inactive plug-ins. I’ve noticed that removing the line: add_filter( ‘groups_custom_group_fields_editable’, ‘group_header_fields_markup’ ); from active plug-ins using the group meta template (https://codex.buddypress.org/plugindev/how-to-edit-group-meta-tutorial/) breaks the plug-in and allows the group pages to be loaded correctly. Also, I’ve noticed that all of these functions have the $wpdb object referenced in (https://buddypress.trac.wordpress.org/ticket/7834). Perhaps there’s a connection? Otherwise, it still appears to be limited to existing sites using custom group meta plug-ins. I've attached a hastily scribbled checker plug-in to test our sites:

[ Also, first Trac issue, so please be kind. :) ]

<?php
/*
Plugin Name: Sample Compatibility Checker
Description: Verify meta data plug-in compatability with BP 3.0.0
Version: 0.1
Requires at least: 3.3
Tested up to: 4.8.1
Author: null
Author URI: https://null
*/

//////////////////// BuddyPress Group Meta Management: https://codex.buddypress.org/plugindev/how-to-edit-group-meta-tutorial/
function bp_group_meta_init_checker() {
function custom_field_checker($meta_key='') {

//get current group id and load meta_key value if passed. If not pass it blank
return groups_get_groupmeta( bp_get_group_id(), $meta_key) ;
}

// This function is our custom field's form that is called in create a group and when editing group details
function group_header_fields_markup_checker() {
global $bp, $wpdb;
//////////////////// End BuddyPress Group Meta Management

//////////////////// Front-End Output
?>

<div style="padding: 20px; margin-top: 10px; margin-bottom: 20px;">
	<b style="font-size: 150%;">Sample Compatibility Checker</b>
	<p>Use these features to categorize your group on MyGC.</p>
		<label for="checker_thing">Thing</label>
			<select name="checker_thing">
				<option value="<?php echo custom_field('checker_thing'); ?>"><?php echo custom_field('checker_thing'); ?></option>
				<option value="Something">Something</option>
				<option value="Not Something">Not Something</option>
			</select>
</div>
<?php
//////////////////// End Front-End Output

//////////////////// Insert Group Meta
// This saves the custom group meta ... props to Boone for the function!
// Where $plain_fields = array.. you may add additional fields, eg
//  $plain_fields = array(
//      'field-one',
//      'field-two'
//  );
}
function group_header_fields_save_checker( $group_id ) {
	global $bp, $wpdb;
	$plain_fields = array(
		'checker_thing'
	);

	foreach( $plain_fields as $field ) {
		$key = $field;
		if ( isset( $_POST[$key] ) ) {
			$value = $_POST[$key];
			groups_update_groupmeta( $group_id, $field, $value );
		}

	}
}

add_filter( 'groups_custom_group_fields_editable', 'group_header_fields_markup_checker' );
add_action( 'groups_group_details_edited', 'group_header_fields_save_checker' );
add_action( 'groups_created_group',  'group_header_fields_save_checker' );
//////////////////// Insert Group Meta

}

add_action( 'bp_include', 'bp_group_meta_init_checker' );
	
?>

tw2113 (2 matches)

Ticket Summary Component Milestone Type Created
Description
#7377 Inline documentation improvements for 2.8 Core Awaiting Contributions enhancement 12/05/2016

There are bunch of places, where PHPDoc is not synced with the related doc. Example:

/**
 * Render the Group Type metabox.
 *
 * @since 2.6.0
 *
 * @param BP_Groups_Group|null $user The BP_Groups_Group object corresponding to the group being edited.
 */
function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null ) {}

Note the usage of $user in @param and $group in code. This might be a problem later, when we will start using https://developer.buddypress.org by @tw2113, so it's better to fix earlier.

The goal of this task is to make constant improvements in such places in various parts of the BuddyPress code.


#7143 2016 list of filters/hooks missing documentation Core Awaiting Contributions enhancement 06/26/2016

Running list of hooks that are presently missing documentation, for my reference.

  • bp_register_email_tax_type -> bp-core-taxonomy.php

Note: See TracReports for help on using and creating reports.