• 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
    • In what plugin or function are auto-links created

    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: In what plugin or function are auto-links created

    • Thread Tools
      • Show Printable Version
    1. July 28, 2009 #1
      tscargo
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      tscargo is offline
      Junior Member
      Join Date
      February 12, 2008
      Posts
      33
      Rep Power
      224

      In what plugin or function are auto-links created

      Hi,

      I have created a 'news' mod (php script through vBadvanced.
      The autolinks for the whole forum works perfectly, a great feature that is !

      I want to also 'parse' my news articles just before outputting it.

      Please point me to the plugin/hook you currently use, so I can call the same function from my mod.

      Thanks,

      Taco
      Reply With Quote Reply With Quote

    2. July 28, 2009 #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
      Autolinks plug into vBulletin's default BB-Code parser (includes/class_bbcode.php)

      Many coders make the mistake of calling the parser's do_parse() method, when they should be calling the parse() method - this one should apply plugins and permissions and such.

      Hope that helps.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. July 28, 2009 #3
      tscargo
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      tscargo is offline
      Junior Member
      Join Date
      February 12, 2008
      Posts
      33
      Rep Power
      224
      Thank you for the feedback, we indeed used do_parse instead of parse.

      I now see one possible bug: only the first instance of the title of the Article is converted to a link. Is this intentional or a bug ?
      Reply With Quote Reply With Quote

    4. July 28, 2009 #4
      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
      This is intentional.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Wiki auto-links in discussions
      By hollosch in forum VaultWiki Questions
      Replies: 1
      Last Post: March 16, 2015, 1:30 PM
    2. Auto links opening in same tab?
      By tagman in forum VaultWiki Questions
      Replies: 2
      Last Post: July 26, 2011, 11:37 PM
    3. Auto links
      By Alan_SP in forum VaultWiki Questions
      Replies: 8
      Last Post: March 26, 2011, 4:39 PM
    4. Controlling redundant wiki links from being created in a paragraph or thread
      By bigtree in forum General Discussion
      Replies: 1
      Last Post: April 7, 2010, 3:43 PM
    5. How do I delete an auto created redirect?
      By Jaxel in forum VaultWiki Questions
      Replies: 2
      Last Post: September 26, 2009, 1:20 PM

    Tags for this Thread

    also, are, autolinks, before, can, class, created, first, for, from, function, have, hook, into, method, now, one, only, php, plugin, point, possible, same, see, should, that, the, this, use, what, when, you

    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 6:37 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 © 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.