Skip to:

Group Extension – "Edit Screen" not working after update

  • Vincent Boiardt


    Another Group Extension related topic!

    I’m currently running a custom theme on BuddyPress 1.2.1 (local) and BuddyPress 1.2 (online) and both versions are having this problem after the upgrade from 1.1.3.

    The extension loads fine. At least I think so since it’s not causing a PHP error and it shows up as an creation/edit step.

    I’m thinking it might have something to do with my theme, but I’m not sure.

    bp-groups-classes.php in 1.2:

    if ( '' != locate_template( array( 'groups/single/home.php' ), false ) ) {
    bp_core_load_template( apply_filters( 'groups_template_group_home', 'groups/single/home' ) );

    bp-groups-classes.php in 1.1.3:

    if ( '' != locate_template( array( 'groups/single/admin.php' ), false ) ) {
    bp_core_load_template( apply_filters( 'groups_template_group_home', 'groups/single/admin' ) );

    If you look at groups/single/home.php in 1.2 you see that the templates are looking different. The way it loads the admin page as well as other group pages.

    In my theme the group admin section works, it’s just the group extension steps that fails.

    If I changed the rows that I mentioned above, back to the 1.1.3 version. My extension started working again.

    Sooo, does anyone have any suggestion to how I should change my extension or theme? Since my group settings page isn’t “framed” within the group as it by default in 1.2, applying the same way of loading the groups/single/admin.php file wouldn’t quite work for me.

    All in all, the leap from 1.1.3 to 1.2 was quite big for someone working with a custom theme (but still a child theme of bp-sn-parent)

  • The topic ‘Group Extension – "Edit Screen" not working after update’ is closed to new replies.
Skip to toolbar