• 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
    • Disabling Class Whitelist

    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: Disabling Class Whitelist

    • Thread Tools
      • Show Printable Version
    1. May 18, 2017 #1
      Forsaken
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Forsaken is offline
      Junior Member
      Join Date
      June 13, 2013
      Posts
      13
      Rep Power
      0

      Disabling Class Whitelist

      I'm currently in the process of writing some pages to convert them to templates, and I need to disable the class whitelist as I'm using a lot of building blocks of XF, as well as some Foundation CSS Framework.

      Is there a way to do this for div's?
      Reply With Quote Reply With Quote

    2. May 19, 2017 #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
      688
      This is dangerous from a security perspective, so no. Is there a reason that you cannot just add the needed classes to the whitelist? In the AdminCP, edit the DIV BB-Code, go to Wiki-Related Options > CSS Class White-List.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. May 19, 2017 #3
      Forsaken
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Forsaken is offline
      Junior Member
      Join Date
      June 13, 2013
      Posts
      13
      Rep Power
      0
      Quote Originally Posted by pegasus View Post
      This is dangerous from a security perspective, so no. Is there a reason that you cannot just add the needed classes to the whitelist? In the AdminCP, edit the DIV BB-Code, go to Wiki-Related Options > CSS Class White-List.
      Yeah that works as well, will just need to compile a huge list of classes.
      Code:
      <div class="wiki-list">
      <div class="row flex-dir-row-reverse dragon-template">
      
      	<div class="small-12 medium-12 large-4 columns wiki-block">
      		<div class="block-background">
      			<div class="key-information">
      				<div class="dragon-name heading">Runewake Dragon</div>
      				<div class="dragon-image">[img][/img]</div>
      				<div class="key-header">Vital Information</div>
      				<div class="information-lists">
      					<dl class="pairsJustified">
      						<dt>Level</dt>
      						<dd>Player Level</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Zone</dt>
      						<dd>Marketplace</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Family</dt>
      						<dd>Fabled Ancient</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Running Speed</dt>
      						<dd>170%</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Flight Speed</dt>
      						<dd>170%</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Gliding Speed</dt>
      						<dd>170%</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Title</dt>
      						<dd>Dawn of Auratia</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Companion Support</dt>
      						<dd>20%</dd>
      					</dl>
      				</div>
      			</div>
      		</div>
      	</div>
      	<div class="small-12 medium-12 large-8 columns wiki-block main-column">
      		<div class="block-background">
      			<h4 class="heading">Dragon Description</h4>
      			<div class="secondaryContent">
      				The Runewake dragon is a member of the Fabled Ancient Dragon family. It is a Runewake Model dragon and is colored dark greyish-brown with a pink throat. It was given to players who had purchased the Dragon Lord Dragon pack that was released prior to open beta release. After the release of Open Beta, the Dragon Lord, Dragon Master, and Dragon Seeker packs were all removed and are no longer available for purchase.
      			</div>
      			<h4 class="heading">Dragon Compendium</h4>
      			<div class="secondaryContent">
      				"A Fabled Ancient Dragon brought into existence by the Creator himself. Its bright red eyes shine down upon everything in the world. The first Osirans to tame the Runewake Dragons were called the Light of Auratia. Without them the Auratia we know today would not exist. Osirans can't live forever, but Runewake Dragons can; establishing contracts with different Osirans throughout their lives, Runewake Dragons allow these fortunate few to inherit the title and continue to create legends."
      			</div>
      			<h4 class="heading js-expandmore">Quick Guide</h4>
      			<div id="quickGuide" class="js-to_expand">
      				<h3 class="subHeading">Location</h3>
      				<div class="secondaryContent">
      					<dl class="pairsJustified">
      						<dt>Zone Ancient</dt>
      						<dd>No</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Dungeon Ancient</dt>
      						<dd>No</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Roaming Ancient</dt>
      						<dd>No</dd>
      					</dl>
      				</div>
      				<h3 class="subHeading">Flutes</h3>
      				<div class="secondaryContent">
      					<dl class="pairsJustified">
      						<dt>Melodic / Resonating Flutes</dt>
      						<dd>No</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Other Dragon Flutes</dt>
      						<dd>No</dd>
      					</dl>
      				</div>
      				<h3 class="subHeading">Marketplace</h3>
      				<div class="secondaryContent">wik
      					<dl class="pairsJustified">
      						<dt>Egg</dt>
      						<dd>Yes</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Gotcha</dt>
      						<dd>No</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Other Purchases</dt>
      						<dd>No</dd>
      					</dl>
      				</div>
      				<h3 class="subHeading">Other</h3>
      				<div class="secondaryContent">
      					<dl class="pairsJustified">
      						<dt>Special Process</dt>
      						<dd>No</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Special Reward</dt>
      						<dd>No</dd>
      					</dl>
      					<dl class="pairsJustified">
      						<dt>Dragon Incubation</dt>
      						<dd>No</dd>
      					</dl>
      				</div>
      			</div>
      		</div>
      	</div>
      </div>
      </div>
      Added this pages CSS, and it seems to be working.
      Last edited by Forsaken; May 19, 2017 at 1:44 PM.
      Reply With Quote Reply With Quote

    Similar Threads

    1. Where to Configure CSS Class Whitelist?
      By Gossamer in forum VaultWiki Questions
      Replies: 5
      Last Post: December 13, 2015, 4:35 PM
    2. Giving a table a class?
      By delicateglow in forum VaultWiki Questions
      Replies: 5
      Last Post: April 21, 2015, 10:55 AM

    Tags for this Thread

    blocks

    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:46 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.