The MU forums have moved to WordPress.org

Problems with adding search areas to the search bar (2 posts)

  1. shaisimchi
    Member
    Posted 14 years ago #

    Hi,

    I am running wordpress MU with buddypress on top.
    I have added the bp-events plugin.
    Currently the search bar will only search members and groups and I would like for it to search through events too.

    When I choose members in the dropdown list with the string x I see the following URL being called: http://mydomain.com/wpmu/members/?s=x

    When I choose groups in the dropdown list with the string y I see the following URL being called: http://mydomain.com/wpmu/groups/?s=y

    I have edited the file that builds the dropdown list and now it also contains the Events option but when I choose that option for some reason the URL being caled when I search for event z is: http://mydomain.com/wpmu/members/?s=z

    I am not sure what I am doing wrong but it seems after my debugging that a parameter called _wp_http_referer is not getting the right value when the Events option is selected. instead of being wpmu/events/?s=z it is changing to wpmu/members/?s=z and this is what causing the URL to be wrong.

    It would be great if someone can point me to a solution or to what I am doing wrong.

    Thanks,

    Shai

  2. SteveAtty
    Member
    Posted 14 years ago #

    Isn't this more of a Buddypress issue than a WPMU one?

About this Topic

  • Started 14 years ago by shaisimchi
  • Latest reply from SteveAtty