![]() |
Add iframe
Ok what this does is allow you to add a url inside a post.Please forgive me if this is posted in the wrong section or has been posted before,If this is not allowed here please remove Admin.I have used this on my board for over 12 months and have not had any problems.If you are unsure dont use it,if you use please click *install*
go to adminCP>>Custom BB Codes>>>Add new BB code. In title put>>iframe In tag put>>iframe In Replacement place this code Code:
<a href="{param}" TARGET="_blank"> {param} </A><BR> In description place>>>You can use the iframe tag to display a website within a post. Can be visually more enhancing than simply using a link. Use {option} NO then click save. to use simply put the url in between the iframe tags eg [iframe]your.site.com[/iframe] see below screenshot of how it looks on my board or click here Live Demo |
great code add on!:banana:
one error tho,when i put a link example [iframe]www.domain.com[/iframe] i get an error that url dont exist! "/forum/www.domain.com dont exist" in browser! i tryied putting http:// but no luck! EDIT:Everything seems ok now after the refresh,guys,dont forget to put http:// before the link! :D |
hey this is cool man is there a way to create a image tag for it...thanks installed:banana:
|
Quote:
Cheers i have installed, will test it :) brilliant m8 works well :) |
Quote:
|
demo link doesn't work.
is there a way to add "http://" to the BBcode so people can just add "www.domain.com"? |
I like this! I am curious if we can incorporate a fixed size for this as well? Obviously this can get really big if no limits are set?
Funny as I use this as an Admin as I allowed myself to use HTML but this prevents some of the worry about allowing members to use HTML on a board... I will install when I get time. |
It automatically opens in a seperate page.
|
Quote:
|
nice! works good, I made a button if anyone wants it. just a simple "IF" (IFrame) icon. I may change the color, not sure though, Nice job Rickie! been wanting this forahwile.
|
thankyou, i will also use your button myself nice work
|
Quote:
|
i sort of lost the plot on the html permissions, but:
can you still use this and have html disabled? |
i have html disabled on my board,and it still works
|
great! i'm gonna give this a whirl! *clicks install*
edit: weird, it doesn't work for me. |
hey rickie, I noticed that this isn't added into PM's, how could I do this?
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
lol, sorry, my fault, I had a problem earlier and was disabling everything and forgot that one, lol. its works.
|
I suggest adding acp support for security reasons. so you can only allow trusted users to use it. reason is IFRAMES open HUGE holes in your forums. any number of malicious things can be done with them.
password stealing viruses/trojans embedded in the html page it pulls up I frames auto open meaning your screwed if someone uses them in a bad way. |
waaaay better than posting a url... this is a very good item..
good job man!! |
brilliant iv been looking for this for ages installed and thanks to NR FATAL for making a button
|
Sweet Hack, works perfect.
Installs |
Before installing, you guys should be warned of potential security holes this opens up. any user could write a script to steal cookies or whatever they wish to do, and simply load the page via a iFrame which would cause havoc for your board and its users.
Enjoy the hack though, seems pretty cool |
The only person learning about this on my site is me. The rest of the users can just think of it as magic. ;)
|
this a great tool!!! i installed it and will click install !
i suggest anyone who installs this hack make a button for their bb code menu.. it gives your users who dont understand bbcode convenience http://theblackpoet.com/community/im...itor/frame.gif is the img i used... |
Like it. This mod could make it safer with permission restrictions per usergroup.
I also made a little better button. |
Hey rickie...
Anyway to get this to work when you edit a post please... If you edit a post to ad an iframe it dont work :( I am also sure that if you edit a post with an iframe it messes that up, not 100% if thats correct though pmsl... will test the latter now!! EDIT: forget it, its making me out a lier now, I cant reproduce either of the issues pmsl.... I will edit the post i tested it on later to see if its a time thing lol |
@bashy if you make edits make sure you do a hard refresh on the page after you click the save button,you'll see there's no problems
|
Hi m8...
Just tried doing what ya said and i still get...see image lol Quote:
|
|
any way that we could add a quick reply button for our iframe? PM me if this is possible and easy to accomplish.....
|
Quote:
|
Quote:
|
Is there anyway to make this work with the Google translator? I can translate a page and grab the url and while it will bring up the page, it will no longer be translated.
|
i been doing this for over 3 yrs now, never seen it released on vb though it was just very obvious.....
just looking for a followup on the quick reply for iframe, but i had another question..... could we instead, if we needed to popup a page using javacript from a next page say a music profile.....soundclick page, is there a way that we could do the iframe just to show the link, like could i have this javascript popup enabled somehow directly from my forum? lo-fi URL: http://www.soundclick.com/util/getpl...d=4901552&q=lo hi-fi URL: http://www.soundclick.com/util/getpl...d=4901552&q=hi i guess what i'm proposing is a self destructing iframe to break it down...... i want to be able to have an iframe inside a thread that pops up with a link almost like the google iframe redirector saying something like..... Please Wait While Music is loading... give it maybe 1 or 2 seconds, then close IT SELF.....for direct interaction with soundclick's script.... |
Thanksss i really really like this thanksss.
One question though. How can i hide the link? i dont want others too see the link an be able to copy it. |
Nice one, thanks mate. :)
Install clicked. :) |
All times are GMT. The time now is 04:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|