Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
iFrame BBcode Details »
iFrame BBcode
Mod Version: 1.00, by Strike-Force.ne (Member) Strike-Force.ne is offline
Developer Last Online: Apr 2010 I like it Show Printable Version Email this Page

vB Version: 3.8.2 Rating: (4 votes - 4.75 average) Installs: 25
Released: 22 Jul 2009 Last Update: Never Downloads: 2
Not Supported Re-usable Code Translations  

This code is a result of looking for something similar a while back for my forum. I originally made this for vb 3.6.8 but have confirmed it works for 3.8.2 and 3.8.3 as well.

This BB Code contains not only a button which allows the viewer to go to the site being displayed, but it also contains a "Back" and "Forward" button so the user can navigate the iFramed site without having to leave your site. This allows the user to decide whether the posted site is worth more of their time or not without forcing them to view it in order to go "back" or "forward".

To install this BB Code: AdminCP -> Custom BB Codes -> Add new BB Code

Title: iFrame

Tag: if

Replacement:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [if]http://www.google.com[/if]

Description: Places a site within a small framed window in a post.

Use {option}: No

Button Image: (button image is optional, and I don't use one personally)

I have also created a colored border around the buttons which can easily be changed to suit the color scheme of your site. This can be changed by changing the bgcolor value to whatever color you choose on this line:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The height and width of the iFrame can be adjusted by changing this line:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Here's an example of this on my vb 3.6.8 install but it looks the same on 3.8.3: http://www.strike-force.net/showthread.php?t=280


You will need to install the plugin Advanced BBCode Permissions if you want to restrict who can use this BBcode.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
BB Code Enhancements iFrame BBCode Strike-Force.ne vBulletin 3.6 Template Modifications 22 21 May 2010 18:58

Comments
  #2  
Old 22 Jul 2009, 22:03
Andyrew's Avatar
Andyrew Andyrew is offline
 
Join Date: Aug 2005
Real name: Andrew
That's great.
Reply With Quote
  #3  
Old 23 Jul 2009, 06:00
sugresmax's Avatar
sugresmax sugresmax is offline
 
Join Date: Nov 2006
Real name: Maksim
Smile

And I can put into this BB-code some bad page? With exploit ... or virus.
Reply With Quote
  #4  
Old 23 Jul 2009, 08:42
tirol07 tirol07 is offline
 
Join Date: Mar 2007
wonderful
Reply With Quote
  #5  
Old 23 Jul 2009, 14:15
trotskid trotskid is offline
 
Join Date: Feb 2009
Nice BBcode, thanks!
Attached Images
File Type: png iframe.png (1.1 KB, 1407 views)
Reply With Quote
  #6  
Old 23 Jul 2009, 15:20
Frondy's Avatar
Frondy Frondy is offline
 
Join Date: Feb 2009
Nice work, thanks
Reply With Quote
  #7  
Old 23 Jul 2009, 16:38
Strike-Force.ne's Avatar
Strike-Force.ne Strike-Force.ne is offline
 
Join Date: Aug 2007
Originally Posted by sugresmax View Post
And I can put into this BB-code some bad page? With exploit ... or virus.
Potentially. That's why I recommend you install the Advanced BBCode Permissions plugin to limit who can use this BBcode. I would read the end of the thread for that plugin for updates on how to make it compatible for 3.8.X since it's for 3.6.X
__________________
http://www.Strike-Force.net (it's work and family friendly)
Reply With Quote
  #8  
Old 23 Jul 2009, 19:53
sugresmax's Avatar
sugresmax sugresmax is offline
 
Join Date: Nov 2006
Real name: Maksim
For what this BB code?
Create a group, and allow HTML ... I think it is more powerfull, but more dangerous.

ps. You can do with your board everything You want
Reply With Quote
  #9  
Old 24 Jul 2009, 21:11
gearspro gearspro is offline
 
Join Date: Jun 2009
works great thanks
Reply With Quote
  #10  
Old 20 Mar 2010, 01:01
Bill from Cleve Bill from Cleve is offline
 
Join Date: Sep 2008
What a fun toy.

As far as being used as "back door" to jerks wishing to crash your board, make sure you run a tight board. That's what Mods are for. Besides CYB's-permissions based on post count should work rather well?
Reply With Quote
  #11  
Old 24 Mar 2010, 21:49
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
I've got a "competing" forum, that members will link to once in a while.

Instead of giving my members the iframe option, I would like to AUTOMATICALLY put certain url's into an iframe. There are only a couple of them.

So when either of these two urls are posted as a link, I'd like it to just post in the iframe automatically.

Is this possible by modifying this code?

Thanks.
Reply With Quote
  #12  
Old 26 Mar 2011, 20:27
Baghira Baghira is offline
 
Join Date: Mar 2011
Does not work for me.

In ACP/BBcodes I see the correct preview of google.com.

But posting it in a thread:

[if]http://www.google.com[/if]

result is:
http://www.google.com')" />

Page not found
Reply With Quote
  #13  
Old 12 May 2011, 01:49
1971Coogs 1971Coogs is offline
 
Join Date: Oct 2007
iFrame

When I added this BB code, I get this error message

404 Not Found
The resource requested could not be found on this server! Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!
Reply With Quote
  #14  
Old 09 Oct 2011, 23:58
cstreater cstreater is offline
 
Join Date: May 2010
Originally Posted by Baghira View Post
Does not work for me.

In ACP/BBcodes I see the correct preview of google.com.

But posting it in a thread:

[if]http://www.google.com[/if]

result is:
http://www.google.com')" />

Page not found
Disable BB Code within this BB Code = Yes

Otherwise it will wrap the [url] tag around the link.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:32.

Layout Options | Width: Wide Color: