View Single Post
  #165  
Old 01-02-2009, 09:09 PM
Markos Markos is offline
 
Join Date: Aug 2006
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi I'm trying to do the thread one but would like to use images and links instead of the google ads is there anyway i could do this ?????


Quote:
Originally Posted by NeutralizeR View Post
Open your FORUMDISPLAY template: vBulletin AdminCP > Styles & Templates > Edit Templates > Forum Display Templates > FORUMDISPLAY

(First thread)

Find:

<if condition="$show['threads']">

Add below:

<tr>
<td align="center" class="alt1">-</td>
<td align="center" class="alt2">-</td>
<td class="alt1">
<div>
<script type="text/javascript"><!--
google_ad_client = "youradsensecode";
google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="yourchannelcode";
google_color_border = "F5F5FF";
google_color_bg = "F5F5FF";
google_color_link = "22229C";
google_color_url = "000000";
google_color_text = "22229C";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</td>

<td class="alt2 smallfont" align="center">Sponsored Links</td>

<td class="alt1" align="center">-</td>
<td class="alt2" align="center">-</td>
<if condition="$show['inlinemod']"><td class="alt1" align="center">-</td></if>

</tr>


(Last thread)

Find:

<!-- end show threads -->

Add below:

<tr>
<td align="center" class="alt1">-</td>
<td align="center" class="alt2">-</td>
<td class="alt1">
<div>
<script type="text/javascript"><!--
google_ad_client = "youradsensecode";
google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="yourchannelcode";
google_color_border = "F5F5FF";
google_color_bg = "F5F5FF";
google_color_link = "22229C";
google_color_url = "000000";
google_color_text = "22229C";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</td>

<td class="alt2 smallfont" align="center">Sponsored Links</td>

<td class="alt1" align="center">-</td>
<td class="alt2" align="center">-</td>
<if condition="$show['inlinemod']"><td class="alt1" align="center">-</td></if>

</tr>

Results:




Save.
--------------- Added [DATE]1230946663[/DATE] at [TIME]1230946663[/TIME] ---------------

ok i got it so far but getting a extra box at the end any one know what it can be



heres the code i used

PHP Code:
<!-- BEGIN Ad Block CODE -->
<
div align="center" style="margin: -5px 0px 10px 0px;">
<
table width="100%" align="center" border="0" cellpadding="3" cellspacing="1" bgcolor="#F4F4F4">
  <
tr>

<!-- 
Ad Block ONE -->

    <
td width="16%" bgcolor="#F4F4F4" align="center" valign="top"><a rel="nofollow" href='http://googleads.g.doubleclick.net/pagead/iclk?sa=l&ai=BcHi546deSYGPCpLGjgKY3cyzB-_ItHvVn66cDcCNtwHAqQcQARgBIIG9zwkoAzgAUJ-Rzon4_____wFgu9bJg9wKoAHtzsj-A7IBJXd3dy5zY290dGlzaGV4b3RpY3JlcHRpbGVzZm9ydW0uY28udWu6AQk3Mjh4OTBfYXPIAQHaAS1odHRwOi8vd3d3LnNjb3R0aXNoZXhvdGljcmVwdGlsZXNmb3J1bS5jby51ay-pAkQbCtvrdrg-qAMByAMH6APfBPUDAAEABJgEAA&num=1&adurl=http://www.reptile-food-direct.co.uk/acatalog/Foods_and_Supplements.html&client=ca-pub-7237502076132128&nm=16' target='_blank'><img src='http://www.scottishexoticreptilesforum.co.uk/images/ads/LiveFoodsLogo.jpg' border='0' alt='' style="border-color:#F4F4F4" /></a><br>
    <
font face="verdana, arial, helvetica, sans-serif" size="1"> <a rel="nofollow" href="http://googleads.g.doubleclick.net/pagead/iclk?sa=l&ai=BcHi546deSYGPCpLGjgKY3cyzB-_ItHvVn66cDcCNtwHAqQcQARgBIIG9zwkoAzgAUJ-Rzon4_____wFgu9bJg9wKoAHtzsj-A7IBJXd3dy5zY290dGlzaGV4b3RpY3JlcHRpbGVzZm9ydW0uY28udWu6AQk3Mjh4OTBfYXPIAQHaAS1odHRwOi8vd3d3LnNjb3R0aXNoZXhvdGljcmVwdGlsZXNmb3J1bS5jby51ay-pAkQbCtvrdrg-qAMByAMH6APfBPUDAAEABJgEAA&num=1&adurl=http://www.reptile-food-direct.co.uk/acatalog/Foods_and_Supplements.html&client=ca-pub-7237502076132128&nm=16" target="_blank">Reptile Food direct</a> </font> </td>

