Page 1 of 2 12 LastLast
Results 1 to 30 of 33

Thread: iframe

  1. #1
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default iframe

    Hello,

    A new bbcode is added today. iframe

    This bbcode will directly display a html page in a new frame in your post.
    The width is set to 100% of the post, the hight is one you can provide in pixels. iframe=500 makes it 500 pixels high and will add scrollbars when necessary.

    Last edited by TosaInu; 01-05-2007 at 02:29.
    Ja mata

    TosaInu

  2. #2

    Default Re: iframe


  3. #3

    Default Re: iframe




    Foiled!

  4. #4
    Needs more flowers Moderator drone's Avatar
    Join Date
    Dec 2004
    Location
    Moral High Grounds
    Posts
    9,286

    Default Re: iframe

    What are you trying to do Sasaki, bring down the .Org?

    Any limitations/protections as to what can be included in the html? I don't particularly want javascripts, popups, flash, etc. coming up when I open up a thread. I'm also a little concerned about unexpected content being loaded automatically, since I, ummm, surf the .Org at work. Is there a way to turn this off, or tag it like spoilers which allow us to see the link URL before loading it?
    The .Org's MTW Reference Guide Wiki - now taking comments, corrections, suggestions, and submissions

    If I werent playing games Id be killing small animals at a higher rate than I am now - SFTS
    Si je n'étais pas jouer à des jeux que je serais mort de petits animaux à un taux plus élevé que je suis maintenant - Louis VI The Fat

    "Why do you hate the extremely limited Spartan version of freedom?" - Lemur

  5. #5
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: iframe

    Quote Originally Posted by drone
    Any limitations/protections as to what can be included in the html? I don't particularly want javascripts, popups, flash, etc. coming up when I open up a thread. I'm also a little concerned about unexpected content being loaded automatically, since I, ummm, surf the .Org at work. Is there a way to turn this off, or tag it like spoilers which allow us to see the link URL before loading it?
    It's of course possible to code it in such a way that only pages from one controlled source can be displayed. What spurred the implementation of this code was a need to display static HTML pages, one controlled source was enough for that.

    But, it seems it's possible to use it for other nice things too. Users are responsible, just like for any content of their posts.

    It's disabled for new members (sorry, the selective hack didn't work yet, so all BBcode is disabled for now). So, when one of the members is abusing it, by posting malicious pages or pulling 'jokes', his account will be adjusted.

    Yes, it's possible to wrap it in spoiler tags. However, sounds are not blocked by it.
    Ja mata

    TosaInu

  6. #6
    Needs more flowers Moderator drone's Avatar
    Join Date
    Dec 2004
    Location
    Moral High Grounds
    Posts
    9,286

    Default Re: iframe

    Spoiler tags wouldn't work for my purposes, since the content would be downloaded regardless if it is viewed or not. I'd be more interested in a user option to disable the iframe tag, but leave the URL so one could click the link after inspection. I can think of links that would not violate the Org rules, but I don't particularly want showing up in my sysadmin's logs. Some people might also want to disable this for the dial-up skins.

    And, of course, all members are responsible for the content of their posts.
    The .Org's MTW Reference Guide Wiki - now taking comments, corrections, suggestions, and submissions

    If I werent playing games Id be killing small animals at a higher rate than I am now - SFTS
    Si je n'étais pas jouer à des jeux que je serais mort de petits animaux à un taux plus élevé que je suis maintenant - Louis VI The Fat

    "Why do you hate the extremely limited Spartan version of freedom?" - Lemur

  7. #7
    Guest Stig's Avatar
    Join Date
    Sep 2006
    Location
    At the bar
    Posts
    4,215

    Default Re: iframe

    I think we can trust eachother that we won't post anything that is not Worksafe ... not only can it be offensive, impolite, etc etc, it can also get you a pretty long ban

  8. #8
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: iframe

    Quote Originally Posted by drone
    Spoiler tags wouldn't work for my purposes, since the content would be downloaded regardless if it is viewed or not. I'd be more interested in a user option to disable the iframe tag, but leave the URL so one could click the link after inspection. I can think of links that would not violate the Org rules, but I don't particularly want showing up in my sysadmin's logs. Some people might also want to disable this for the dial-up skins.
    Good point. But is it ok for a site like org to show in the sysadmin logs? It clearly says http://forums ?
    Ja mata

    TosaInu

  9. #9
    Needs more flowers Moderator drone's Avatar
    Join Date
    Dec 2004
    Location
    Moral High Grounds
    Posts
    9,286

    Default Re: iframe

    test post for flash content


    Works, and it appears that my Mozilla FlashBlock works within the iframe, which is nice. Let me know if you want this edited out (it can get annoying ) (Edited, replaced, with new open/close). Let the YouTube postings commence!

    Quote Originally Posted by Stig
    I think we can trust eachother that we won't post anything that is not Worksafe ... not only can it be offensive, impolite, etc etc, it can also get you a pretty long ban
    Well, there's worksafe, and then there is worksafe. Depends on where you work. There are things people could post that don't break the rules, and I don't want to deny Orgahs the pleasure of posting those. I just tend to be picky about where I click though, and don't particularly want pages loaded without my consent (I can think of some links in Backroom arguments that I just will not go to from work). There is also the no-warning factor, you click to view an Org thread, and then you get blasted with a sound downloaded from elsewhere without knowing it.

    Quote Originally Posted by TosaInu
    Good point. But is it ok for a site like org to show in the sysadmin logs? It clearly says http://forums ?
    Well, they haven't fired me yet!
    Last edited by drone; 01-05-2007 at 17:11.
    The .Org's MTW Reference Guide Wiki - now taking comments, corrections, suggestions, and submissions

    If I werent playing games Id be killing small animals at a higher rate than I am now - SFTS
    Si je n'étais pas jouer à des jeux que je serais mort de petits animaux à un taux plus élevé que je suis maintenant - Louis VI The Fat

    "Why do you hate the extremely limited Spartan version of freedom?" - Lemur

  10. #10

    Post Re: iframe

    [iframe]www.totalwar.org[/iframe]

    Well it sort of didn't work. What is the code?
    Last edited by MSB; 01-05-2007 at 08:43.

  11. #11

    Default Re: iframe

    ...

    Quote an example and see?

  12. #12

    Post Re: iframe



    It worked, sort of? The site does exist, so why does it say that it doesn't?

    Edit: http://
    Last edited by TosaInu; 01-05-2007 at 10:38.

  13. #13
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: iframe

    abcd
    Ja mata

    TosaInu

  14. #14
    Honorary Argentinian Senior Member Gyroball Champion, Karts Champion Caius's Avatar
    Join Date
    Aug 2006
    Location
    I live in my home, don't you?
    Posts
    8,114

    Default Re: iframe

    Seems it isnt working\Warning: this will open off-site content and may contain malicious code.




    Names, secret names
    But never in my favour
    But when all is said and done
    It's you I love

  15. #15
    Needs more flowers Moderator drone's Avatar
    Join Date
    Dec 2004
    Location
    Moral High Grounds
    Posts
    9,286

    Default Re: iframe

    Not sure the "close" is working (of course, I'm not sure what you are trying to do with it), but the "open" seems to work. Thank you very much.

    Edit-> @ Caius, if you click on the "Open http://whatever" next to the warning, it downloads.
    Last edited by drone; 01-05-2007 at 17:13.
    The .Org's MTW Reference Guide Wiki - now taking comments, corrections, suggestions, and submissions

    If I werent playing games Id be killing small animals at a higher rate than I am now - SFTS
    Si je n'étais pas jouer à des jeux que je serais mort de petits animaux à un taux plus élevé que je suis maintenant - Louis VI The Fat

    "Why do you hate the extremely limited Spartan version of freedom?" - Lemur

  16. #16

    Default Re: iframe

    Yeah, "close" opens the black page in a new tab.

  17. #17
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: iframe

    It does for some site yes. Still working on better code.

    Quote Originally Posted by Caius Flaminius
    Seems it isnt working\Warning: this will open off-site content and may contain malicious code.
    Instead of directly throwing the content to the reader, the reader can decide himself to view the content. The title source is displayed.
    Ja mata

    TosaInu

  18. #18
    Iron Fist Senior Member Husar's Avatar
    Join Date
    Jan 2003
    Location
    Germany
    Posts
    15,617

    Default Re: iframe

    Very nicely done Tosa.


    "Topic is tired and needs a nap." - Tosa Inu

  19. #19
    Cynic Senior Member sapi's Avatar
    Join Date
    Oct 2004
    Location
    Brisbane
    Posts
    4,970

    Default Re: iframe

    Nice work!
    From wise men, O Lord, protect us -anon
    The death of one man is a tragedy; the death of millions, a statistic -Stalin
    We can categorically state that we have not released man-eating badgers into the area -UK military spokesman Major Mike Shearer

  20. #20
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: iframe

    I like it !
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  21. #21

    Post Re: iframe

    You could have tested it using something slightly more irritating






    And good work Tosa It will help the Org immensely. Finally there is no need to post links that open in new tabs any more.
    Last edited by MSB; 01-06-2007 at 16:14.

  22. #22

    Post Re: iframe

    Just a bug in iframe in this thread. If you try to close the iframe it opens a black page in a new tab.

    And banning all vB code for Juniors is causing some Junior posts to be much harder to understand.
    Last edited by MSB; 01-06-2007 at 22:08.

  23. #23
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: iframe

    Quote Originally Posted by Avlvs Libvrnivs Britannicvs Maximvs
    Just a bug in iframe in this thread. If you try to close the iframe it opens a black page in a new tab.
    Noticed. Not sure whether it's because of the URL co.uk, or something within that page. Will try to improve it.

    And banning all vB code for Juniors is causing some Junior posts to be much harder to understand.
    True. That's why something else was tried first, but that failed. Normal BBcode will be available to Junior Members when possible.
    Ja mata

    TosaInu

  24. #24
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: iframe



    This co.uk URL works normally. The BBC doesn't want to be turned off?
    Last edited by TosaInu; 01-06-2007 at 22:26.
    Ja mata

    TosaInu

  25. #25
    One easily trifled with Member Target Champion Motep's Avatar
    Join Date
    Oct 2006
    Location
    In flux
    Posts
    4,268

    Default Re: iframe

    for some reason it works like a link for whenever I try to do it...I click "open whatever" and it opens it.


    screw it...might as well make a link anyways...

    Th one ring: To rule them All!
    Last edited by Motep; 01-07-2007 at 03:16.
    TosaInu shall never be forgotten.

  26. #26

    Post Re: iframe

    Motep, the code is:

    Just read sapi's post. I still can't get it to work.
    Last edited by MSB; 01-07-2007 at 11:37.

  27. #27
    Cynic Senior Member sapi's Avatar
    Join Date
    Oct 2004
    Location
    Brisbane
    Posts
    4,970

    Default Re: iframe

    Code:
    {iframe=insert random number here, the larger the number the larger the size of the page]insert address here[/iframe]
    ^^He meant to write it like this

    EDIT - i see his problem; fixed, but replace the { with a [
    Last edited by sapi; 01-07-2007 at 11:31.
    From wise men, O Lord, protect us -anon
    The death of one man is a tragedy; the death of millions, a statistic -Stalin
    We can categorically state that we have not released man-eating badgers into the area -UK military spokesman Major Mike Shearer

  28. #28
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: iframe

    Quote Originally Posted by Motep dra Uha Dnia Mazzat
    for some reason it works like a link for whenever I try to do it...I click "open whatever" and it opens it.


    screw it...might as well make a link anyways...

    Th one ring: To rule them All!
    Which browser are you using?
    Ja mata

    TosaInu

  29. #29
    Sovereign Oppressor Member TIE Fighter Shooter Champion, Turkey Shoot Champion, Juggler Champion Kralizec's Avatar
    Join Date
    Mar 2005
    Location
    Netherlands
    Posts
    5,812

    Default Re: iframe

    Hmmm

    Last edited by Kralizec; 01-07-2007 at 18:27.

  30. #30
    Sovereign Oppressor Member TIE Fighter Shooter Champion, Turkey Shoot Champion, Juggler Champion Kralizec's Avatar
    Join Date
    Mar 2005
    Location
    Netherlands
    Posts
    5,812

    Default Re: iframe

    A collage.


Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO