Skip to:
Content
Pages
Categories
Search
Top
Bottom

Limiting the activity page?

  • Avatar of craftersuniversity
    craftersuniversity
    Participant

    @craftersuniversity

    Since i blog about videos and embeds them, the activity page gets really slow with so many posts visible at once. Is there any way to change the number of activities visible by default on the activity screen? I still like to keep the “load more” button thought.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of craftersuniversity
    craftersuniversity
    Participant

    @craftersuniversity

    Sorry, but it doesn’t work. I can only find two activity-loop.php in the BuddyPress plugin folder, one in \buddypress\bp-themes\bp-default\activity which doesnt change anything when altered and one in \buddypress\bp-templates\bp-legacy\buddypress\activity which breaks the site, stops some plugins and refuses to show any activities at all when altered according to your instructions. I’ve also tried placing them in my child theme, but it doesn’t do anything…

    What could be the problem?

    By the way, i’m using a child theme of Twenty Eleven.

    Avatar of craftersuniversity
    craftersuniversity
    Participant

    @craftersuniversity

    Sorry but it still does not work. I replace the code with yours ( <?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) . ‘&per_page=5′) ) : ?> ) on line 16 and place the file in my child theme folder, but it simply does nothing….

    Avatar of craftersuniversity
    craftersuniversity
    Participant

    @craftersuniversity

    Thanx, that work great! I didn’t know it had to go in a folder named “activity”.

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

You must be logged in to reply to this topic.