• Here my BuddyPress 2.7 RC1 test results on front-end with that plugin activated

    On groups directory:

    Group members count shows 0 -> Public group / 0 members
    I see the join group button, even for group i’m already member of.

    On a group header:
    No admin or mods are shown, even in groups i’m admin or mod.
    Group Member button -> the count shows 0
    I see the join group button, even for group i’m already member of.

    As 2.7 introduce group types, i guess this plugin would loose his interest.

Viewing 11 replies - 1 through 11 (of 11 total)
  • namrons

    (@namrons)

    I’m still on 2.6.2. Has Buddypress 2.7 made this plugin unusable/redundant going forward?

    To solve the group member count and membership status problem, You need to comment out or delete the magic setters in includes/bp-group-hierachy-classes.php, isset(), set(), and get().
    https://github.com/ddean4040/BP-Group-Hierarchy/blob/master/bp-group-hierarchy-classes.php#L160

    BP 2.7 added magic getter/setter functions to the parent class BP_Groups_Group, so declaring them in the child class breaks the functionality of the parent class.

    Hivemindnetwork

    (@hivemindnetwork)

    Thank you very much @dcavins – this is exactly what I needed. Much appreciated.

    This was a great help at getting this plugin to almost work. It appears to, but on the latest 2.7.1 buddy press I see that when you try to create a group, it adds in the correct place in the hierarchy from step 2 in creation, but then falls out (forgets it’s place) and just creates the group at the top level.

    Is there anyone who could please help with this? I’m happy editing code if I’m pointed to what and where.

    Very, very much appreciated.

    @dcavins (if you’re able?)

    Hi @hivemindnetwork-

    There’s a (new?) bug in BuddyPress causing problems on the create screen. You can make a change to Group Hierarchy’s group extension create_screen() method:
    https://github.com/ddean4040/BP-Group-Hierarchy/blob/master/extension.php#L134

    that looks like this:
    https://github.com/dcavins/hierarchical-groups-for-bp/commit/361d73545f52d2af496ccd7baad58dda6ab16569

    We’ll get it fixed upstream in BP, hopefully, but in the short term, you should add this bit of code.

    Thanks too much for that @dcavins – I didn’t even realise there was a different version of this plugin, which looks a lot better. Can I ask, is this/will this appear on the wordpress plugin directory or should I just keep an eye on the git for updates?

    Hi @hivemindnetwork-

    It’s a completely new plugin written in the last month that dovetails with new core support in BP 2.7. I haven’t published it to the WP plugins directory yet because it hasn’t been thoroughly tested beyond my development site. If you have a testing site, I’d really appreciate you giving it a try and submitting GitHub issues for problems you find.

    Thanks!

    -David

    Hi @dcavins,

    Through a situation not worth going into I’ve ended up installing it on to our live environment as it’s certainly a lot better than what was on there, (the old plugin; broken). So I’ll be sure to keep you posted of how we get along with it. Initially thoughts are, it’s excellent.

    Thank you

    @dcavins Thanks so much for your new plugin. It solves the issues I had, and it seems to have the features of the “BP Group Hierarchy Propagate” plugin by Christian Wach included. Should be a hit in the community when you add it to the WordPress plugin directory.

    Thanks for the positive feedback, @namrons. It’s still very much a work in progress, so please let me know when you find a problem.

    r-a-y directed me over here when I reported this problem over in the BP community. I did the fix of commenting out the magic setters, and it fixed the count problem — but not 10 minutes later someone on my team noticed that the “group search” functionality was broken. A public group we had searched for just a few minutes earlier was now turning up no results. I rolled back the fixes, and now the search works again.

    Would love to know if there’s a workaround for that issue.

    Additionally, I would like to test the new plugin. I have one question first: what happens with the existing hierarchy? Does the new plugin use the old settings in any way, or do we have to start from scratch and adjust every group to it’s parent? (We have over 100 groups, so it’s no small task. ?? )

    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fails with BP 2.7’ is closed to new replies.