vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Google Adsense Postbit Integration (https://vborg.vbsupport.ru/showthread.php?t=165701)

ayaam 05-21-2008 03:47 PM

Thanks , Done

sinistergaming 05-27-2008 06:41 AM

this works real nice.
i did modify it a bit though.
so i could rotate banners instead of just one.
installed vbbannerrotator
and replaced this code in template gaip_code1
Code:

<div style="padding: $stylevar[cellpadding]px 0px 0px 0px">

<table <if condition="$vboptions[gaiptitle]">class="tborder"</if> cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$vboptions[gaiptitle]">
<tr>
    <td class="thead" align="$stylevar[left]">$vbphrase[gapi_sponsor]</td>
</tr>
</if>
<tr>
    <td <if condition="$vboptions[gaiptitle]">class="alt1"</if> align="center">
    $vboptions[gapicode]
    </td>
</tr>
</table>

</div>

with This Code

Code:

<div style="padding: $stylevar[cellpadding]px 0px 0px 0px">

<table <if condition="$vboptions[gaiptitle]">class="tborder"</if> cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$vboptions[gaiptitle]">
<tr>
    <td class="thead" align="$stylevar[left]">$vbphrase[gapi_sponsor]</td>
</tr>
</if>
<tr>
    <td <if condition="$vboptions[gaiptitle]">class="alt1"</if> align="center">
    $GLOBALS[bannerads]
    </td>
</tr>
</table>

</div>

now im trying to add it to forumhome under 'What's Going On ?' above the footer.
but nothings coming up.
tried using code

Code:

$template_hook[postbit_end]
any idea's on what i can do there?

FROGGYJ 06-02-2008 04:21 PM

I am using OpenX, any idea how I can setup a rotating banner ad using that?

TrIn@dOr 06-09-2008 01:28 AM

Works great, can u implement the same for others spots?

letsjoy 06-15-2008 10:37 PM

You Rock

Mancia 06-28-2008 06:03 AM

I installed it and set it up with my adsense code, but I can“t see any ad inside the box where I should see it.

any ideas?

Sycoloco1212 06-28-2008 06:49 PM

Quote:

Originally Posted by Mancia (Post 1560977)
I installed it and set it up with my adsense code, but I can?t see any ad inside the box where I should see it.

any ideas?

if you just put ads inside of it then its going to show within a few minutes =)

[ Also i put my post number to 40 and i get ads after first post then under the last post of the page works great =) ]

ShawneyJ 06-29-2008 09:59 AM

thank you ;)

RedGTiVR6 06-30-2008 06:09 PM

works perfectly immediately upon installing!

would be great if you could make a mod that did this everywhere else as well...and worked this flawlessly.

chtdatweb 07-01-2008 07:15 PM

Hi,

Yeah i got this working too, but i want it displayed after post #1 and post #2 any ideas on how this could be achieved?

Thanks

Daniel


All times are GMT. The time now is 11:10 PM.

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.01582 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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