Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Add iframe Details »»
Add iframe
Version: 1.00, by Rickie3 Rickie3 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-18-2006 Last Update: Never Installs: 42
 
No support by the author.

Ok what this does is allow you to add a url inside a post.Please forgive me if this is posted in the wrong section or has been posted before,If this is not allowed here please remove Admin.I have used this on my board for over 12 months and have not had any problems.If you are unsure dont use it,if you use please click *install*

go to adminCP>>Custom BB Codes>>>Add new BB code.

In title put>>iframe
In tag put>>iframe
In Replacement place this code
Code:
<a href="{param}" TARGET="_blank"> {param} </A><BR>
<script type="text/javascript">

/***********************************************
* IFRAME Scroller script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

//specify path to your external page:
var iframesrc="{param}"

//You may change most attributes of iframe tag below, such as width and height:
document.write('<iframe id="datamain" src="'+iframesrc+'" width="100%" height="700px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="1" scrolling="yes"></iframe>')

</script>
In example place [iframe]url[/iframe]
In description place>>>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
then click save.
to use simply put the url in between the iframe tags eg [iframe]your.site.com[/iframe]

see below screenshot of how it looks on my board
or click here
Live Demo

Show Your Support

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

Comments
  #2  
Old 04-19-2006, 09:42 AM
imported_predatorkill imported_predatorkill is offline
 
Join Date: May 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great code add on!:banana:

one error tho,when i put a link example [iframe]www.domain.com[/iframe]

i get an error that url dont exist!

"/forum/www.domain.com dont exist" in browser! i tryied putting http:// but no luck!

EDIT:Everything seems ok now after the refresh,guys,dont forget to put http:// before the link!
Reply With Quote
  #3  
Old 04-19-2006, 10:56 AM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey this is cool man is there a way to create a image tag for it...thanks installed:banana:
Reply With Quote
  #4  
Old 04-19-2006, 01:13 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by puertoblack2003
hey this is cool man is there a way to create a image tag for it...thanks installed:banana:
When you created the BBcode just add the url to the button you want to use


Cheers i have installed, will test it
brilliant m8 works well
Reply With Quote
  #5  
Old 04-19-2006, 01:28 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
When you created the BBcode just add the url to the button you want to use


Cheers i have installed, will test it
brilliant m8 works well
cool thank you
Reply With Quote
  #6  
Old 04-19-2006, 02:38 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

demo link doesn't work.

is there a way to add "http://" to the BBcode so people can just add "www.domain.com"?
Reply With Quote
  #7  
Old 04-19-2006, 02:50 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this! I am curious if we can incorporate a fixed size for this as well? Obviously this can get really big if no limits are set?

Funny as I use this as an Admin as I allowed myself to use HTML but this prevents some of the worry about allowing members to use HTML on a board... I will install when I get time.
Reply With Quote
  #8  
Old 04-19-2006, 02:57 PM
GrCh_Jeff's Avatar
GrCh_Jeff GrCh_Jeff is offline
 
Join Date: Dec 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It automatically opens in a seperate page.
Reply With Quote
  #9  
Old 04-23-2006, 12:54 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yinyang
demo link doesn't work.

is there a way to add "http://" to the BBcode so people can just add "www.domain.com"?
link is ok now,my host had an issue,i will look into the adding http for you,thanx to all for replys
Reply With Quote
  #10  
Old 04-24-2006, 02:56 AM
NR Fatal NR Fatal is offline
 
Join Date: Mar 2006
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice! works good, I made a button if anyone wants it. just a simple "IF" (IFrame) icon. I may change the color, not sure though, Nice job Rickie! been wanting this forahwile.
Reply With Quote
Reply

Thread Tools

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 03:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04686 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (3)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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