Support » Plugin: BuddyPress Global Search » MediaPress Results not Showing

  • Resolved Josh


    Hello. Very nice plugin. Client is using regularly; and says very nice things.

    The issue arises when an activity post is made with an image. The client uses MediaPress to add photos/videos to activity post items. However, it seems BP Global search can’t find this activity item if an image is attached.

    Steps to replicate (needs MediaPress installed):

    1) Create a post with “Hello World Keyword”.
    2) Attach an image to the post using MediaPress.
    3) Use BP Global Search to search for “Keyword”.
    4) No results are returned.

    I’ve briefly looked over your plugin code; and the only thing that comes to mind is the “activity_type” (normally used for BP activity posts) is changed to “mpp_media_upload” when an image is attached to the activity post.

    Perhaps your plugin does not search for the “mpp_media_upload” activity types?

    Is there a way I could encourage you to take a look at this and see if support for MediaPress could be added?

    Thank you for your time!

Viewing 1 replies (of 1 total)
  • Well, I think I just fixed the issue. In includes/search-types/ the file class.BBoss_Global_Search_Activities.php on line number 80.

    Taking the comment from the code:
    //searching only activity updates, others don't make sense.

    By changing line 80 to:
    AND ( a.type = 'activity_update' OR a.type = 'mpp_media_upload' )… allowed the activity items with media attached to be displayed properly.

    It would be fantastic if you could make this adjustment in the production of your code; so that we may continue to update without losing the modification.

    Thank you for the consideration.

Viewing 1 replies (of 1 total)
  • The topic ‘MediaPress Results not Showing’ is closed to new replies.