Hi Andrea,
Thanks for the great plugin. I was able to figure out the issue. What I did was
Deleted the line which choose multisite and create a section and page in Network/User.php . The lines that I deleted are
add_action (is_multisite ()? 'network_admin_menu': 'admin_menu', 'bps_add_pages', 20);
function bps_add_pages ()
{
add_submenu_page ('users.php', 'Profile Search Setup', 'Profile Search', 'manage_options', 'bp-profile-search', 'bps_admin');
return true;
}
add_filter (is_multisite ()? 'network_admin_plugin_action_links': 'plugin_action_links', 'bps_row_meta', 10, 2);
function bps_row_meta ($links, $file)
{
if ($file == plugin_basename (__FILE__))
{
$url = is_multisite ()? network_admin_url ('users.php'): admin_url ('users.php');
$settings_link = '<a> 'bp-profile-search'), $url). '">'. __('Settings', 'buddypress'). '</a>';
array_unshift ($links, $settings_link);
}
return $links;
}
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Now When activated in individual sites with buddypress being activated, you will find Buddypress Profile search in respective sites. This solution worked for me when I set
Multiblog is true. Hope this helps someone.