2008-06-18, 12:04 PM
2008-06-18, 01:00 PM
Hi,
You can insert an iframe into any of the MyBB templates.
For example, if you wanted to add an iframe to the index template, you can do so by following the steps below:
Admin CP > Templates > Modify / Delete > *Template Set Name* > Expand > Find "Index Page Templates" > Expand > index > Edit.
From there you can place the iframe were you want it to show, after you have done so simply click "Update Template" and the iframe should show on your forums index page.
If there was something more specificity you wanted, reply back and i'll try and help.
Chris.
You can insert an iframe into any of the MyBB templates.
For example, if you wanted to add an iframe to the index template, you can do so by following the steps below:
Admin CP > Templates > Modify / Delete > *Template Set Name* > Expand > Find "Index Page Templates" > Expand > index > Edit.
From there you can place the iframe were you want it to show, after you have done so simply click "Update Template" and the iframe should show on your forums index page.
If there was something more specificity you wanted, reply back and i'll try and help.
Chris.
2008-06-22, 08:42 AM
I was wondering if I could add IFRAME to a post?
2008-06-22, 04:56 PM
You could use a custom MyCode.
For the regular expression put:
and for the replacement put:
For the regular expression put:
\[iframe\](.*?)\[/iframe\]
and for the replacement put:
<iframe src="$1" height="200">
Alternative text for browsers that do not understand IFrames.
</iframe>
However I don't think this is recommended as there could be security issues2008-06-26, 10:13 PM
(2008-06-22, 04:56 PM)nickman Wrote: [ -> ]You could use a custom MyCode.
For the regular expression put:
\[iframe\](.*?)\[/iframe\]
and for the replacement put:
However I don't think this is recommended as there could be security issues<iframe src="$1" height="200"> Alternative text for browsers that do not understand IFrames. </iframe>
That works nicely. One quick question. How do I make it wider?
See example:- http://felixstoweharpers.com/forum/showt...49#pid1349
2008-06-26, 10:17 PM
This should do the trick
<iframe src="$1" height="200" width="100%">
2008-06-26, 10:36 PM
Nice one.............
2008-06-26, 11:19 PM
Please note the security issues with this. I cannot stress this enough. If someone shows a hacking site in the iframe, they could hack your site. Because of this, MyBB doesn't have this iframe tag built in, to lower the ability of your forum getting hacked.