• 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 4.x Series
    • Feature
    • Allow setting id/class on custom [div] position="sidebar"

    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: Allow setting id/class on custom [div] position="sidebar"

    • Issue Tools
      • View Changes
    1. issueid=6387 October 16, 2023 2:53 AM
      mazzly mazzly is offline
      Junior Member
      Allow setting id/class on custom [div] position="sidebar"

      It would help a lot from styling if we could define a custom ID or class for the things added with:

      Code:
      [div] position="sidebar"| CONTENT [/div]
    Issue Details
    Issue Number 6387
    Issue Type Feature
    Project VaultWiki 4.x Series
    Category Styling / CSS
    Status Implemented
    Priority 7 - Minor Features / Enhancements
    Suggested Version 4.1.7
    Implemented Version 4.1.8
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Votes for this feature 0
    Votes against this feature 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 23, 2023 2:13 PM
      pegasus pegasus is offline
      VaultWiki Team
      How do you expect to use this? For security reasons, users cannot update classes or styles on the outermost sidebar element (the one marked with class bbWrapper). If a user wants to apply styles to the content, they can place another DIV inside the sidebar DIV.

      If you as the admin wants to be able to apply styles to a particular element, I've gone ahead and added an attribute customid to DIV/SPAN/WIDGET in the next release. The attribute is only relevant in positioned contexts.

      When you use it, like so:
      Code:
      [div] customid="my_custom_id" position="sidebar" | content [/div]
      The block will get a class that looks like "vw-block-customid-my_custom_id"
      As an admin, you can use it to write CSS rules for those blocks. For security, do not give them any rules that modify overflow or CSS position. Outside of a sidebar context, you should use the standard/whitelisted class names that are available to you.
      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 12:30 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.