Announcement

Announcement Module
Collapse
No announcement yet.

iframe in bbcode

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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


      • #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


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

          Comment


          • #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


            • #7
              Are you seriously still using vB2?!


              Vote to have Javascript refactored in vB5

              Comment


              • #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


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


                  Vote to have Javascript refactored in vB5

                  Comment


                  • #10
                    Does this work for 4.07?

                    Chris
                    www.utvrally.com

                    Comment


                    • #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


                      • #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


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

                          Follow me on Twitter @vBZachery
                          vBulletin and Forum Runner Support

                          Comment


                          • #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


                            • #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.

                              Follow me on Twitter @vBZachery
                              vBulletin and Forum Runner Support

                              Comment

                              Working...
                              X