Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-27-2006, 06:48 PM
Jordan17 Jordan17 is offline
 
Join Date: Mar 2006
Location: Teesside, UK
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Google Ads integrated into an image.

Go here --> www.uklostforum.com and look at the header. The GoogleAds are integrated into the header of the forum.

Well, actually - its not. Its a fake image version. I can't get it to work so for the moment I am "fooling" people!

How can I do this? I have tried div style="position: absolute; from left: 100px...." but when you're browser isn't maximised it just floats at that position constantly. Anyone know. (The deep integration tutorial doesn't cover this).

Thanks.
Reply With Quote
  #2  
Old 03-28-2006, 12:56 PM
therocks therocks is offline
 
Join Date: Mar 2006
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heres some code from transverse styles on how to put an advert in their bullet skin, heres an example of it bein used http://img395.imageshack.us/img395/5720/untitled6yg.jpg

so maybe you could take some code out of that and get it to work for you skin..


Code:
<!-- logo -->
<a name="top"></a>
<table align="center" style="border-collapse: collapse;width: 100%">
    <tr>
        <td valign="top" style="padding: 0;background-image: url($stylevar[imgdir_misc]/bar_l_bg.gif);width: 45px"><img src="$stylevar[imgdir_misc]/bar_l_top.gif" alt="" /></td>
<td valign="top" style="padding: 0">
<div id="vbwrapper">
<div id="logostrip"><div style="float: right;padding: 30px 10px 10px"><img src="$stylevar[imgdir_misc]/ad.gif" alt="" /></div><img src="$stylevar[imgdir_misc]/logostrip_l.gif" alt="" /></div>
<div id="submenu-shell" align="center">
<ul id="submenu">
<li class="off"><a href="$vboptions[homeurl]">Home<span class="bottom">Home</span></a></li>
<if condition="$show['member']"><li class="off"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]<span class="bottom">$vbphrase[user_cp]</span></a></li></if>
<if condition="$show['registerbutton']"><li class="off"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]<span class="bottom">$vbphrase[register]</span></a></li></if>
<li class="off"><a href="faq.php$session[sessionurl_q]">$vbphrase[faq]<span class="bottom">$vbphrase[faq]</span></a></li>
<li class="off"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]<span class="bottom">$vbphrase[members_list]</span></a></li>
<li class="off"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]<span class="bottom">$vbphrase[calendar]</span></a></li>
<li class="off"><a href="search.php$session[sessionurl_q]">$vbphrase[search]<span class="bottom">$vbphrase[search]</span></a></li>
</ul>
</div>
<div id="vbwrapper2">
<div class="b-middle"><div class="b-left"><img src="$stylevar[imgdir_misc]/border_top_l.gif" alt="" /></div><div class="b-right"><img src="$stylevar[imgdir_misc]/border_top_r.gif" alt="" /></div></div>
<div id="vbwrapper3">

<!-- content table -->
$spacer_open

$_phpinclude_output
Reply With Quote
  #3  
Old 03-28-2006, 05:26 PM
Jordan17 Jordan17 is offline
 
Join Date: Mar 2006
Location: Teesside, UK
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I've tried & tried to do modify the above to get it to work, but with no luck.

Any other ways of doing this?
Reply With Quote
  #4  
Old 03-28-2006, 06:12 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just make the banner image the background for the table cell and put the ad on top
Reply With Quote
  #5  
Old 03-29-2006, 08:09 PM
Jordan17 Jordan17 is offline
 
Join Date: Mar 2006
Location: Teesside, UK
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK I've tried that but its not working either. I can't get it in the right page. There must be a better way of doing this?
Reply With Quote
  #6  
Old 03-29-2006, 09:54 PM
vbreal vbreal is offline
 
Join Date: Dec 2005
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am curious to know this too. i need this myself
Reply With Quote
  #7  
Old 03-31-2006, 06:41 PM
Jordan17 Jordan17 is offline
 
Join Date: Mar 2006
Location: Teesside, UK
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone must know.
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 04:53 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.04573 seconds
  • Memory Usage 2,221KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete