vb.org Archive

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

jkcerda 07-03-2009 07:48 PM

cool, will give it a try

Macgiber 07-08-2009 12:03 AM

thanks

daveaite 07-08-2009 05:23 AM

thanks

ricardoNJ 07-11-2009 04:23 PM

nice!

stickyslicks 07-13-2009 12:23 AM

Hi,

I installed, and it works great in IE, but no ads show up in Firefox 2.0.0.18. The wrapper for the ads is there, it just doesn't show content.

Any idea why it works in one browser and not the other?

Thanks for any help!

brvheart 07-20-2009 06:00 PM

How would I keep from working on my iphone template or at least adjust the size so that it looks ok with that template?

ARKphoenix2k 07-22-2009 11:11 PM

Works great, thanks.

Installed

MikesSite 08-03-2009 03:44 AM

I would like to install this, but I would like to have it only active for 1 forum. Could I possibly manually add it into the style? How could I do this? Thanks!!

elenh 08-18-2009 09:27 AM

If you want to add Google Adsense Postbit Integration in more places in your forum like in the Private messages then do this:
  • Create a new plugin and add:

  1. Product: Google Adsense Postbit Integration
  2. Hook Location: parse_templates
  3. Title: Google Adsense PM Integration
  4. Execution Order: 5
  5. Plugin PHP Code:
    PHP Code:

    eval('$gaip_code1= "' fetch_template('gaip_code1') . '";'); 

  6. Plugin is Active: Yes

  7. Click Save.



  • Now go style manager and search in templates:


  1. Find in Private Message / pm_showpm template:
  2. HTML Code:

    <if condition="$show['quickreply']">
  3. Adove add:
  4. HTML Code:

    $gaip_code1
            <br />

  5. Click Save and done!

Now if a member read a PM then before the Quick Reply editor is showing the Sponsor Banners.

Tip: You can put the code $gaip_code1 where ever you like to show the banners, but for me the best places/targets to provide the banners is under 1 post in the topics and before the quickreply editor when a member read the pm.If you place it in more places then your site will lose load speed.

Thanks a lot!!

corsacrazy 08-21-2009 10:09 PM

what if we dont want to show this in certain forums.. like the important forums etc and only keep it in a few ?


All times are GMT. The time now is 09:00 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.01215 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_php_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