Back to vBulletin 4.x Add-ons

iFrame to Keep URL's on your Site!
Mod Version: 1.00, by ravencr

vB Version: 4.0.6 Rating: (1 vote - 3.00 average) Installs: 11
Released: 24 Sep 2010 Last Update: Never Downloads: 0
Not Supported Code Changes Re-usable Code Translations  

Hello,

I'm not a programmer by any means, but I just figured this out after not being able to find this anywhere on this site. This allows you to embed an iframed url within a post, so it keeps your folks on your site instead of opening up a new web page and forcing them to leave your site to view it. It's simple to do, as well, especially given the fact I did it with no programming experience at all.

1) Go to AdminCP, then Custom BB Codes, then Add new BB Code

Title = iframe
BB Code Tagname = iframe
Replacement = Add the code below:
Code:
<div align="center" style="margin: 5px 5px 5px 5px;">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" style="text-align:center"><iframe width="100%" height="600" frameborder="0" scrolling="yes" marginheight="0" marginwidth="0" src="{param}&output=embed"></iframe></td>
</tr>
</table>
</div>
Example = [iframe]url[/iframe]
Description = 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
Check Yes for all remaining options and click save. You can obviously adjust the layout within the code however you want and upload a button image too for your users. It's that simple! Hope it helps...

Chris

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024