Add a pagination on top of buddypress member list

This topic contains 3 replies, has 2 voices, and was last updated by  Olivier 9 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8750

    Bill Django
    Participant
    • 47 Posts
    @billdjango

    Why I think every buddypress need this feature ?

    Because BuddyPress has not implement a BASIC feature !

    On BuddyPress member list, when you click on page 2, visit a profile then click on return button, you go back on page 1.

    I create a ticket on BuddyPress forum to explain about this problem.

    I don’t understand how a system with so many users don’t have fix this issue.

    So, I want to add a pagination on top of member list to help my users not to have to scroll down the entire page to find the pagination.

    Can you tell me how to add this with a hook for example ?

    Thanks a lot.

    #8775

    Olivier
    Moderator
    • 1801 Posts
    @themosaurusrex
    Themosaurus Support

    Hi @billdjango,

    Unfortunately, I have no idea about how to do this or which hook to choose to implement it. 🤷‍♂️

    Furthermore, as this issue is related with the BuddyPress, it’s best if you wait a reply from the plugin authors. They will be more informed and better suited to help you.

    You can always consider using Youzer to improve the BuddyPress user experience. All recent versions of Gwangi support this plugin. For more, please visit our demo:

    Home

    We remain available for all support requests related with the use of your theme.

    Best,

    #8855

    Bill Django
    Participant
    • 47 Posts
    @billdjango

    With this code, you can have a patch to avoid return on page 1. Maybe you can implement in a future release ? There is just a problem on mobile, it works only on desktop.

    	/**
    	 * Update history on click in members navigation
    	 */
    	$(document).on("mouseup touchend", "#member-dir-pag-bottom a.page-numbers", function(){
    		history.pushState({}, "Member directory - Page "+ $(this).text(), $(this).attr("href"));
    	});
    #8864

    Olivier
    Moderator
    • 1801 Posts
    @themosaurusrex
    Themosaurus Support

    Hi @billdjango,

    Thank you for providing this snippet. Maybe it can help others facing the same issue.

    As I mentioned above, this issue is related with BuddyPress, not our theme. So it’s best to report it to the plugin authors and ask them to improve this feature.

    We remain available for all support requests related with the use of your theme.

    Best,

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.