When searching for wiki pages (Special:Search) in vBulletin 3, there are 2 "Island" checkboxes on the page. When selecting the second (correct) Island space, no results are returned.
Fixed for the next build, even though we intend to replace this page shortly after with a regular vBulletin Advanced Search page.
In vault/special/special_search.php, find and delete:
Code:
$namespaces[0] = $vbphrase['vault_island'];
Find:
Code:
if ($nsid > 1)
Replace with:
Code:
if ($nsid != SPECIAL_SPACE AND $nsid != ISLAND_SPACE)
Find:
Code:
$name = "namespace[$nsid]";
Add before:
Code:
else if ($nsid == ISLAND_SPACE)
{
foreach ($vbulletin->forumcache AS $islandid => $iinfo)
{
if ($iinfo['vault_type'] != 2)
{
continue;
}
// break forum links so we can find articles
$vbulletin->forumcache["$islandid"]['link'] = '';
$perms = fetch_permissions($islandid);
if (!($perms & $vbulletin->bf_ugp_forumpermissions['canview']))
{
continue;
}
$islands["$islandid"] = $islandid;
}
if (empty($islands))
{
continue;
}
}
This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.