BuddyDev

Search

[Resolved] custom fields to bp site wide activity widget

  • Participant
    Level: Initiated
    Posts: 7
    Brian S Reverman on #7083

    Hi – Is there a way to add fields to the “include” or “exclude” filters in the Site Wide Activity widget?

  • Keymaster
    (BuddyDev Team)
    Posts: 22202
    Brajesh Singh on #7098

    Hi Brian,
    My apologies for the delayed reply.

    I am not sure if I understand it correctly. Can you please help me understand the desired outcome of this?

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 7
    Brian S Reverman on #7116

    I’d like to add a custom fields to the exclude/include filters so that I can use the widget to show categories that are not currently supported.

    screenshot = https://www.dropbox.com/home/Screenshots?preview=Screenshot+2017-01-27+13.34.18.png

  • Keymaster
    (BuddyDev Team)
    Posts: 22202
    Brajesh Singh on #7117

    Hi Brian,
    Thank you.
    It is possible to do so using ‘swa_get_activity_filter_links’ filter.

    But I am not sure if it will serve any purpose. The include/exclude are based on the “Component” whose activity have been saved in the database. It then uses that component to filter the activity.

    In your case, if the category is not saved as activity component, even adding to this filter list will not serve any purpose. You may benefit from custom Activity Query though.

  • Participant
    Level: Initiated
    Posts: 7
    Brian S Reverman on #7119

    OK Thanks for the help.

You must be logged in to reply to this topic.

This topic is: resolved