vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Ad after first post (https://vborg.vbsupport.ru/showthread.php?t=69863)

Natch 10-18-2004 11:46 PM

Code:

</if>
<!-- / post #$post[postid] -->
<if condition="$post['postid'] == $thread['firstpostid']">
<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="710" align="center"> <tr>        <td  class="thead" style="font-weight:normal" ><strong>Sponsors</strong></td>  </tr>
<tr>
<td class="alt1" style="background-color:#AED1D7;color:inherit" align="center">
(adsense code here)
</td>
</tr>
</table>

</if>


JuicyDuff 10-19-2004 05:53 AM

Hey thanks alot Natch :) ... that solved 1/2 of the problem :)

How do I get rid of the dark green bits around the table and replace it with the normal bg and kill the border around the table?

JuicyDuff 10-19-2004 05:56 AM

Actually I just want the dark green bits gone mainly

The other problem

1) Move the area below the banner by 1 (like it is above the banner)

Natch 10-19-2004 11:32 AM

Code:

</if>
<!-- / post #$post[postid] -->
<if condition="$post['postid'] == $thread['firstpostid']">
<table cellpadding="6" cellspacing="0" border="0" width="710" align="center">
<tr>
<td  class="thead" style="font-weight:normal" ><strong>Sponsors</strong></td>
</tr>
<tr>
<td style="background-color:#AED1D7; color:inherit" align="center">
(adsense code here)
</td>
</tr>
</table>
<div style="padding:3px 0 0 0"></div>

</if>

Try that...

Roms 10-19-2004 03:36 PM

Thanks... Added a banner. :)

blueuniverse 10-28-2004 08:17 PM

Could I bump this for a solution to my problem. Its still showing up as here.

https://vborg.vbsupport.ru/showpost....07&postcount=7

Also on the PM display it is showing up which is good, but it is affected by that problem, and also both the left and right hand sides are padded.

Any ideas?

bgray 11-13-2004 06:42 PM

Anyone know what the code would be for 2.2.x ?

petertdavis 12-01-2004 03:45 AM

I can't seem to get this to work in 3.0.3. I edit the postbit template, add this to the bottom, insert adsense code, and nothing. Is it because of something changed in 3.0.3, or something I'm not doing right?

Code:

<if condition="$post['postid'] == $thread['firstpostid']">

  Your Adsense Code Goes Here

</if>


petertdavis 12-01-2004 11:51 AM

Heh, shouldn't work when I'm so tired, it's working now.

eva01_ 04-09-2005 03:29 PM

it is against the rules to show entire templates in your post

and do as post 18 stated


All times are GMT. The time now is 10:38 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.01135 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete