Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove registration information from sitewide activity


  • Kunal17
    Participant

    @kunal17

    The sitewide activity widget is a prominent part of my homepage and is often cluttered with spammer registrations saying ‘x x became a registered member’. We delete spammers about once a day but this still means that for several hours everyday the activity mainly shows registration information. Since new registrations don’t add much value, I would like to get rid new registrations posts from showing in the activity stream.

    I am running BP 1.1.2.

    Is this possible and how? Thanks.

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

  • djsteve
    Participant

    @djsteve

    I would love to see this, and actually I think it would be prudent to keep people’s activity out of the stream until they have been a member for a selectable amount of time, say 2 days, 3 days, a week. Perhaps even have an option fot amount of posts or something. This would keep the spam blog posts they make from pushing the legit ones off my front page.

    I would also like to see this filter turned off if logged in as admin, so we could administer the the spammers better – I often go to my front page and look at the activity stream to find the spammers – so if this filtered my view, than it would be harder to hunt them.

    Good idea – maybe a plugin will be created like this one day.


    Kunal17
    Participant

    @kunal17

    I tried looking here

    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    but there does not seem to be anything that will solve my problem. Can anybody point me to the write place in the files to remove registrations from activity feeds?

    check out:

    https://buddypress.org/forums/topic/removing-blog-posts-form-the-swa-widget#post-36775

    but instead of component == ‘blogs’ change it to type == ‘new_member’

    then change your theme activity/index.php to remove the select option ‘show new members’

    I would also like to see this filter turned off if logged in as admin, so we could administer the the spammers better –

    using the above example – add before the loop

    if ( is_site_admin() )
    return $activities;


    helloari
    Participant

    @helloari

    FYI the ‘delete’ button in site wide activity didn’t work for me (bp 1.1) but this fix worked:
    http://www.bestbop.com/sitedev/topic.php?id=4

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove registration information from sitewide activity’ is closed to new replies.
Skip to toolbar