• 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
    • Island namespace is bugged

    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: Island namespace is bugged

    • Issue Tools
      • View Changes
    1. issueid=2608 March 6, 2012 7:06 PM
      nasko nasko is offline
      New Member
      Island namespace is bugged

      So I was trying to find a way to create articles with the same name and then put them in a Book = decided to use the Island namespace instead of creating new namespaces.
      I created a new article in Island, but then the namespace Island got appended to the Article name as in Island: Name of Article.

      They I realized that there should be an option for that, but it looks like the options for the Island namespace are bugged:

      Does this looks normal?



      These are the only options when I click Edit:



      How do I fix this?

      Thank you.

      vBulletin® Version 3.7.2
      VaultWiki v3.0.16
    Issue Details
    Issue Number 2608
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Islands
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.16
    Fixed Version 3.0.17
    Milestone (none)
    Software DependencyvBulletin 3.6
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 9, 2012 2:55 AM
      pegasus pegasus is offline
      VaultWiki Team
      The options are correct, but it's incorrect that it's putting the word Island before the title.

      In vault/factory/postbit.php, find:
      Code:
      				!($vault->field->get('options', $this->thread['namespaceid']) & $vault->misc['namespaceoptions']['constant'])
      Add before:
      Code:
      				$this->thread['namespaceid'] != ISLAND_SPACE AND
      Reply Reply  
    2. March 9, 2012 10:50 AM
      nasko nasko is offline
      New Member
      So there are no other options for the Island namespace such as Prefix Namespace Title, Require Edit Reason for Wiki Articles, Allow article discussions?

      The only reason I'll be using the Island namespace is to create a number of Articles with the exact same names, but would like for normal users to be able to comment on these. Is that possible?
      Reply Reply  
    3. March 9, 2012 4:46 PM
      pegasus pegasus is offline
      VaultWiki Team
      Comments should be turned on for Island pages by default. If the Comments tab is missing from Island pages, please let me know.
      Reply Reply  
    4. March 9, 2012 5:00 PM
      nasko nasko is offline
      New Member
      It looks like they are missing. This is what I do: I click Special Pages from the Main drop down menu, then I click Island pages and then the Island Article (it's the only one so far). And this is what I see:

      This Island Article is part of a Book:


      This one is not:
      Reply Reply  
    5. March 9, 2012 9:57 PM
      pegasus pegasus is offline
      VaultWiki Team
      In admincp/vaultwiki_namespace.php, find:
      Code:
      	else
      	{
      		construct_hidden_code('options[constant]', 0);
      		construct_hidden_code('options[discuss]', $namespace['namespaceid'] == SPECIAL_SPACE ? 0 : 1);
      		construct_hidden_code('options[reason]', 0);
      	}
      Replace with:
      Code:
      	else if ($namespace['namespaceid'] == ISLAND_SPACE)
      	{
      		print_yes_no_row($vbphrase['space_discuss'], 'options[discuss]', $namespace['options'] & $vault->misc['namespaceoptions']['discuss'] ? 0 : 1);
      
      		construct_hidden_code('options[reason]', 0);
      		construct_hidden_code('options[constant]', 1);
      	}
      	else
      	{
      		construct_hidden_code('options[constant]', 1);
      		construct_hidden_code('options[discuss]', 1);
      		construct_hidden_code('options[reason]', 0);
      	}
      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 11: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.