Hmm, cannot seem to post in the Bugs & Issues forum, so here sits this bug...
In links/search.php find:
Code:
if (!$string AND !$username)
{
eval(print_standard_error('links_error_no_search_terms'));
}
if (empty($fields) AND empty($cfields))
{
eval(print_standard_error('adv_gallery_error_no_search_fields'));
}
And replace with the following:
Code:
if (!$string AND !$username)
{
eval(print_standard_error('adv_links_error_no_search_terms'));
}
if (empty($fields) AND empty($cfields))
{
eval(print_standard_error('adv_links_error_no_search_fields'));
}
In forums/admincp/vbalinks_install.php find:
Code:
// ### note that 308 and 311 are the same ###
'311' => array('varname' => 'adv_links_search_nocat', 'ptype' => '1000', 'text' => 'You must choose a category to search in!'),
And replace with the following:
Code:
'311' => array('varname' => 'adv_links_error_no_search_terms', 'ptype' => '1000', 'text' => 'No search terms were specified!'),
'312' => array('varname' => 'adv_links_error_no_search_fields', 'ptype' => '1000', 'text' => 'No search fields were specified!'),
Note that, in this post, the following strings broke because vB adds space into long strings:
Code:
links_error_no_search_t erms => links_error_no_search_terms
adv_gallery_error_no_se arch_fields => adv_gallery_error_no_search_fields
adv_links_error_no_sear ch_terms => adv_links_error_no_search_terms
adv_links_error_no_sear ch_fields => adv_links_error_no_search_fields