BuddyDev

Search

Scope="following and load_more=1 don't work together

  • Participant
    Level: Initiated
    Posts: 10
    Henrique Assis on #14909

    I’m trying to use this shortcode [activity-stream load_more=1 display_comments=”threaded” allow_posting=1 per_page=10 scope=”following”]. But, while I’m using the “scope=following”, the function load_more stop working. Can you help me? Sorry for my bad english and if I created this topic in wrong place, I’m brazillian and I don’t speak english very well.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2459
    Ravi on #14913

    Hello Henrique,

    Thank you for posting. I have tested this shortcode on my local development server and it’s working for me i.e. load_more is working well. Can you please point me to your site with some demo account sothat I can check there.

    Thank You
    Ravi

  • Participant
    Level: Initiated
    Posts: 10
    Henrique Assis on #14917
    This reply has been marked as private.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2459
    Ravi on #14924

    Hello Henrique,
    Please try disabling RT Media for testing and let me know if that works?

    Regards
    Ravi

  • Participant
    Level: Initiated
    Posts: 10
    Henrique Assis on #14927

    I disabled RT Media, but it didn’t work.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2459
    Ravi on #14928

    Thank you for testing.

    I checked again and I see that you have 4 instances of the shortcode.

    can you please create a normal page without Visual Composer and test with only one shortcode.

    Thank you
    Ravi

  • Participant
    Level: Initiated
    Posts: 10
    Henrique Assis on #14929

    I tested in this page: https://dev.gamersquad.com.br/1305-2/
    Without Visual Composer.
    And this shortcode: [activity-stream scope=”following” load_more=1 ].
    But still don’t working rs.

  • Keymaster
    (BuddyDev Team)
    Posts: 21833
    Brajesh Singh on #14932

    Hi Henrique,
    Ravi asked me to look at this. I checked your site and I see that you are using BuddyPress follow 1.2.2

    The scopes support is not available in BuddyPress follow 1.2.2(which is stable version available from wp.org).

    The support is available in 1.3 branch, Please download it from here

    https://github.com/r-a-y/buddypress-followers

    and use this instead. That will make the scope work.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 10
    Henrique Assis on #14934

    Hi Brajesh. Thank you to reply me, sorry for my bad english. I downloaded the version 1.3 of BP Follow that you sent me the link. The load more worked, but when I click in “+ load more” the posts that appear are by all members, not just the members I’m following. And the version 1.3 of BP Follow are with some bugs I think, because the tab Following and Followers in profile are showing all members too.

  • Keymaster
    (BuddyDev Team)
    Posts: 21833
    Brajesh Singh on #14966

    Hi Henrique,
    I am sorry for the delayed reply.

    BuddyPress follow 1.2.2 does not support scopes query using bp_has_activities()

    If your timeline allows it, I will be happy to look at the bugs and send a pull request to the plugin repo by the weekend.

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved