• 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
    • iframe in template

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

    Thread: iframe in template

    • Thread Tools
      • Show Printable Version
    1. August 18, 2010 #1
      dvsDave
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      dvsDave is offline
      Regular Member
      Join Date
      September 6, 2008
      Posts
      62
      Rep Power
      194

      iframe in template

      Is there anyway to put an iframe into a template.
      Reply With Quote Reply With Quote

    2. August 18, 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,934
      Blog Entries
      18
      Rep Power
      659
      You would have to allow HTML in the template forum. In this case, you might want to create a forum for admin-created templates, so untrusted users can't do terrible things to your board.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. August 18, 2010 #3
      dvsDave
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      dvsDave is offline
      Regular Member
      Join Date
      September 6, 2008
      Posts
      62
      Rep Power
      194
      How do I do that, I'm not seeing an option to create a new template forum?
      Reply With Quote Reply With Quote

    4. August 18, 2010 #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,934
      Blog Entries
      18
      Rep Power
      659
      Create a sub-forum to your existing template forum. Enable HTML in that forum. But use custom forum permissions.

      Only admins:
      Can Post New Threads
      Can Reply to Others' Threads
      Can Post Polls
      Can edit wiki articles
      Can rename wiki articles

      If untrusted users have these permissions, then you will open potential security holes.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. August 18, 2010 #5
      dvsDave
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      dvsDave is offline
      Regular Member
      Join Date
      September 6, 2008
      Posts
      62
      Rep Power
      194
      I enabled HTML and still couldn't use the iFrame
      Reply With Quote Reply With Quote

    6. August 18, 2010 #6
      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,934
      Blog Entries
      18
      Rep Power
      659
      Can you please post an example of how you are trying to use it? Also maybe more of a description of what's going wrong that you "couldn't use" it.

      If it is simply disappearing, then you may have a mod installed that strips IFRAME tags. I believe the mod "CES Parser Permissions" does this by default, but it can be changed in the settings.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    7. August 18, 2010 #7
      dvsDave
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      dvsDave is offline
      Regular Member
      Join Date
      September 6, 2008
      Posts
      62
      Rep Power
      194
      I finally got it to work. I basically just changed the permissions on the main template forum so only admins and mods could add and edit a post and then enabled HTML for that forum. For the purposes of my site, that works for me.
      Reply With Quote Reply With Quote

    8. May 26, 2015 #8
      hollosch
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      hollosch is offline
      Senior Member
      Join Date
      September 19, 2008
      Location
      Geislingen, Germany
      Posts
      241
      Rep Power
      211
      Hi, how can i use iframes in vaultwiki for xenforo?
      Reply With Quote Reply With Quote

    9. May 26, 2015 #9
      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,934
      Blog Entries
      18
      Rep Power
      659
      Create a wiki area where only admins have posting and editing permissions. You will probably have to customize permissions in that area for every single usergroup.

      In the area settings, turn on HTML in pages.

      Create a template in that area. Use an iframe in that template. Do not use template parameters for the URL, or for the contents of any script tags you might use.

      If you use this technique to make forms, do not use template parameters for the form post URL.

      Use that iframe template wherever you need it.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Template Questions
      By Gossamer in forum VaultWiki Questions
      Replies: 1
      Last Post: July 23, 2015, 2:24 PM
    2. Creating a Template?
      By Gossamer in forum General Discussion
      Replies: 1
      Last Post: May 31, 2015, 11:58 AM
    3. Template documentation
      By hollosch in forum VaultWiki Questions
      Replies: 0
      Last Post: February 25, 2015, 7:14 PM
    4. template question
      By ashley76 in forum VaultWiki Questions
      Replies: 3
      Last Post: March 27, 2011, 1:04 AM
    5. Template
      By fxlr8 in forum VaultWiki Questions
      Replies: 3
      Last Post: September 1, 2008, 3:18 AM

    Tags for this Thread

    able, admin, board, can, case, ces, could, create, created, enabled, forum, have, here, iframe, into, new, option, put, template, templates, the, there, things, this, use, users, would, you, your

    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 5:09 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.