• 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
    • Incorrect Namespace Switching Language View

    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: Incorrect Namespace Switching Language View

    • Issue Tools
      • View Changes
    1. issueid=1423 April 13, 2010 4:11 PM
      pegasus pegasus is offline
      VaultWiki Team
      Incorrect Namespace Switching Language View

      When switching language views of an article, the namespace of the resulting page may not be the namespace of the desired page.

      Fixed in the current ZIP. In vault/special_plugins.php, find:
      Code:
      SELECT title_enc
      Replace with:
      Code:
      SELECT namespaceid, title_enc
      Find:
      Code:
      			$vbulletin->GPC[$vbulletin->options['ces_titlevar']] = $transpage['title_enc'];
      Replace with:
      Code:
      			$transpage['enctitle'] = $transpage['title_enc'];
      
      			if ($transpage['namespaceid'] != $vbulletin->options['ces_default_forumid'])
      			{
      				$transpage['enctitle'] = $vault->urlencode($vault->namespacecache[$transpage['namespaceid']]['title'], $transpage['namespaceid']) . ':' . $transpage['title_enc'];
      			}
      
      			$vbulletin->GPC[$vbulletin->options['ces_titlevar']] = $transpage['enctitle'];
    Issue Details
    Issue Number 1423
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Language / Phrasing
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 3.0.0 RC 1
    Fixed Version 3.0.0 RC 1
    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 13, 2010 4:30 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Applied this fix, and still got the error where it throws up an empty version of the existing page... I am using Mod ReWrite, that possibly an issue here?
      Reply Reply  
    2. April 13, 2010 4:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      What is the URL of the original page, and the URL of the empty version?
      Reply Reply  
    3. April 13, 2010 5:09 PM
      Mokonzi Mokonzi is offline
      Senior Member
      The page I've recreated it on is this: http://www.thexuniverse.com/showwiki/Harrier+Sentinel

      The URL is identical for both, no change at all.
      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 7:10 PM.
    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.