• 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 Discussion
    • Ideas & Suggestions
    • Autolinks - choosing target (_blank, _self)

    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 4 of 4

    Thread: Autolinks - choosing target (_blank, _self)

    • Thread Tools
      • Show Printable Version
    1. April 24, 2011 #1
      Alan_SP
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      Alan_SP is offline
      Regular Member
      Join Date
      March 20, 2011
      Location
      Sisak, Croatia
      Posts
      52
      Rep Power
      189

      Autolinks - choosing target (_blank, _self)

      How can I change Autolinks target? Now it reuses tab or window, but I really hate it. Other vB links target new tab or window. Where can I change this behavior? And for future version could you enable option for us to choose target in admincp?
      Reply With Quote Reply With Quote

    2. April 26, 2011 #2
      Alan_SP
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      Alan_SP is offline
      Regular Member
      Join Date
      March 20, 2011
      Location
      Sisak, Croatia
      Posts
      52
      Rep Power
      189
      Please, is there a way to open autolinks in new tab or window?
      Reply With Quote Reply With Quote

    3. April 26, 2011 #3
      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
      688
      You can right click > Open in New Tab / Window. Otherwise no. They are treated exactly the same as internal links because they still link within the same web site. If you want to force an individual link to be treated as an external link, construct your tag like this:
      Code:
      [wiki=Title|BLANK]text[/wiki]
      To add it to all links you will have to make a plugin. This will make only autolinks open in a new tab, regular wiki links with the BB-Code will open in the same window unless the above tag is used.

      Hook location: vault_bbcode_link
      Code:
      if ($vault->parser['autolink_parse'])
      {
      $flags['BLANK'] = 1;
      }
      Clicking "Read more" in the preview popup with still open it in the same window. The template for the popup is vault_article_preview.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    4. April 27, 2011 #4
      Alan_SP
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      Alan_SP is offline
      Regular Member
      Join Date
      March 20, 2011
      Location
      Sisak, Croatia
      Posts
      52
      Rep Power
      189
      Thank you, I applied all changes, everything works fine. I only needed to delete postparsed table for change in plugin to become effective.
      Reply With Quote Reply With Quote

    Similar Threads

    1. Create pages with choosing templates
      By hollosch in forum VaultWiki Questions
      Replies: 2
      Last Post: June 5, 2015, 5:49 AM
    2. Autolinks
      By bigtree in forum Ideas & Suggestions
      Replies: 0
      Last Post: February 28, 2011, 2:52 PM
    3. autolinks stopped
      By bigtree in forum VaultWiki Questions
      Replies: 4
      Last Post: February 27, 2011, 10:45 PM
    4. autolinks
      By bigtree in forum VaultWiki Questions
      Replies: 3
      Last Post: January 10, 2011, 12:16 PM
    5. External links have no target
      By pingelich in forum General Discussion
      Replies: 2
      Last Post: July 28, 2010, 1:25 PM

    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 5:22 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.