Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to disable Wire posts from being shown in site wide activities…

  • Avatar of sandeepdude
    sandeepdude
    Participant

    @sandeepdude

    Hello,

    I don’t want the wire posts to be shown in site wide activity widget.

    May i know how to remove it?

    Thanks,

    Sandeep

Viewing 1 replies (of 1 total)
  • Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    @Sandeep

    The widget just pulls all activity data from the wp_bp_activity_sitewide table. So, you have three options:

    1. Write a custom widget based on the widget code in bp-activity-widgets.php that does a check for $item['component_action'] == new_wire_post and filter that out from the output.
    2. If you don’t want users to have the ability to make wire posts at all, then you can disable that component in WPMU’s backed by logging in as site admin and going to

      BuddyPress > Component Setup > Comment Wire

      and then selecting the “Disabled” radio button. Don’t forget to then hit the “Save Settings” button at the bottom.

    3. Submit an enhancement ticket in trac requesting more fine-grained control over the output of the site wide activity widget.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.