• 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
    • Forum URLs to VW Articles don't parse correctly

    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: Forum URLs to VW Articles don't parse correctly

    • Issue Tools
      • View Changes
    1. issueid=2198 January 19, 2011 6:49 PM
      Trekkan Trekkan is offline
      Junior Member
      Forum URLs to VW Articles don't parse correctly

      I'm pretty sure I saw this before, but can't find it.

      Anyway, when I'm in a standard VB forum and linking to a VW article, the links don't parse correctly.

      For instance, this URL: http://www.darkhandofvalor.com/showw...n&goto=newpost

      Looks like this as the displayed link to click on: HV+TeamSpeak+Server+Information" target="_blank">Private DHV Wiki entry for TeamSpeak

      and the URL it ends up going to is: http://www.darkhandofvalor.com/showw...e%3Cimg%20src=

      So it's completely broken at the moment. It appears just to be a parsing issue on the display of the VW links because when I edit the post, the "source" of the post looks fine.
    Issue Details
    Issue Number 2198
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.9
    Fixed Version 3.0.10
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. January 19, 2011 9:46 PM
      pegasus pegasus is offline
      VaultWiki Team
      This is not a bug, you are getting smilies inserted into the post by vBulletin. I am not sure how you are creating the links, if you are using the WIKI BB-Code, then it should not be doing this and would be a bug in VaultWiki.

      If you are using the URL BB-Code and specify the link as the option value, like so:
      Code:
      [url=http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private:DHV+TeamSpeak+Server+Information&goto=newpost]Private DHV Wiki entry for TeamSpeak[/url]
      If this is not working, then it is a flaw in vBulletin's URL code.

      Either way, you can stop smilies from being injected on a per-post basis by clicking "Disable smilies in text" in the "Additional Options" block of the editor.
      Reply Reply  
    2. January 19, 2011 11:24 PM
      Trekkan Trekkan is offline
      Junior Member
      I've tried all options and none of them work, here's the results of all of the mentioned combinations.

      ------------------

      Code:
      Code Used: [URL="http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private:DHV+TeamSpeak+Server+Information"]Wiki[/URL]
      
      Disabled Smilies and using standard BBCode to parse
      
      URL Returned: [url]http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private:DHV+TeamSpeak+Serve%20%20r+Information[/url]
      ^^ Note the spaces (%20's) in the URL, there's an extra one.
      
      
      Disabled Smilies and Wiki BBCode Parsed:
      
      URL Returned: [url]http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private:DHV+TeamSpeak+Serve%20%20r+Information[/url]  
      ^^ Same issue
      -------------------

      Code:
      Code Used: [URL=http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private:DHV+TeamSpeak+Server+Information]Wiki[/URL]
      ^^^ removed the quotes as in your example
      
      Disabled Smilies and using standard BBCode to parse
      
      URL Returned: [url]http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private:DHV+TeamSpeak+Serve%20%20r+Information[/url]
      ^^ Note the spaces (%20's) in the URL, there's an extra one.
      
      
      Disabled Smilies and Wiki BBCode Parsed:
      
      URL Returned: [url]http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private:DHV+TeamSpeak+Serve%20%20r+Information[/url]
      ^^ Same issue
      -------------------

      Code:
      Code Used: [URL="http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private:DHV+TeamSpeak+Server+Information"]Wiki[/URL]
      
      Enabled Smilies and using standard BBCode to parse
      
      URL Returned: [url]http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private%3Cimg%20src=[/url]
      
      
      
      Enabled Smilies and Wiki BBCode Parsed:
      
      URL Returned: [url]http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private:DHV+TeamSpeak+Serve%20%20r+Information[/url]
      -------------------

      Code:
      Code Used: [URL=http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private:DHV+TeamSpeak+Server+Information]Wiki[/URL]
      
      Enabled Smilies and using standard BBCode to parse
      
      URL Returned: [url]http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private%3Cimg%20src=[/url]
      
      
      
      Enabled Smilies and Wiki BBCode Parsed:
      
      URL Returned: [url]http://www.darkhandofvalor.com/showwiki.php?title=DHV+Private:DHV+TeamSpeak+Serve%20%20r+Information[/url]
      Reply Reply  
    3. January 20, 2011 12:50 AM
      pegasus pegasus is offline
      VaultWiki Team
      I mean to use WIKI BB-Code like:
      Code:
      [wiki]DHV TeamSpeak Server Information[/wiki]
      There is obviously a problem with vBulletin's URL BB-Code. You may have defined the BB-Code tag as something other than WIKI when you created DHV Private, so use whatever your namespace's tag is.
      Reply Reply  
    4. January 20, 2011 1:22 AM
      Trekkan Trekkan is offline
      Junior Member
      I still can't get it to work. When I try what you said (I need to use [DHVPrivate] as the BBCODE), after I save, the output looks like:

      [DHVPrivate=]http://www.darkhandofvalor.com/showwiki.php?title=DHV+PrivateHV+TeamSpeak+Server+Information&goto=newpost[/DHVPrivate]

      and it just displays it like that but adds in the equal sign.
      Reply Reply  
    5. January 20, 2011 2:04 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/wiki/tag.php, find:
      Code:
      				$tag_map["$exclusive"]["$namespaceid"] = $namespaceinfo['bbcodetag'];
      				$this->wiki->parser['wiki_link_codes'][] = $namespaceinfo['bbcodetag'];
      Replace with:
      Code:
      				$tag = strtolower($namespaceinfo['bbcodetag']);
      				$tag_map["$exclusive"]["$namespaceid"] = $tag;
      				$this->wiki->parser['wiki_link_codes'][] = $tag;
      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:52 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.