BuddyDev

Search

[Resolved] Buddypress ‘Members’ built-in widget, possible to modify?

  • Participant
    Level: Enlightened
    Posts: 22
    Michael on #44672

    Hi guys

    My site uses the built-in Buddypress Members widget, shows a list of recent site visitors. It’s a well-liked feature because it gives the site a nice “live action” look.

    Two questions:

    1. Above the list are displayed three filters (Latest/Active/Popular). Would it be possible to remove the “Popular” option? Because it encourages members to try to accrue huge numbers of friends, pointlessly, in order to appear at the top of that list.

    2. The list refreshes on page load, or on clicking a filter. I would really love for that list to automatically update every few seconds (eg. every 10 seconds). So page does not reload, but list refreshes, every ten seconds, without user interaction. Via AJAX? Would such a thing be possible?

    Thanks very much for your consideration.

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #44768

    Hi Michael,
    Thank you for your question.

    1. You may use the following css to hide the popular option

    
    .widget_bp_core_members_widget .bp-separator:nth-child(4){
    	display:none;
    }
    .widget_bp_core_members_widget  #popular-members {
    	
    	display:none;
    }
    
    

    2. Yes, It is doable via ajax but I don’t see any existing solution. You will probably need to develop it as a custom solution.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 22
    Michael on #44774

    Thankyou Brajesh, works great, very much appreciated.

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #44782

    You are welcome.

The topic ‘ [Resolved] Buddypress ‘Members’ built-in widget, possible to modify?’ is closed to new replies.

This topic is: resolved