WordPress.org

Forums

BP Checkins
[resolved] Activity checkin's like places_around (2 posts)

  1. jddeisel
    Member
    Posted 2 years ago #

    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.
    Thanks,
    Dave

    http://wordpress.org/extend/plugins/bp-checkins/

  2. imath
    Member
    Plugin Author

    Posted 2 years ago #

    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'

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BP Checkins
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.