• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • ignoring / in page titles

    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.

    Results 1 to 2 of 2

    Thread: ignoring / in page titles

    • Thread Tools
      • Show Printable Version
    1. October 14, 2011 #1
      Lord Doys
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Lord Doys is offline
      Junior Member
      Join Date
      September 27, 2011
      Posts
      45
      Rep Power
      181

      ignoring / in page titles

      I have quite a few pages containing a / in the title.
      Is it posible to ignore those when parsing the pagetitle? now they get replaced by the "Replace Spaces in URLs" setting.
      Reply With Quote Reply With Quote

    2. October 17, 2011 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      For now, you should be able to eliminate stripping / from URLs by creating a plugin. If you're not using Simple Wiki URLs, I don't recommend this, because the incoming URL may be reported as %2F rather than / which will not always resolve properly. If you're using Simple Wiki URLs, you may have to customize your .htaccess rules or server configuration to achieve proper routing of URLs that contain /.

      To re-allow /, create a plugin at hook location vault_url_encode
      Code:
      if ($this->wiki->language->charset["$langid"] == 'U')
      {
      	unset($replacementlist['/']);
      }
      else
      {
      	$allowstring .= '\/';
      }
      After reviewing the code for the URL handler, the lack of / support looks like it may be a bug. Let me know if you have any issues implementing this. If not, we will apply the necessary changes to the product.

      Note: After creating this plugin, you will need to rebuild Wiki URLs via VaultWiki > Wiki URL Manager, which may take some time.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Change Area Titles Size/Color
      By WebFusion2 in forum VaultWiki Questions
      Replies: 3
      Last Post: December 20, 2015, 9:18 PM
    2. Modifying <titles>
      By beernuts in forum VaultWiki Questions
      Replies: 2
      Last Post: August 22, 2013, 3:33 PM
    3. How to avoid autolinks from being created for certain article titles?
      By Alfa1 in forum VaultWiki Questions
      Replies: 1
      Last Post: January 2, 2011, 9:12 PM
    4. Posting Pictures with Titles
      By theflatline in forum VaultWiki Questions
      Replies: 1
      Last Post: August 4, 2010, 12:36 PM
    5. Automatic Decapitalization of Article Titles
      By Jeemy in forum VaultWiki Questions
      Replies: 8
      Last Post: April 22, 2010, 3:18 AM

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 6:50 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 © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.