• Resolved Mike

    (@fsartistgmailcom)


    There’s a problem with the pagination for the Tree view, and I can’t figure out where to fix it at. Here’s the issue:

    When you first visit /groups/, anything that filters is semi-broken.. the search field, the “order by”, and pagination. Using any of these does an ajax call that brings up the OLD visual Groups style (flat format, giant icons).

    However, if you click “Group Tree”, which via ajax basically refreshes the list, now everything works.

    In broken mode, pagination tries to go to “/groups/?grpage=2”.

    After clicking “Group Tree”, the pagination links change to “/wp-admin/admin-ajax.php?grpage=2”.

    Anyone know how to resolve this? Or at least, edit the first load so it matches?

    https://www.ads-software.com/plugins/bp-group-hierarchy/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author David Dean

    (@ddean)

    Hi Mike –

    Thanks for reporting this issue!

    What are your settings in Groups > Hierarchy Settings?

    It sounds like you are displaying the group tree but still keeping the flat group list. Is that correct?

    Pagination should not carry over to the group tree no matter what, so I’ll see what can be done about that.
    – David

    Thread Starter Mike

    (@fsartistgmailcom)

    I’m using only the Group Tree, flat-list is disabled.

    Thread Starter Mike

    (@fsartistgmailcom)

    Btw, I’m temporarily circumventing this issue with some jQuery code, triggering the ajax event manually so that the correct display is loaded.

    Plugin Author David Dean

    (@ddean)

    Which version of BP are you on? Any other BuddyPress plugins active?

    Thread Starter Mike

    (@fsartistgmailcom)

    WP 3.5.2, BP 1.8, bbPress 2.2.4

    Plugin Author David Dean

    (@ddean)

    Hey, Mike –

    I’ve taken a look at this and it seems like the bug only crops up when you are logged in and select “My Groups”. Until you click “My Groups,” everything appears to work normally. And starting a new session will restore correct behavior.

    Anonymous users will never experience this (if the flat list is disable) since there’s no “My Groups” tab for them.

    Can you confirm whether this matches the behavior you’re seeing?

    Got a similar issue. Pagination works fine under My Groups but one of my groups has 87 subgroups which span over 5 pages.

    I can view the first page, but when I click on page 2 or the arrow at the end whilst it displays the second page it doesn’t update the pagination links at the top/bottom of the page.

    The end arrow still points to page 2 as above so I can only view pages 1, 2 & 5 and not 3 & 4.

    Tried deactivating plugins and swapping back to BP-Default theme but the same thing happens.

    Any clues?

    Been busy doing other things and need to focus on getting this bit fixed as it’s the last little bug that needs resolving before I can open my site up.

    I’ve look in all the locations where group lists are displayed and all locations that have more than 2 pages worth of groups(40+).

    Everywhere else the pagination works absolutely fine where I can skip through multiple pages of groups.

    The one and only place it doesn’t work is when you open a group and select the Member Group menu to show what sub groups it has. Whilst you can click on the 2 page the pagination links don’t change color as they should, still says 1 – 20 and the end arrow always links to /wp-admin/admin-ajax.php?grpage=2&num=20

    Plugin Author David Dean

    (@ddean)

    Hi phlux303 –

    Thanks for reporting this issue!

    The bug has been fixed in the development version, and the fix will be included in the next release.

    – David

    Plugin Author David Dean

    (@ddean)

    This is fixed in version 1.4.1

    Please let me know if you run into anything else!

    – David

    phlux303

    (@phlux303)

    Thanks David – just upgraded and tested and works like a charm ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Pagination Broken’ is closed to new replies.