• 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 4.x Series
    • Feature
    • Route Wiki Through XenForo's index.php

    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: Route Wiki Through XenForo's index.php

    • Issue Tools
      • View Changes
    1. issueid=3191 July 12, 2013 12:20 PM
      pegasus pegasus is offline
      VaultWiki Team
      Route Wiki Through XenForo's index.php

      Since XenForo 1.2, it may now be possible to route wiki pages with dynamic paths through XenForo's index.php. If that's the case, from a rewrite config perspective, it would be better to do this.
    Issue Details
    Issue Number 3191
    Issue Type Feature
    Project VaultWiki 4.x Series
    Category URLs / Routing
    Status Implemented
    Priority 8 - Major Features / Enhancements
    Suggested Version 4.0.0 Beta 2
    Implemented Version 4.0.0 Beta 5
    Milestone VaultWiki 4 Beta X
    Software DependencyXenForo 1.x
    License TypePaid
    Votes for this feature 0
    Votes against this feature 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 8, 2013 1:00 PM
      pegasus pegasus is offline
      VaultWiki Team
      Working on this right now. So far the results are positive, and it seems the change can be backported to XenForo 1.1. This means that VaultWiki's rewrite rules for XenForo change in Beta 5.

      XenForo's rules would remain untouched (if you changed them for VaultWiki, change them back), and the following should be added immediately before the try_files directive in nginx:
      Code:
      rewrite /yui-combo/([^/]+)/(.+)$ /PATH_TO_XF/yui_loader.php?v=$1&f=$2 last;
      Or .htaccess:
      Code:
      RewriteRule /yui-combo/([^/]+)/(.+)$ /PATH_TO_XF/yui_loader.php?v=$1&f=$2 [L,QSA]
      Reply Reply  
    2. August 9, 2013 6:29 PM
      pegasus pegasus is offline
      VaultWiki Team
      Front-end all handled. Just need to do the Admin Panel now...
      Reply Reply  
    3. August 9, 2013 7:38 PM
      pegasus pegasus is offline
      VaultWiki Team
      It's possible to continue using wiki_cp.php unwrapped just as admin.php?wiki/
      To wrap it would require further refactor, but the scope of this issue is merely to get the scripts accessible via index.php/admin.php rather than separate scripts.

      Wrapping the Admin Panel can be handled by a separate report and/or another release.

      Last item on the agenda is to make sure the install/upgrade process is accessible. The initial install process is different for XenForo now:
      • Go to XF ACP, and import a stub XML file.
      • Under Applications > VaultWiki, click "Run Install Script."

      Due to the wiki CP passing through XenForo's routes, it's now necessary to import an XML file before running the install script, or XenForo won't be able to find the proper route prefix for VaultWiki's install script. The XML file would include:
      • VaultWiki addon ID, title, and fake version info
      • init_dependencies Code Event Listener which initializes the VaultWiki god class
      • admin navigation: VaultWiki > Run Install Script
      • admin route prefix for the install script
      • admin permission required to access the install script
      Reply Reply  
    4. August 10, 2013 10:52 AM
      pegasus pegasus is offline
      VaultWiki Team
      Implemented in the next release.
      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:27 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.