Support » Plugin: BP Profile Search » Change the Results display page

  • Resolved blueoceans2002

    (@blueoceans2002yahoocom)


    Hello,
    I would like to know how to change the results display page in a custom page rather than the member directory page( root page).
    What I have done is, I have created a separate template for members dierctory and added the search widget to this page. Now when the search is made, it takes me to the actual members directory. The reason why I want to change is, the search is displayed in my profile page as well. I want it to be displayed only in members directory page exclusively. Can anyone please tell me how to display the search results in my custom page. Thanks in advance.

    Satish

    http://wordpress.org/extend/plugins/bp-profile-search/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Satish,

    You have to change the form action in bps-searchform.php to point to your custom members directory.

    blueoceans2002

    (@blueoceans2002yahoocom)

    Hello,
    Thanks Andrea for the wonderful plugin. I think you meant this change
    $action = bp_get_root_domain (). ‘/’. bp_get_members_root_slug (). ‘/’;
    I tried changing this to
    $action = http://mydomain.com/newpage-name;
    I get error syntax error, unexpected ‘:’ on line 9
    I tried
    $action = bp_get_root_domain (). ‘/’members;
    I get error syntax error, unexpected T_STRING on line 9

    Plugin Author Andrea Tarantini

    (@dontdream)

    Try this (please note the quotes):

    $action = "http://mydomain.com/newpage-name";

    blueoceans2002

    (@blueoceans2002yahoocom)

    This worked for me on single site but When I use WPMU, the search is not working. The issue is
    1. I have to Network activate it to find profile search setting in WPMU network users menu.
    2. If it is activated on WPMU’s particular site, still the setting is available on WPMU Network.
    3. Now the plugin is network activated, setting is made and added to the widget. Now when I make the search, nothing happens. I see that the name exists but still does not show in results. It doesnt even show a message that “search again” or try different key word” or some message.
    Please help..

    blueoceans2002

    (@blueoceans2002yahoocom)

    Hi ,
    Problem Solved. The issue was with the
    $action = “http://mydomain.com/newpage-name”;
    With this above code, the results dont show up. But I changed it back to normal. It works like a charm. Thanks for this wonderful plugin.

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Satish,

    Glad you found the solution!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change the Results display page’ is closed to new replies.