iframe in bbcode

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dareen
    Member
    • Mar 2001
    • 31

    iframe in bbcode

    hi
    can someone help me on adding an iframe to the bbcode
    wich works like that


    <IFRAME WIDTH=100% HEIGHT=300 SRC="http://www.vbulletin.com"></IFRAME>


    so we can include a webpage frame inside the post
  • Kier
    Former Lead Developer, vBulletin
    • Sep 2000
    • 8179

    #2
    vB Code tag: iframe

    vB Code replacement: <iframe width="100%" height="300" src="{param}"><a href="{param}" target="_blank">{param}</a></iframe>

    vB Code example: [iframe]index.php?action=home[/iframe]

    Use option: no

    Comment

    • dareen
      Member
      • Mar 2001
      • 31

      #3
      GREAT

      thank you Kier it worked

      are you going to kill me if i asked for another code?

      i need the code that creats a scrooling text which moves from bottom to top

      {marquee direction="up" }scrolldelay="70" scrollamount="3

      regards
      dareen

      Comment

      • myusername
        New Member
        • Jan 2005
        • 18

        #4
        Do you know if there are any security risks to doing this? I do not want to enable HTML but would like to have the ability for a pre-specified iframe for some posts.

        Thank you.

        Comment

        • BootsSiR
          Senior Member
          • Dec 2004
          • 239

          #5
          i too would like to implement this on my vb3 forum... any security risks ?
          Reality Check!

          Comment

          • chuckrobbie
            Member
            • Mar 2007
            • 35
            • 3.6.x

            #6
            There may be security risks but what choice do we have?

            Using BB code sucks in many respects! Some people need more than just a bit of text in an article, so java scripts, embedded codes, etc are needed and so far I am unable to do any of this in BB (I know I am a noob)
            I tried the EZpages mod, but that does not help what I want to do! In Joomla you have a JUMI plug in where you can add basically any html or php code you like and IT WORKS!!

            With the iframe, how do we set the no border tag and the align tag in the Vb code replacement?
            I added them next to the width and height but they do not work!

            Comment

            • Trevor Hannant
              vBulletin Support
              • Aug 2002
              • 24325
              • 5.7.X

              #7
              Are you seriously still using vB2?!
              Vote for:

              - Admin Settable Paid Subscription Reminder Timeframe (vB6)
              - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

              Comment

              • tini_lam
                Member
                • Dec 2009
                • 61
                • 4.0.0

                #8
                if i only want iframe into my site with only site fixed then how code ?

                ex: http://vbulletin.com
                function test {param}, if it string start not "http://vbulletin.com" then not use iframe.

                Comment

                • Trevor Hannant
                  vBulletin Support
                  • Aug 2002
                  • 24325
                  • 5.7.X

                  #9
                  Please post in the correct version for the software you're running.
                  Vote for:

                  - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                  - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                  Comment

                  • ravencr
                    New Member
                    • Feb 2007
                    • 25

                    #10
                    Does this work for 4.07?

                    Chris
                    www.utvrally.com

                    Comment

                    • RichardE
                      New Member
                      • Aug 2011
                      • 24
                      • 4.1.x

                      #11
                      I'd like the bbcode for inserting a YouTube iframe into vBulletin 4.
                      Why not use the built-in video code? Because I don't want to see recommended videos at the end of the videos.
                      Never know what will show up!

                      Here's some sample code from a YouTube video:
                      <iframe width="560" height="315" src="http://www.youtube.com/embed/nnBbf8FG5Hw?rel=0" frameborder="0" allowfullscreen></iframe>
                      Thanks,
                      Richard

                      Comment

                      • RichardE
                        New Member
                        • Aug 2011
                        • 24
                        • 4.1.x

                        #12
                        This is funny. Sort of. I tried to create a bbcode to do this but it didn't work.

                        And now when I click on the "Manage bbcode" menu item it loads the page and then immediately takes me to the YouTube.com home page!

                        Almost hysterical...anyone know how to get it from automatically testing this bbcode?

                        Comment

                        • Zachery
                          Former vBulletin Support
                          • Jul 2002
                          • 59097

                          #13
                          You shouldn't give anyone access to iframe bbcode, its highly dangerous.

                          Comment

                          • RichardE
                            New Member
                            • Aug 2011
                            • 24
                            • 4.1.x

                            #14
                            You shouldn't give anyone access to iframe bbcode, its highly dangerous.
                            Why is it so dangerous? I didn't name my bbcode "iframe" by the way.
                            How would anyone know I had that bbcode? Would it appear if they looked at the source code of a page using it? Just wondering.

                            Should I start a new thread to ask how to regain access to my "bbcode Manager" page?

                            Comment

                            • Zachery
                              Former vBulletin Support
                              • Jul 2002
                              • 59097

                              #15
                              Quote a post of yours? Check the bbcode page for all bbcodes? Why is it dangerous, a user can link to ANYTHING on the entire internet, including pages that have dangerous malicious code.

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...