Support » Plugin: BP Profile Search » problem with search in sub site

  • Resolved Flyer29


    Hi Andrea,

    first of all, thanks for your great plugin and I’m so happy that it’s now (almost) working for the newest version of WP and BB.

    I’m using WP 3.4.2 multisite and BP 1.6. The multisite installation is in a sub directory, so something like main/ for the english version and a main/de/ for the german version. I’m using an unique instance of BP for both sites.

    The installation and activation of the plugin works like a charm in the admin menu for multisite, my form is showing wonderfully on the main site. Unfortunately, I only get on the subsite a “search” button without any fields to select. Since the selection of the “selectable” fields is done on the multisite admin level, I have no chance to change anything in the sub site.

    Since I get a “search” button in the form of the sub site, it’s telling me the plugin is loading on the subsite but has no field selected for the search, right? How can I set it up, since I don’t see setting for BP search profile on the subsite level but only on the multisite level?

    Thanks a lot in advance for your help and again : great work!

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


    I’ve only tested this plugin in a multisite installation where BuddyPress is Network Activated. Is your installation different?

    Nope. As well Buddypress as FB Profile search are network activated. On the multisite admin level, I’m able under user->Profile search to tick the fields that should be searchable. The form then is working on the main site showing all the searchable criteria, on the subsite I only see a “search” button without any criteria to search for displayed.

    I just deinstall, delete and reinstall the plugin and unfortunately it is still not working.

    Plugin Author Andrea Tarantini


    Are you using the line

    define( 'BP_ENABLE_MULTIBLOG', true );

    in your wp-config.php?

    Yes (seems to have been defined as standard).

    Commenting it in or out is having no effect on the problem. In both cases (so with and without the BP_ENABLE_MULTIBLOG) the form is only showing the criteria to search on the main site.

    Hi Andrea,

    Finally got it!

    The plugin is registering correctly on a multisite environment, but the options are saved locally. So you have no chance to get them on a subsite. For the plugin to work, you have to change the get_option and update_option to get_site_option and update_site_option then it works like a charm 😉

    Plugin Author Andrea Tarantini


    Hi Flyer29,

    Well done! And thank you for sharing the solution, I’ll add it to the next plugin version.



    I have made changes as Flyer advised. But still the setting is not shown in subsite & when the plugin is activated within subsite. Any suggestions. Thanks

    Plugin Author Andrea Tarantini


    Hello Satish,

    I’m afraid you found a plugin bug, I’m trying to fix it soon.

    Hi Andrea,

    Any idea on when we can expect the fix?

    Many thanks!

    Hi Everyone,

    The profile search in setting still not show up in the subsite.

    Please advice

    Plugin Author Andrea Tarantini


    Version 3.5 is out, please give it a try!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘problem with search in sub site’ is closed to new replies.