BuddyDev

Search

[Resolved] Activity Shortcode – help with activity filters

  • Participant
    Level: Master
    Posts: 413
    Venutius on #5828

    Hi Brajesh,

    I need a little help with the syntax for the activity shortcode

    What I am trying to display is only the activity updates for a specific group.

    I am using this:

    [activity-stream object=groups primary_id=9 per_page=10 include=”group updates” allow_posting=1]

    Clearly I’m using the wrong term in “group updates”, I’ve tried a few different options but none seem to work, could you advise please?

    Also, is there anyway to get the group id from the front end? I know I can get it from the Dashboard Groups view but I@d like my group managers to do this for themselves.

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #5850

    Hi George,
    You can use the following:-

    
    [activity-stream object=groups primary_id=9 per_page=10  action="activity_update" allow_posting=1]
    

    Note that action=activity_update is needed and no include option.

    Sorry but there is no way to find the id from front end yet.

  • Participant
    Level: Master
    Posts: 413
    Venutius on #5854

    Thanks a lot for getting back to me Brajesh, that works fine.

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #5857

    Thank you for confirming George.

The topic ‘ [Resolved] Activity Shortcode – help with activity filters’ is closed to new replies.

This topic is: resolved