Version: 1.00, by Rickie3
Developer Last Online: Jun 2010
Version: 3.5.4
Rating:
Released: 04-18-2006
Last Update: Never
Installs: 42
No support by the author.
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>
<script type="text/javascript">
/***********************************************
* IFRAME Scroller script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
//specify path to your external page:
var iframesrc="{param}"
//You may change most attributes of iframe tag below, such as width and height:
document.write('<iframe id="datamain" src="'+iframesrc+'" width="100%" height="700px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="1" scrolling="yes"></iframe>')
</script>
In example place [iframe]url[/iframe]
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
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
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.
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.
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
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