New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25514

    Hi Kuni,
    I am sorry, the option “Use members loop from theme for listing?” will not work, no matter which theme you use or template pack you use.

    The reason is you have custom filters on members loop and our loop gets affected by that.

    The solution is to differentiate between these two loops.

    A probable solution will be to create a copy of members-loop.php in buddypress/members in the theme and pass some “context=>avatar-widget” and then the original role based filter code, we will return the args if this context is found.

    If you are comfortable with it, Please do let me know.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514

    No problem.

    Thank you for creating the other topic. Let us handle that case there.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514
    Brajesh Singh on in reply to: [Resolved] Remove activity tab menu counter #21341

    Hi Tosin,
    I don’t think that these should conflict.
    The Facebook Like activity stream specifically modifies only one stream. It does not affect any other tab.

    Please give that plugin a try.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514
  • Keymaster
    (BuddyDev Team)
    Posts: 25514
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25514

    Hi Barry,
    Thank you.
    I am glad you resolved it.

    You are right about that value being lost on reload. Just had a look at it. I will post an update in next 2 days with the solution.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514

    Hi Kristian,
    Thank you for opening the new topic.

    Is it from the directory/widget listing?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514

    Hi Kuni,
    Thank you for the update.

    I am sorry but due to use of the custom code, you won’t be able to use theme template.

    The theme template uses bp_has_members() and that will be affected by the custom code used to modify members loop.

    The default is working, because it does not uses bp_has_members() loop.

    At the moment, since the filter bp_after_has_members_parse_args is not aware of the context, we are unable to filter it for one loop and not for another.

    Please use the default listing to keep it working.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514

    Hi Kuni,
    I have tested it and it is working.

    There was a bug when no members had uploaded avatar, It was showing a db error(due to BP_User_Query not understanding the empty array).
    I have fixed that too.

    It is possible that a plugin filtering on bp_after_has_members_parse_args or bp user query can cause this. Please check.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514
    Brajesh Singh on in reply to: [Resolved] Remove activity tab menu counter #21325

    Hi Tosin,
    Please change this

    
    <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'My personal activities and the activities of members you are following on this site.', 'klein' ); ?>"><?php printf( __( 'News Feed <span>%s</span>', 'klein' ), bp_get_total_member_count() ); ?></a></li>
    

    to

    
    <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'My personal activities and the activities of members you are following on this site.', 'klein' ); ?>"><?php _e( 'News Feed', 'klein' ); ?></a></li>
    

    That should do it.

    Regards
    Brajesh