<!-- 
Ad Block TWO -->

    <
td width="16%" bgcolor="#F4F4F4" align="center" valign="top"><a rel="nofollow" href='http://googleads.g.doubleclick.net/pagead/iclk?sa=l&ai=B2CVb46deSYGPCpLGjgKY3cyzB-ni9DqP-OTLBMCNtwGQsAoQAxgDIIG9zwkoAzgAUIG0yLT7_____wFgu9bJg9wKsgEld3d3LnNjb3R0aXNoZXhvdGljcmVwdGlsZXNmb3J1bS5jby51a7oBCTcyOHg5MF9hc8gBAdoBLWh0dHA6Ly93d3cuc2NvdHRpc2hleG90aWNyZXB0aWxlc2ZvcnVtLmNvLnVrL4ACAakCRBsK2-t2uD6oAwHIAwfoA98E9QMAAQAEmAQA&num=3&adurl=http://www.livefoodsdirect.co.uk&client=ca-pub-7237502076132128&nm=6' target='_blank'><img src='http://www.scottishexoticreptilesforum.co.uk/images/ads/reptile_food_direct_logo.jpg' border='0' alt='' style="border-color:#F4F4F4"></a><br>
    <
font face="verdana, arial, helvetica, sans-serif" size="1"> <a rel="nofollow" href="http://googleads.g.doubleclick.net/pagead/iclk?sa=l&ai=B2CVb46deSYGPCpLGjgKY3cyzB-ni9DqP-OTLBMCNtwGQsAoQAxgDIIG9zwkoAzgAUIG0yLT7_____wFgu9bJg9wKsgEld3d3LnNjb3R0aXNoZXhvdGljcmVwdGlsZXNmb3J1bS5jby51a7oBCTcyOHg5MF9hc8gBAdoBLWh0dHA6Ly93d3cuc2NvdHRpc2hleG90aWNyZXB0aWxlc2ZvcnVtLmNvLnVrL4ACAakCRBsK2-t2uD6oAwHIAwfoA98E9QMAAQAEmAQA&num=3&adurl=http://www.livefoodsdirect.co.uk&client=ca-pub-7237502076132128&nm=6" target="_blank">Live Foods Direct</a> </font> </td>

<!-- 
Ad Block THREE -->

    <
td width="16%" bgcolor="#F4F4F4" align="center" valign="top"><a rel="nofollow" href='http://pagead2.googlesyndication.com/pagead/iclk?sa=l&ai=BIHMfi7BeScCgFITAiQL_7ejvB4O3407bzoHDB8CNtwHQhgMQFBgEIIG9zwkoBDgAUNmGrML8_____wFgu9bJg9wKkAEFsgEld3d3LnNjb3R0aXNoZXhvdGljcmVwdGlsZXNmb3J1bS5jby51a7oBDXNtYS03Mjh4OTBfYXPIAQHaAS1odHRwOi8vd3d3LnNjb3R0aXNoZXhvdGljcmVwdGlsZXNmb3J1bS5jby51ay_gAQOpAkQbCtvrdrg-yAKby4wJqAMByAMH6APfBPUDAAEABJgEAA&num=4&ggladgrp=7700716015936752994&gglcreat=12698893765199320887&adurl=http://www.shopzilla.co.uk/mkt.xpml%3Fmkt_id%3D405651406&client=ca-pub-7237502076132128&nm=6' target='_blank'><img src='http://www.scottishexoticreptilesforum.co.uk/images/ads/shopzilla.jpg' border='0' alt='' style="border-color:#F4F4F4"  /></a><br>
    <
font face="verdana, arial, helvetica, sans-serif" size="1"> <a rel="nofollow"href="http://pagead2.googlesyndication.com/pagead/iclk?sa=l&ai=BIHMfi7BeScCgFITAiQL_7ejvB4O3407bzoHDB8CNtwHQhgMQFBgEIIG9zwkoBDgAUNmGrML8_____wFgu9bJg9wKkAEFsgEld3d3LnNjb3R0aXNoZXhvdGljcmVwdGlsZXNmb3J1bS5jby51a7oBDXNtYS03Mjh4OTBfYXPIAQHaAS1odHRwOi8vd3d3LnNjb3R0aXNoZXhvdGljcmVwdGlsZXNmb3J1bS5jby51ay_gAQOpAkQbCtvrdrg-yAKby4wJqAMByAMH6APfBPUDAAEABJgEAA&num=4&ggladgrp=7700716015936752994&gglcreat=12698893765199320887&adurl=http://www.shopzilla.co.uk/mkt.xpml%3Fmkt_id%3D405651406&client=ca-pub-7237502076132128&nm=6" target="_blank">ShopZilla</a> </font> </td>

