Bug – Creating a lot of default groups
-
Hello there,
for all of you who encounter the same problem, here is what i did.
History:
– Installed Plugin (newest version) on Buddypress (newest version).
– Checked settings and create my own groupProblem:
– the script creates a lot of “default” groupsIssue Focus:
– Find bp-chekins-component.php in “bp-checkins\includes\”around line 285:
//Let's insert a default category if none is set ! $bp_checkins_check_taxo = get_terms('places_category'); if( empty( $bp_checkins_check_taxo ) ) wp_insert_term( __('Default', 'bp-checkins'), 'places_category', array('slug' => 'default') ); parent::register_taxonomies(); }
Quick Hack Solution:
//Let's insert a default category if none is set ! $bp_checkins_check_taxo = get_terms('places_category'); if( empty( $bp_checkins_check_taxo ) ) //wp_insert_term( __('Default', 'bp-checkins'), 'places_category', array('slug' => 'default') ); parent::register_taxonomies(); }
I know it is no pretty but it at least stops injecting defaults into the categories. Hopefully the plugin author can trace the error and recreate this function.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug – Creating a lot of default groups’ is closed to new replies.