Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
Show Other Web Pages Dynamic Content In Your Add Space Details »»
Show Other Web Pages Dynamic Content In Your Add Space
Version: 1.00, by camoit camoit is offline
Developer Last Online: May 2014 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.1.x Rating:
Released: 01-30-2012 Last Update: 01-31-2012 Installs: 6
 
No support by the author.

Works with 4.1.11
It has taken me some time to find a good I-Frame code to use that will show a certain area of another web page. (I'm not a coder nor do I clam to be) Lets say you have an advertiser that pays you for space on your site, and they are always changing there content. So they call you up and want you to change the the way the add looks. Well with this little I-Frame code you can point to there site and take just the area they are always changing or the part you want to show in your add space. Now they can change the add at any time they want. with out bothering you.

Just take this code and place it in the HTML area of your add space. You can adjust the size of the window and location on the fly to get it just the way you want.
Easy install because it's just copy and paste.

Copy the code below and paste it in your new add space using your add space manager. If the size is to big your board will not display it, so make it smaller. The size is currently set to work in the add space below the navbar. (It's the size I'm currently using)

To see it in action just go to my board. It's just below the Navbar. It's the "Currently Playing " and it changes all the time automatically, and over 480 times per day.

Things to play with.
Change the title, or remove it.
The first width and height is the overall size of the window.
The next width and height is the location on the in the other page that will be displayed.
Last is near the bottom. You will need to put in the URL of the page you want to show.
Thats it copy and paste, your done.
Enjoy............................................. .................................................. ....



<html>
<head>
<title>Your Title Here</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" >
<style type="text/css">
#outerdiv
{
width:790px;
height:240px;
overflow:hidden;
position:relative;
}

#inneriframe
{
position:absolute;
top:-160px;
left:-318px;
width:1270px;
height:1200px;
}
</style>
</head>
<body>
<div id='outerdiv'>
<iframe src="http://www.The Target Url Here" id='inneriframe' scrolling=no></iframe>
</div>
</body>
</html>


---------------------------------------------------------------------------------------------------

I added a .txt download for the people that want it in note pad.

Download Now

File Type: txt I-Frames for add space.txt (497 Bytes, 22 views)

Show Your Support

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

Comments
  #2  
Old 01-31-2012, 08:32 PM
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using 3.8.xx but it looks like this should work on it also since it is html inserted... just need to go thru templates.

I'll try it and let you know.
Reply With Quote
  #3  
Old 01-31-2012, 11:16 PM
camoit camoit is offline
 
Join Date: Feb 2011
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please do. I would like to know how it works out for you. One thing you can change is near the bottom. That is scrolling=no to yes. That will allow the hole page to be seen in the I-Frame window.
Reply With Quote
  #4  
Old 02-01-2012, 07:10 AM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea,Is there a way to get these details easy??
(The next width and height is the location on the in the other page that will be displayed.)
Reply With Quote
  #5  
Old 02-03-2012, 04:08 AM
camoit camoit is offline
 
Join Date: Feb 2011
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rammieone View Post
Nice idea,Is there a way to get these details easy??
(The next width and height is the location on the in the other page that will be displayed.)
I'm not sure sure what you meant by : Is there a way to get these details easy??

Yes on the second width and height, that is the area the I frmae will target.
I just ran across this code on page 9837 while googling I-Frames and it worked,,,,,....
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 02:07 AM.


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.05247 seconds
  • Memory Usage 2,254KB
  • Queries Executed 19 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (1)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete