• 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
    • Cannot Access Image Wiki Pages (Logged Out)

    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.

    Page 2 of 2 FirstFirst Previous 12
    Results 16 to 18 of 18

    Thread: Cannot Access Image Wiki Pages (Logged Out)

    • Thread Tools
      • Show Printable Version
    1. April 6, 2010 #16
      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,934
      Blog Entries
      18
      Rep Power
      659
      I'm not sure if the issue is that they aren't allowed. It seems more like the server detects the static file extension, and transfers it as a cookie-less request.

      I'll make the file extension optional (by replacing the dot with a space replacement) for the next build. In the mean time, you can avoid this issue in 2 steps.

      1. Create a new plugin.

      Product: VaultWiki
      Hook Location: vault_url_encode
      Execute Order: 5
      Title: Fix for Cloud platform
      PHP Code:
      Code:
      if (IMAGE_SPACE AND $namespaceid == IMAGE_SPACE)
      {
      	if ($this->setcache["$langid"] == 'U')
      	{
      		$replacementlist['.'] = ' ';
      	}
      	else
      	{
      		$allowstring = str_replace('\.', '', $allowstring);
      	}
      }
      2. Go to AdminCP > Namespace Manager. In the Controls for "Image", click "Rebuild". This should remove the dot from the page URLs to prevent it from being detected as a file extension.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    2. April 6, 2010 #17
      Kaelon
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Kaelon is offline
      Regular Member
      Join Date
      June 17, 2008
      Posts
      116
      Rep Power
      201
      Thanks, pegasus! That fixed it. A few quick questions:

      1. So users should still be advised to post article names that match the name-and-extension of the file that they are uploading, correct?

      2. Will using [image]Image:Imagename_ext[/image] work? Or should they use the actual page title -- Image:Imagename.ext?

      3. When we upgrade to the next build of VaultWiki, will we need to remove this plugin, or will it be automatically accepted (and not duplicated)?

      Thanks again!
      Reply With Quote Reply With Quote

    3. April 6, 2010 #18
      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,934
      Blog Entries
      18
      Rep Power
      659
      1/2. Both works, but they should continue to use the actual page title to avoid confusion.

      3. This plugin will not be needed in the next build - it will be overwritten by the upgrade process. Instead, there will be a setting that addresses this.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Page 2 of 2 FirstFirst Previous 12

    Similar Threads

    1. Vault Wiki Offline access - App - Downloadable PDF?
      By Mart456 in forum VaultWiki Questions
      Replies: 1
      Last Post: November 7, 2015, 10:17 AM
    2. image bbcode non-wiki image?
      By mickknutson in forum VaultWiki Questions
      Replies: 1
      Last Post: July 19, 2012, 3:15 PM
    3. Add 'New pages' and 'New pages' content to wiki front page
      By basketmen in forum VaultWiki Questions
      Replies: 6
      Last Post: July 20, 2011, 10:55 PM
    4. Two Questions: Give Wiki Mods access to Wiki area in AdminCP? Also cant turn off moderation queue.
      By brycew in forum VaultWiki Questions
      Replies: 1
      Last Post: April 24, 2011, 1:20 PM
    5. Image permissions when logged out
      By vimto in forum VaultWiki Questions
      Replies: 6
      Last Post: April 5, 2010, 2:37 PM

    Tags for this Thread

    able, about, action, admin, admincp, all, also, analytics, another, any, are, aren, article, automatically, avoid, because, been, being, better, but, can, cannot, check, com, containing, correct, could, default, defined, detected, developer, did, discussion, double, example, extension, few, filename, files, first, fix, forum, get, give, google, guests, has, having, help, here, how, http, image, important, including, invalid, know, load, logged, many, more, most, namespace, need, notice, now, one, only, other, out, pegasus, php, png, point, post, properly, proxy, quick, really, reference, registered, request, required, restore, rewrite, rewriting, same, see, set, should, show, shown, shows, showwiki, solution, something, space, specific, super, sure, that, the, their, there, this, try, usergroup, users, value, very, via, viewing, was, way, where, wiki, within, without, would, www, you, your

    View Tag Cloud

    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 2:32 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.