Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity stream order by most favorite activities

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

  • shanebp
    Moderator

    @shanebp

    The git code is 2.7 years old.

    If var_dump isn’t working, make sure the function is being called – try an echo before the preg_match call.

    You can also open an issue in the git plugin and see if you get a response.
    https://github.com/imath/bp-loop-filters/issues


    bayshanac
    Participant

    @bayshanac

    I tried echo before preg_match in order_by_most_favorited function and nothing. It seems that the function isn’t loaded. It is called in setup_filters:

    private function setup_filters() {
    		add_filter( 'bp_ajax_querystring',              array( $this, 'activity_querystring_filter' ), 12, 2 );
            add_filter( 'bp_activity_get_user_join_filter', array( $this, 'order_by_most_favorited' ), 10, 6 );
    	}
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Activity stream order by most favorite activities’ is closed to new replies.
Skip to toolbar