• 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
    • Better Heading BB-Codes?

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

    Thread: Better Heading BB-Codes?

    • Thread Tools
      • Show Printable Version
    1. May 31, 2010 #1
      CedricFP
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      CedricFP is offline
      Junior Member
      Join Date
      April 2, 2010
      Posts
      26
      Rep Power
      197

      Better Heading BB-Codes?

      Instead of the BB Code
      Code:
      [h={param}]{option}[/h]
      could it not be possible just to create 3 different layers that don't require the number parameter.

      EG: Heading; Sub-heading, Sub-sub-heading.

      At least, I'm trying to create a BB code that will allow me to do
      Code:
      [h=2]{param}[/h]
      where param is the heading's title.

      Do you get what i mean?
      Reply With Quote Reply With Quote

    2. May 31, 2010 #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
      This is possible to do on your own by creating a custom BB-Code in PHP and using a wrapper to VaultWiki's headline handler function.

      Also, NuWiki had separate tags for H1, H2, H3, etc, where the code was more like:
      Code:
      [h2]{param}[/h2]
      [h3]{param}[/h3]
      If this is what you're looking for, you can enable NuWiki-style BB-Codes via your AdminCP in Settings > Options > VaultWiki: Legacy Options > Enable support for Legacy Wiki Markup. This will enable a number of deprecated BB-Codes (only in wiki pages) and will slow down page generation time.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. June 1, 2010 #3
      CedricFP
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      CedricFP is offline
      Junior Member
      Join Date
      April 2, 2010
      Posts
      26
      Rep Power
      197
      Quote Originally Posted by pegasus View Post
      This is possible to do on your own by creating a custom BB-Code in PHP and using a wrapper to VaultWiki's headline handler function.

      Also, NuWiki had separate tags for H1, H2, H3, etc, where the code was more like:
      Code:
      [h2]{param}[/h2]
      [h3]{param}[/h3]
      If this is what you're looking for, you can enable NuWiki-style BB-Codes via your AdminCP in Settings > Options > VaultWiki: Legacy Options > Enable support for Legacy Wiki Markup. This will enable a number of deprecated BB-Codes (only in wiki pages) and will slow down page generation time.
      I see - so these legacy BB codes wouldn't be parsed in normal forum posts?

      I may have a go at option #1 then.
      Reply With Quote Reply With Quote

    Similar Threads

    1. Link to H2 heading
      By tommythejoat in forum VaultWiki Questions
      Replies: 2
      Last Post: January 16, 2012, 11:32 AM
    2. Where are my VW BB Codes?
      By delicateglow in forum VaultWiki Questions
      Replies: 2
      Last Post: September 25, 2011, 2:42 AM
    3. How to remove this part : BB-Codes Used in this Post
      By basketmen in forum VaultWiki Questions
      Replies: 1
      Last Post: April 19, 2011, 1:11 AM
    4. How to disable various bb codes in wiki forums?
      By Alfa1 in forum VaultWiki Questions
      Replies: 3
      Last Post: January 14, 2011, 12:38 PM
    5. VaultWiki Pre-Defined BB-Codes
      By pegasus in forum VaultWiki Questions
      Replies: 73
      Last Post: April 12, 2009, 7:02 PM

    Tags for this Thread

    able, admincp, better, code, codes, could, create, creating, different, don, down, get, heading, legacy, looking, number, nuwiki, option, options, pages, possible, see, settings, style, sub, that, the, time, title, trying, vaultwiki, via, was, what, where, wiki, will, would, 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 4:01 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.