<!-- 
Ad Block FOUR -->

    <
td width="17%" bgcolor="#F4F4F4" align="center" valign="top"><a rel="nofollow" href='http://pagead2.googlesyndication.com/pagead/iclk?sa=l&ai=BFZ-CpqpeSd3pPIvUiQLAv_XvB9ecgpUBx8GttQrAjbcBsNsGEBEYAiCBvc8JKAQ4AFCf18en______8BYLvWyYPcCpABBbIBJXd3dy5zY290dGlzaGV4b3RpY3JlcHRpbGVzZm9ydW0uY28udWu6AQ1zbWEtNzI4eDkwX2FzyAEB2gEtaHR0cDovL3d3dy5zY290dGlzaGV4b3RpY3JlcHRpbGVzZm9ydW0uY28udWsv4AEDgAIBqQJEGwrb63a4PtACAagDAcgDB-gD3wT1AwABAASYBAA&num=2&adurl=http://www.netpetshop.co.uk/c-327-vivariums.aspx&client=ca-pub-7237502076132128&nm=6' target='_blank'><img src='http://www.scottishexoticreptilesforum.co.uk/images/ads/NetPetShop.jpg' border='0' alt='' style="border-color:#F4F4F4"  /></a><br>
    <
font face="verdana, arial, helvetica, sans-serif" size="1"> <a rel="nofollow" href="http://pagead2.googlesyndication.com/pagead/iclk?sa=l&ai=BFZ-CpqpeSd3pPIvUiQLAv_XvB9ecgpUBx8GttQrAjbcBsNsGEBEYAiCBvc8JKAQ4AFCf18en______8BYLvWyYPcCpABBbIBJXd3dy5zY290dGlzaGV4b3RpY3JlcHRpbGVzZm9ydW0uY28udWu6AQ1zbWEtNzI4eDkwX2FzyAEB2gEtaHR0cDovL3d3dy5zY290dGlzaGV4b3RpY3JlcHRpbGVzZm9ydW0uY28udWsv4AEDgAIBqQJEGwrb63a4PtACAagDAcgDB-gD3wT1AwABAASYBAA&num=2&adurl=http://www.netpetshop.co.uk/c-327-vivariums.aspx&client=ca-pub-7237502076132128&nm=6" target="_blank">Net Pet Shop</a> </font> </td>

<!-- 
Ad Block FIVE -->

    <
td width="17%" bgcolor="#F4F4F4" align="center" valign="top"><a rel="nofollow" href='http://pagead2.googlesyndication.com/pagead/iclk?sa=l&ai=BzOTeiKpeSebTJ8PZ-Abf083tAYS7_Y0BpvHD1wnAjbcBgPEEEAwYASCBvc8JKAQ4AFDqpJu1-v____8BYLvWyYPcCpABBLIBJXd3dy5zY290dGlzaGV4b3RpY3JlcHRpbGVzZm9ydW0uY28udWu6AQ1zbWEtNzI4eDkwX2FzyAEB2gEtaHR0cDovL3d3dy5zY290dGlzaGV4b3RpY3JlcHRpbGVzZm9ydW0uY28udWsv4AEDqQJSZBU8Klq3PqgDAcgDB-gD3wT1AwABAASYBAA&num=1&adurl=http://www.pythonkings.nl&client=ca-pub-7237502076132128&nm=21' target='_blank'><img src='http://www.scottishexoticreptilesforum.co.uk/images/ads/pythonkings.jpg' border='0' alt='' style="border-color:#F4F4F4"  /></a><br>
    <
font face="verdana, arial, helvetica, sans-serif" size="1"> <a rel="nofollow" href="http://pagead2.googlesyndication.com/pagead/iclk?sa=l&ai=BzOTeiKpeSebTJ8PZ-Abf083tAYS7_Y0BpvHD1wnAjbcBgPEEEAwYASCBvc8JKAQ4AFDqpJu1-v____8BYLvWyYPcCpABBLIBJXd3dy5zY290dGlzaGV4b3RpY3JlcHRpbGVzZm9ydW0uY28udWu6AQ1zbWEtNzI4eDkwX2FzyAEB2gEtaHR0cDovL3d3dy5zY290dGlzaGV4b3RpY3JlcHRpbGVzZm9ydW0uY28udWsv4AEDqQJSZBU8Klq3PqgDAcgDB-gD3wT1AwABAASYBAA&num=1&adurl=http://www.pythonkings.nl&client=ca-pub-7237502076132128&nm=21" target="_blank">Python Breeding Game</a></font></td>

  </
tr>
</
table>
</
div>
<!-- 
END Ad Block CODE --> 

thanks Markos
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02136 seconds
  • Memory Usage 1,871KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete