vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adsense (https://vborg.vbsupport.ru/showthread.php?t=195420)

edermix 11-04-2008 01:01 PM

Adsense
 
1 Attachment(s)
How do this adsense, in this format? note that is divided into tables (tables).

Look:

Attachment 88974

punchbowl 11-04-2008 01:11 PM

Doesn't look like adsense to me

edermix 11-04-2008 02:27 PM

Quote:

Originally Posted by punchbowl (Post 1659317)
Doesn't look like adsense to me

Adsense This is a Mercado Livre (http://guia.mercadolivre.com.br/ganh...ense-30163-VGP).

It is like a Google Adsense.

See a working Forum:

http://forum.clubedohardware.com.br/...igabyte/585544

SEOvB 11-04-2008 02:34 PM

You just make a table with more columns?

<table>
<tr>
<td> ad 1</td>
<td> ad 2</td>
<td> ad 3/td>
<td> ad 4</td>
<td> ad 5</td>
</tr>
</table>

If your using 3.7 you can use the adlocation_afterfirst post template

edermix 11-04-2008 03:27 PM

Great man.. I will test

--------------- Added [DATE]1225897367[/DATE] at [TIME]1225897367[/TIME] ---------------

How can I put this at the end of the last post?

What I have to change template?

PS.: I'm using the mod https://vborg.vbsupport.ru/showthrea...hlight=adsense

Thank's

SEOvB 11-05-2008 02:06 PM

Try the adlocation before quick reply

edermix 11-05-2008 03:30 PM

1 Attachment(s)
Actually, I made it using the template SHOWTHREAD.

But I do have a problem of spacing between the ad1 and AD2. Look at my code:

PHP Code:

<!-- / ADSENSE -->
<
br />
<
div  style="padding: $stylevar[cellpadding]px0px 0px 0px" class="tborder">

<
table class="thead" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="thead" align="$stylevar[left]">$vbphrase[gapi_sponsor]</td>
</
tr>

<
tr class="alt1">
    
<
tdad 1</td>
<
tdad 2</td>
<
tdad 3</td>
<
tdad 4</td>
<
tdad 5</td>

</
tr>
</
table>

</
div>
<!-- / 
ADSENSE --> 

And look at the picture:

Attachment 89013

And between each TD would leave a line dividing each Adsense. How can I fix this?

TundraSoul 11-05-2008 03:43 PM

Quote:

Originally Posted by edermix (Post 1659962)
Actually, I made it using the template SHOWTHREAD.

But I do have a problem of spacing between the ad1 and AD2. Look at my code:

PHP Code:

<!-- / ADSENSE -->
<
br />
<
div  style="padding: $stylevar[cellpadding]px0px 0px 0px" class="tborder">
 
<
table class="thead" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="thead" align="$stylevar[left]">$vbphrase[gapi_sponsor]</td>
</
tr>
 
<
tr class="alt1">
 
<
tdad 1</td>
<
tdad 2</td>
<
tdad 3</td>
<
tdad 4</td>
<
tdad 5</td>
 
</
tr>
</
table>
 
</
div>
<!-- / 
ADSENSE --> 

And look at the picture:

Attachment 89013

And between each TD would leave a line dividing each Adsense. How can I fix this?

In another words you don't want the cell dividers (lines) that come with the td cells to separate each ad. Why not just put all the adds in one wide td cell?

For instance:

<td align="center">&nbsp;&nbsp;ad 1&nbsp;&nbsp;ad 2&nbsp;&nbsp;ad 3&nbsp;&nbsp;ad 4&nbsp;&nbsp;ad 5&nbsp;&nbsp;</td>

Perhaps that will look better. :cool:

SEOvB 11-05-2008 03:51 PM

Quote:

Originally Posted by edermix (Post 1659962)
Actually, I made it using the template SHOWTHREAD.

But I do have a problem of spacing between the ad1 and AD2. Look at my code:

PHP Code:

<!-- / ADSENSE -->
<
br />
<
div  style="padding: $stylevar[cellpadding]px0px 0px 0px" class="tborder">

<
table class="thead" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="thead" align="$stylevar[left]">$vbphrase[gapi_sponsor]</td>
</
tr>

<
tr class="alt1">
    
<
tdad 1</td>
<
tdad 2</td>
<
tdad 3</td>
<
tdad 4</td>
<
tdad 5</td>

</
tr>
</
table>

</
div>
<!-- / 
ADSENSE --> 

And look at the picture:

Attachment 89013

And between each TD would leave a line dividing each Adsense. How can I fix this?

<table>
<tr>
<td width="20%" style="border:0px;" align="center"> ad 1 </td>
<td width="20%" style="border:0px;" align="center"> ad 1 </td>
<td width="20%" style="border:0px;" align="center"> ad 1 </td>
<td width="20%" style="border:0px;" align="center"> ad 1 </td>
<td width="20%" style="border:0px;" align="center"> ad 1 </td>
</tr>
</table>


Remember you can only display 3 contextual adsense units per page.

edermix 11-05-2008 05:29 PM

Quote:

Originally Posted by TundraSoul (Post 1659966)
In another words you don't want the cell dividers (lines) that come with the td cells to separate each ad. Why not just put all the adds in one wide td cell?

For instance:

<td align="center">&nbsp;&nbsp;ad 1&nbsp;&nbsp;ad 2&nbsp;&nbsp;ad 3&nbsp;&nbsp;ad 4&nbsp;&nbsp;ad 5&nbsp;&nbsp;</td>

Perhaps that will look better. :cool:

No, because for my plans at each table will be easier to centralization. Thank's.

Quote:

Originally Posted by FRDS (Post 1659970)
<table>
<tr>
<td width="20%" style="border:0px;" align="center"> ad 1 </td>
<td width="20%" style="border:0px;" align="center"> ad 1 </td>
<td width="20%" style="border:0px;" align="center"> ad 1 </td>
<td width="20%" style="border:0px;" align="center"> ad 1 </td>
<td width="20%" style="border:0px;" align="center"> ad 1 </td>
</tr>
</table>

Remember you can only display 3 contextual adsense units per page.

Excellent, excellent, excellent! Very good, Thank you again for all the help and attention!


All times are GMT. The time now is 06:59 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.03382 seconds
  • Memory Usage 1,774KB
  • 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_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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