Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Action Filters


  • Venutius
    Moderator

    @venutius

    I was wondering if someone could point me in the direction of a list of all the action filters available in BP?

    I have a partial list – activity_update, new_forum_post, profile_updated, activity_comment

    I’d like to have a full list if I can, I’ve looked all over for this info but so far have drawn a blank.

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

  • danbp
    Participant

    @danbp

    Check from here(experimental – uncomplete) or here(stable – complete)


    Venutius
    Moderator

    @venutius

    Thanks Dan, That looks like a very useful list. However it does not include what I’m looking for, since the filters I already know about are not mentioned there.

    I’ve using BP Activity Shortcode and want to understand exactly what activities I can specifically display using the action= option, this I think takes standard BP Action events and displays those specifically, I wanted to create a list that would display all action items for a group with the exception of activity_update and activity_comment.


    danbp
    Participant

    @danbp

    You’re mentionning activity types…

    When you go to a group activity screen, you have the group activity filter which give you a list of related group activities you can use: updates, group updates, group membership and if you have a group forum: topics and replies.

    To know how it is spelled internally, the simpliest is to go to DB and _bp_activities table, sort it by component and search groups and you will see the correct type name beside. That’s it for activities.

    If you want list all filters applied to groups, use notepad++ and search for “apply_filters”. This will retrieve over 300 lines of filters related to the group component.

    …but not sure i understand you correctly. 😉


    Venutius
    Moderator

    @venutius

    ah yes, sorry for getting that wrong, activity types it is. I’ll take a look at my DB later, see if I can find this. Last time I tried I failed 🙁


    danbp
    Participant

    @danbp

    The complete activity list including bbpress

        $retval['action'] = array(        
            'activity_comment',
    	'activity_update',
    	'created_group',
    	'friendship_created',
    	'joined_group',
    	'last_activity',
    	'new_avatar',
    	'new_blog_comment',
            'new_blog_post',
    	'new_member',
    	'updated_profile',   
    	'bbp_topic_create',
    	'bbp_reply_create'
        );

    Venutius
    Moderator

    @venutius

    Excellent! You have no idea how long I’ve been looking for this, Thanks!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar