Skip to:
Content
Pages
Categories
Search
Top
Bottom

Load Newest


  • navinachettri
    Participant

    @navinachettri

    1. If this feature had to be made then having a button/link to actually load is not user friendly. If it had to be be done then it should happen automatically without the user’s intervention to click.

    2. This function is interfering with Activity Loop Filters. For example when I use the filter:

    <?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ).’&object=groups,friends,status,blogs’ ) ) : ?>

    (i) First of the newer NOT newest activity is not shown. (If we don’t use the filter then the newer activity shows)
    (ii) After the time out of 15 sec (I guess) the (annoying) Load Newest appears.
    (iii) Clicking on the Load Newest makes the newer feeds appear but also along with the items excluded by the filter. (in the case of my example above the profile update).

    Please let us know how to make load newest optional till the the above bugs are corrected.

Viewing 5 replies - 1 through 5 (of 5 total)

  • modemlooper
    Moderator

    @modemlooper

    In admin BuddyPress settings click the settings tab and scroll to bottom and uncheck activity refresh setting


    navinachettri
    Participant

    @navinachettri

    But doing so will not let users see the latest post unless (s)he refreshes the site isn’t it?


    modemlooper
    Moderator

    @modemlooper

    Maybe I’m confused about “making it optional”


    navinachettri
    Participant

    @navinachettri

    ok got that part….sorry
    but I do really want to work with this enabled to fix the issue at hand.

    I have used jquery to trigger the event for Load Newest for avoiding the Load Newest link but this function is interfering with Activity Loop Filters as I have explained. Any solution to this or do I have to live with it.


    modemlooper
    Moderator

    @modemlooper

    If you add filters into the loop then the Ajax load won’t get those. Search on how to add filters in a plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Load Newest’ is closed to new replies.
Skip to toolbar