Register Members List Search Today's Posts Mark Forums Read

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

This modification is in the archives.
vB Version: 3.6.8 Rating: (2 votes - 4.50 average) Installs: 23
Released: 10 Feb 2008 Last Update: 08 Jul 2009 Downloads: 55
Not Supported Re-usable Code Translations  

I went looking for iFrame BB Coding and came across several, but none really suited my needs or the needs of my members. In addition to this I noticed a common requested add on feature for this code by those who added it to their site, but I have yet to find anyone who filled that request.

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".

This is my first attempt at any type of BB Code (I'm new to HTML), so go easy on me. This works for 3.6.8 but I won't be able to offer support for this.

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.


You can check out a live version at this URL: http://www.strike-force.net/showthread.php?t=280

I highly advise that if you use this BB Code that you install: Advanced BBCode Permissions 3.0 to restrict which usergroups can use this BB Code.

I have updated this thread with the updated iFrame code, you can download the old code via the zipped file below.

Download Now

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

Screenshots

Click image for larger version

Name:	iframe.JPG
Views:	664
Size:	40.4 KB
ID:	75807  

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
Add iframe Rickie3 vBulletin 3.5 Template Modifications 46 12 Oct 2013 18:58

  #16  
Old 14 Jul 2009, 21:15
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Jan 2007
Yes fixed in IE8 and works great in Firefox.

BTW I include a button on my editor for this BB code feature. Attached to this post is the icon I use for the button.
Attached Images
File Type: gif www.gif (1.2 KB, 106 views)
__________________
Yotsume
Kaydev Media Productions
Check out my mods
:
EYO-AIM, FlashChat Combo-Module for vBadvanced 3.6x or 3.7x
Reply With Quote
  #17  
Old 17 May 2010, 21:07
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Using the most recent code the back/forward buttons do not work with Google Chrome, it does work with IE8 and Safari. Any idea on Google Chrome compatibility? It's my favorite browser at the moment.

edit- if I go to more then 2 pages it seems to work...
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.

Last edited by BirdOPrey5; 18 May 2010 at 00:21.
Reply With Quote
  #18  
Old 18 May 2010, 20:30
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
I'm trying to use this mod to display a flickr photo slideshow, but flickr says it doesn't allow slideshows in iFrame.

Is there any way to mask this iframe code so a flickr slideshow will embed in a post? I've tried creating a custom bbcode just for flickr slideshows but I'm having no luck.

In fact with this code, it starts to display the slideshow for half a second and then the window below appears:
Attached Images
File Type: png flickr.png (11.1 KB, 8 views)
Reply With Quote
  #19  
Old 18 May 2010, 21:55
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by bogley View Post
I'm trying to use this mod to display a flickr photo slideshow, but flickr says it doesn't allow slideshows in iFrame.

Is there any way to mask this iframe code so a flickr slideshow will embed in a post? I've tried creating a custom bbcode just for flickr slideshows but I'm having no luck.

In fact with this code, it starts to display the slideshow for half a second and then the window below appears:
Hey, have you tried http://flickrslidr.com/ ? They seem to have a way of embedding flickr slideshows into web pages- maybe you can hack that into bbcode?
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #20  
Old 21 May 2010, 04:24
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Originally Posted by BirdOPrey5 View Post
Hey, have you tried http://flickrslidr.com/ ? They seem to have a way of embedding flickr slideshows into web pages- maybe you can hack that into bbcode?
It looks like flickrslidr is using iframe as well, although I'm not sure how they're able to get away with it but I'm not. I'm still getting stopped by flickr on the iframe issue.
Reply With Quote
  #21  
Old 21 May 2010, 05:30
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
actually, I think I may have found a way to function with that flickrslidr, thanks for the suggestion!

Back to this mod, I'm using it (successfully!) with picasaweb slideshows. Would there be any way to disable the X function, or the exit from within the slideshow so they CAN'T navigate from there? I'd like to come up with some sort or "exit=false" command or something so they can't exit the slideshow and browse the other picasaweb sets of that user.
Reply With Quote
  #22  
Old 21 May 2010, 13:35
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
You're welcome... if you got it working you should release it as a mod.

As for the picassa exit it's very unlikely you'll be able to disable the exit, picassa would have needed to be programmed with that option on google's side- the place to ask would be on a picassa forum as there are much more likely to be experts on the subject there... also would look for any picassa programming api info, maybe they've documented some extra features.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #23  
Old 21 May 2010, 17:58
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
oops... nevermind on the picasaweb slideshow... They're just a little slower than Flickr to alert me they don't like embedding with iframe. It's disabled the next day, as Flickr's was disabled 1/2 second later. lol

I'll check the picasa forums, thanks for the advice.
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 12:34.

Layout Options | Width: Wide Color: