• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 3.x Series
    • Bug
    • Two Island Checkboxes

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Two Island Checkboxes

    • Issue Tools
      • View Changes
    1. issueid=1377 April 5, 2010 1:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      Two Island Checkboxes

      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;
      			}
      		}
      In vault/special_plugins_search.php, find:
      Code:
      		else if ($namespaceid === 0)
      Replace with:
      Code:
      		else if ($namespaceid === ISLAND_SPACE)
    Issue Details
    Issue Number 1377
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Searching
    Status Fixed
    Priority 6 - Dev-Related Tasks
    Affected Version 3.0.0 RC 1
    Fixed Version 3.0.0 RC 2
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 5, 2010 1:47 PM
      Kaelon Kaelon is offline
      Regular Member
      Excellent. That fixed it, thank you!
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 6:43 AM.
    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.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.