Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to add custom actions to activity stream?

  • Hi guys,
    I’m working on a project ‘lovethistune.com’ where I want to allow members to create fan pages ,first I thought to use groups for fun pages but then I decided to develop my own component to be able to allow members to customize their fan pages as well ,similar to youtube channels.

    So everything seems to work fine so far but now i need to add actions to activity stream for lets say (some_user created a fan page or some_user has become fan of some fan_page).

    I appreciate any help or suggestions.

    Thanks in Advance,
    Alan

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

  • r-a-y
    Keymaster

    @r-a-y

    Check out the bp_activity_add() function in /bp-activity.php.

    Then you’ll need to add your custom activity to the dropdown select menu.

    Check out the bp_activity_type_tabs action in /bp-themes/bp-default/activity/index.php.
    Make sure your scope matches the <li> id.

    r-a-y, thanks :)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add custom actions to activity stream?’ is closed to new replies.
Skip to toolbar