• 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
    • No autolinking in redirected pages

    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: No autolinking in redirected pages

    • Issue Tools
      • View Changes
    1. issueid=1909 August 11, 2010 4:51 AM
      Farshid.T Farshid.T is offline
      Junior Member
      No autolinking in redirected pages

      Hi,

      When a page is redirected to another page using [redirect] bb-code, the words will not autolink to articles.

      Example: http://www.vaultwiki.org/demo/redire...Main-Page-Test
      here in compare to the original page some of the words are not autolinked. But in my wiki non of the words are autolinked!
    Issue Details
    Issue Number 1909
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Redirects
    Status Fixed
    Priority 8 - Major Features / Enhancements
    Affected Version 3.0.1
    Fixed Version 3.0.3
    Milestone VaultWiki 3.0.5
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 11, 2010 11:34 AM
      pegasus pegasus is offline
      VaultWiki Team
      In the redirect you posted the auto-links seem to be working as designed. The original page had auto-links where it shouldn't, but this is because it's in the vB Cache right now...

      Perhaps it would be better to link the example redirect and original in your wiki.
      Reply Reply  
    2. August 12, 2010 3:48 AM
      Farshid.T Farshid.T is offline
      Junior Member
      Main page: http://www.handheldusers.com/forum/s...title=AT_and_T
      3 autolinks in gray color.

      Redirected page: http://www.handheldusers.com/forum/s....php?title=att

      Edit: You can's see the problem unless you are logged in to the forum. If not, the URL will change after redirection!
      Reply Reply  
    3. August 15, 2010 11:14 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed for the next build. In vault/class/bbcode/redirect.php, find:
      Code:
      		($hook = vBulletinHook::fetch_hook('vault_redirect_preparse')) ? eval($hook) : false;
      Add after:
      Code:
      		if (
      			$this->parser->registry->options['vault_autolinks'] AND
      			$dobbcode AND
      			!is_class_type($this->parser, 'plaintext') AND
      			($this->parser->registry->options['allowedbbcodes'] & ALLOW_BBCODE_URL) AND
      			$this->parser->tag_list['no_option']['autolink'] AND
      			!$vault->parser['fake_tag_list'] AND
      			!$vault->parser['converted_text'] AND
      			// not implemented yet
      			(
      				!isset($post['vault_options']) OR
      				!($post['vault_options'] & 1)
      			)
      		)
      		{
      			require_once(DIR . '/vault/plugins/bbcode/autolink.php');
      			$text = special_autolink_start($this->parser, $text, $this->parser->forumid, $dohtml, $post['htmlstate']);
      		}
      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 6:13 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.