Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
iFrame BBCODES Details »»
iFrame BBCODES
Version: 1.00, by anywares anywares is offline
Developer Last Online: Jan 2008 Show Printable Version Email this Page

Version: 3.6.5 Rating:
Released: 03-28-2007 Last Update: Never Installs: 45
 
No support by the author.

I remember seeing something like this somewhere and i noticed that it wasnt well implemented so i made my own. NONE OF THE ORIGINAL CODES BY THE AUTHOER WHO'S NAME I CANT REMEMBER HAS BEEN USED!

Step1:
Goto AdminCP => Custom BBCodes => Manage BBCodes => Add new BBCODE

Step 2:

Title:

iFrame BBCODES

tag:
if

replacement:

HTML Code:
<!-- Start iFrame by anywares -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="600"  height="400" style="margin:10px 0">
<thead>
	<tr>
		<td class="tcat" colspan="2" style="text-align:center">
			<a href="{param}" title="Go to site directly" target="_new">Go to the site directly</a>
		</td>
	</tr>
</thead>
<tr>
<td>
<iFrame src="{param}" width="615" height="415"></iFrame>
</td>
</tr>
</table>
<!-- End iFrame by anywares -->
You can adjust the size of the window by editing these two lines:
HTML Code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="600"  height="400" style="margin:10px 0">
HTML Code:
<iFrame src="{param}" width="615" height="415"></iFrame>
Example:
[if]http://www.google.com[/if]


Discription:
iFrame BBCODE

Use {option}
No

Screenshots:




PLEASE NOTE:
I WOULD ADVISE YOU PEOPLE TO USE THE ADVANCE BBCODE PERMISIONS BASED ON USERGROUP HACK WITH THIS MOD! IT CAN BE FOUND HERE:
https://vborg.vbsupport.ru/showthread.php?t=103747


Please click install if youve used this

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-30-2007, 10:15 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah. I turned this BBCode on. A user then embedded this page:



http://www.hampsterdance.com/classorig.html



Needless to say, I turned this BBCode off.


I could see how it would be helpful for some people, though. Is there any way to restrict BBcodes for use by only certain usergroups? (IE: for moderators and admins only?)
Reply With Quote
  #23  
Old 03-31-2007, 12:38 AM
anywares anywares is offline
 
Join Date: Dec 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes indeed there is. I would advise using this mod:
https://vborg.vbsupport.ru/showthread.php?t=103747
Reply With Quote
  #24  
Old 03-31-2007, 01:01 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And 3.6 version here: https://vborg.vbsupport.ru/showthread.php?t=122942

Coolness. I will enable this again, but only make it available to trusted Mods and the 2 Admins by way of the above hack.

This is a VERY cool addition and I thank you, anywares, for sharing it!
Reply With Quote
  #25  
Old 03-31-2007, 09:59 AM
anywares anywares is offline
 
Join Date: Dec 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks please take the time to click install
Reply With Quote
  #26  
Old 03-31-2007, 12:38 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been using the other iframe for a long time now and must admit, you're version does present it better. Now from a functionality stand point, you might consider using a percentage for width instead of a fixed width. 95% for the border and 100% for the iframe gives it a nice look. Generally it will eliminate the scrolling from side to side and adjust for different users screen widths.

I have one question you may or may not be able to answer for me but it has not functioned in the other iframe and it won't in this one in the same fashion. Here are two links, one works and the other one does not. The only difference in the two links in the name of the actual page, the first one that does not work is longer. That's it. I've highlighted the difference in the two links in red.

Code:
[if]http://translate.google.com/translate?u=http%3A//777.nifty.com/cs/catalog/777_777/catalog_golgothirteentheprofessional_1.htm&hl=en&langpair=ja|en&tbb=1&ie=Shift_JIS[/if]

[if]http://translate.google.com/translate?u=http%3A//777.nifty.com/cs/catalog/777_777/catalog_fireexpress_1.htm&hl=en&langpair=ja|en&tbb=1&ie=Shift_JIS[/if]
Any ideas or suggestions as to why the longer url will not function in the iframe would be greatly appreciated.
Reply With Quote
  #27  
Old 05-08-2007, 11:07 AM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tulsa View Post
I've been using the other iframe for a long time now and must admit, you're version does present it better. Now from a functionality stand point, you might consider using a percentage for width instead of a fixed width. 95% for the border and 100% for the iframe gives it a nice look. Generally it will eliminate the scrolling from side to side and adjust for different users screen widths.

I have one question you may or may not be able to answer for me but it has not functioned in the other iframe and it won't in this one in the same fashion. Here are two links, one works and the other one does not. The only difference in the two links in the name of the actual page, the first one that does not work is longer. That's it. I've highlighted the difference in the two links in red.
The issue is the 27th character in the page name. 26 characters shown in red 27th and after shown in green. What's happening is at the end of the name the .htm is getting converted to .ht m and is causing the page to not load. If you remove the 1, the link will now show fine but of course the page still won't load as the name is wrong.

Code:
[iframe]http://777.nifty.com/cs/catalog/777_780/catalog_crplanetoftheapes_1.htm[/iframe]
Reply With Quote
  #28  
Old 05-12-2007, 03:45 PM
JeffreySmith JeffreySmith is offline
 
Join Date: Nov 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed!
Reply With Quote
  #29  
Old 07-31-2007, 11:41 AM
laura66a laura66a is offline
 
Join Date: Oct 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello.

Are there any plans to update this BBcode to be more compatible with vBulletin 3.6.8? I have found that as I continue to upgrade the vBulletin code, fewer and fewer of the embedded websites I have are working correctly.

I use this extensively to illustrate websites and more and more of them aren't working.

I have several examples of URLs that were once working but are no longer. This seems to be an affect of changes in the vBulletin code.

If you could contact me and take a look at what isn't working, I would be grateful.

Laura
Reply With Quote
  #30  
Old 08-02-2007, 05:24 AM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See if this will fix your issues. It worked for me.

http://www.vbulletin.com/forum/showt...ghlight=iframe
Reply With Quote
  #31  
Old 05-12-2009, 09:51 PM
majidgbox majidgbox is offline
 
Join Date: Jan 2009
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<span style="text-decoration: line-through">tanx</span>
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04885 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete