Support » Plugin: BP Checkins » Activity checkin's like places_around

  • Resolved jddeisel


    Hi Imath,
    Sorry for all the questions. What I am trying to do, is implement a nearby_checkins in the regular activity feed. So I see you are using a filter places_around for places. I would like to implement the same feature in the activity feed. I see the function where you search the lat and long + and – 4. Then I see in bp_activity_add_filter_options where you add Activity Checkins and Place checkins to the list of options in the regular activity feeds. So I inserted a new one there nearby checkins. What I am having trouble with is finding where it goes next. So where would I insert that function to return the nearby checkins. I am still getting my head around the whole buddypress way of doing things.

Viewing 1 replies (of 1 total)
  • Plugin Author imath


    checkins info are in {table_prefix}bp_activity_meta, i guess you need to filter the main activity query (BP_Activity_Activity) by using the filter ‘bp_activity_get_user_join_filter’ and by filtering the count query ‘bp_activity_total_activities_sql’

Viewing 1 replies (of 1 total)
  • The topic ‘Activity checkin's like places_around’ is closed to new replies.