Skip to:
Content
Pages
Categories
Search
Top
Bottom

Which File and How to Sort?

  • @ecros

    Participant

    Hey everyone, I have been Googling and reading over and over, but can’t find the simple answer.

    On the Site-Wide Activity page, where in the world (in what file) can I change the “Show” dropdown? My users don’t want to see who is making friends with whomever, but they would rather see user “Updates” by default, rather than having to select it from the dropdown.

    Currently, “Evething” is the default selection in the dropdown. It just shows too much information. So what file is it that needs to be edited to make “Updates” the default selection when the page loads instead of “Everything”?

    Thanks so much for the help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • @ecros

    Participant

    I have changed the /wp-content/plugins/buddypress/bp-themes/bp-default/activity/activity-loop.php file to reflect changes mention here: http://wpmu.org/how-to-customize-the-buddypress-activity-loop/ but it does not change my site.

    There is mention of altering the child theme, however, I have no other files anywhere named activity-loop.php.

    I am using the Hueman theme with my site. Is this considered a child theme? This is incredibly frustrating.

    @shanebp

    Moderator

    Use a template overload.

    And this is the file to use:
    buddypress\bp-templates\bp-legacy\buddypress\activity\activity-loop.php

    @djsteveb

    Participant

    A different method to get similar results:
    I use BuddyPress Block Activity Stream Types ( https://wordpress.org/plugins/buddypress-block-activity-stream-types/ )

    and I have these set to be axed from activity stream:
    deleted_group_document, new_blog, new_member, joined_group, friendship_created, activity_liked

    although it is in desperate need of an update / fork to make it work smoother with bp 1.9 plus I think. I just looked into plugin settings to get info for you, and I see a weird message on the settings page:
    Warning: Missing argument 2 for wpdb::prepare(), called in /wp-content/plugins/buddypress-block-activity-stream-types/admin/bp-activity-block-admin.php on line 6 and defined in /wp-includes/wp-db.php on line 1154

    Hmmm.. it still works to block the annoying stuff my users have no interest in. Wonder what it will take to get this plugin forked and updated.

    @djsteveb

    Participant

    Looks like someone has forked or remade / resurrected this. From the support threads for the activity stream types block thing on wp repo; lenasterg.wordpress dot com/2014/11/14/bp_block_activity_types/

    Says code is posted on github instead of wp repo – can anyone confirm this code is good / safe to use?

    Why does buddypress dot org forums throttle and block me from posting half the time? meh. I have to cut up links, remove words. Another why we can’t have nice things, thing, I guess.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Which File and How to Sort?’ is closed to new replies.
Skip to toolbar