Skip to:
Content
Pages
Categories
Search
Top
Bottom

How would i go about removing public group updates from site-wide activity?


  • mcpeanut
    Participant

    @mcpeanut

    Hi all, any ideas how i could do this? i am fine with all the other entries as i have decided to keep them in but i just don’t want anything displaying from the public groups in the site-wide activity ‘ALL MEMBERS TAB’ but keep them displaying in the ‘MY GROUPS TAB’, i realize i can filter activities from showing and have done in the past (it was a long while back and i have wrapped my head so much into linux and server admin that i have forgot! LOL ) But i can remember that i always struggled to stop the public groups from showing up in site-wide activity ‘ALL MEMBERS’ tab.

    I recall managing to remove them from showing but it then also removed them from the my groups tab too and even stopped the updates showing in the actual groups they was posted in (or something like that).

    To be honest i would rather have public groups disabled altogether sitewide and just have private and secret groups available.

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

  • mcpeanut
    Participant

    @mcpeanut

    if i use this code to filter out groups then they do infact remove from the ‘ALL MEMBERS TAB, in sitewide activity.

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&object=profile,status,blogs' ) ) : ?>

    but the problem is they are also removed from the ‘MY GROUPS TAB’, which is where i still want them visible


    mcpeanut
    Participant

    @mcpeanut

    Ok im not bumping this thread on purpose, I am what you would call an idiot! lol
    I got so caught up in everything else i’ve been doing and forgot id already asked this over a year ago, hence me stating it was a long time back since i remember trying to do this, you can delete this thread if i need to carry it on i will post in the original thread i had responses in.

    Sorry guys to much work and lack of sleep can make you forget things like this when you are trying to do a million things at once 🙂


    djsteveb
    Participant

    @djsteveb

    this may do that: https://buddypress.org/support/topic/hiding-stuff-from-the-activity-stream/#post-235995

    I’m thinking about paying someone to take the forked / updated version and wrapping it so it can be pushed to the wp-repo so I can trust using the newer better version.


    mcpeanut
    Participant

    @mcpeanut

    Do you think the forked version on github isnt safe to use?


    danbp
    Participant

    @danbp

    FYI, there is no difference between SWA and My Groups when on the site activity page, except that this option is an activity tab filtered with a kind of just-my groups scope.

    In other words, if you decide to not show group activities on SWA, this will also be the case when you show My Groups.

    I’m affraid that none of the code snippet given here and there will handle separatly the activity page.

    As the concerned component is always ‘activity’, and the concerned activity type is the one you filter (groups, last_update,etc). See bp_activity table for more type names.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How would i go about removing public group updates from site-wide activity?’ is closed to new replies.
Skip to toolbar