Skip to:
Content
Pages
Categories
Search
Top
Bottom

Site Wide Activity Widget Question


  • Will White
    Participant

    @willpcg

    Hey Guys,

    We launched our BP installation for our Association earlier this week and so far things are going great! We are, however, slowly finding things we’d like to improve about the site as we notice how it gets used.

    Our home page is set up to show BP’s Site Wide Activity Widget as the main content on the left, a welcome message and blurb about our how-to guide in the center column, and a list of popular members and groups on the right.

    We’ve noticed that our Site Wide Activity post (which shows 15 things) can vary in height dramatically if its a “So-And-So Added So-And-So as a friend” vs. “So-and-So wrote: Blah Blah Blah on their wire.”.

    What we were hoping to do is:

    1. Remove friendship notices from the site wide activity widget so all you have is the really juicy stuff left.

    2. Is there a plugin anyone knows about that would add a “Load more posts” at the bottom that would allow folks to see older updates on the site wide activity?

    Thanks in advance!

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

  • mogol
    Participant

    @mogol

    any one please help, i want to alter the sitewide activity plugin and display usernames instead of full name

    thanks a lot


    Will White
    Participant

    @willpcg

    Just stumbled across the new BP Roadmap! Looks like the content filter will be coming out August 17th! Exciting stuff!

    No idea about the “Show more notices” part of the Username instead of Full name issue.


    Baden
    Participant

    @baden03

    I was able to disable this by changing the following lines of code in the bp-activity-classes.php file located in the buddypress > bp-activity folder:

    starting at line 196 add WHERE component_name != ‘friends’ like so:

    `if ( $limit && $page && $max )

    $activities = $wpdb->get_results( $wpdb->prepare( “SELECT * FROM {$bp->activity->table_name_sitewide} WHERE component_name != ‘friends’ ORDER BY date_recorded DESC $pag_sql” ) );

    else

    $activities = $wpdb->get_results( $wpdb->prepare( “SELECT * FROM {$bp->activity->table_name_sitewide} WHERE component_name != ‘friends’ ORDER BY date_recorded DESC $pag_sql $max_sql” ) );

    $total_activities = $wpdb->get_var( $wpdb->prepare( “SELECT count(id) FROM {$bp->activity->table_name_sitewide} WHERE component_name != ‘friends’ ORDER BY date_recorded DESC $max_sql” ) );`

    hope this helps someone.


    3469857
    Inactive

    BuddyPress 1.0.3 site wide activity “commented on the blog post” date not shown. Anyone encountered? I installed in localhost.localdomain via xampp. Help me to fix. :)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Site Wide Activity Widget Question’ is closed to new replies.
Skip to toolbar