vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - Google Doubleclick For Publishers (DFP) Integration (https://vborg.vbsupport.ru/showthread.php?t=241100)

ThorstenA 04-22-2010 10:00 PM

Google Doubleclick For Publishers (DFP) Integration
 
1 Attachment(s)
Google Admanager Integration

Works on vbulletin 4, but for the forum targeting it only works with the forums you already put in Google Admanager (Doubleclick for Publishers).

Ported from vbulletin 3.x Google Admanager Integration


Installation instruction
Add this to the end of headinclude template
Code:

<script type="text/javascript" src="http://partner.googleadservices.com/gampad/google_service.js"></script>
<script type="text/javascript">GS_googleAddAdSenseService("ca-pub-your number");  GS_googleEnableAllServices();</script>
<script type="text/javascript">
  GA_googleAddAttr("usergroup", "{vb:raw bbuserinfo[usergroupid]}");
  GA_googleAddAttr("script", "<vb:if condition="THIS_SCRIPT =='index'">index</vb:if><vb:if  condition="THIS_SCRIPT =='forumdisplay'">forumdisplay</vb:if><vb:if condition="THIS_SCRIPT =='showthread'">showthread</vb:if><vb:if condition="THIS_SCRIPT =='login'">login</vb:if><vb:if condition="THIS_SCRIPT =='newthread'">newthread</vb:if><vb:if condition="THIS_SCRIPT =='newreply'">newreply</vb:if>");
<vb:if condition="THIS_SCRIPT == 'index'">GA_googleAddAttr("Forum", "index");<vb:else />  {vb:raw admanagerforums}</vb:if>
<vb:if condition="$postlevel">GA_googleAddAttr("p", "{vb:raw postlevel}");</vb:if>
your ad slots
GA_googleFetchAds();</script>


saadessa 08-25-2010 10:29 PM

targeting ok its notified so warking better than befor

installed thank you

quisiton : how many add puting and how
i put lik this
55592359
64564654
46663466
so : there is no any options on control panel
pleas clear more

ThorstenA 08-26-2010 12:21 AM

Hi Saadessa,

I am sorry but I did not understand your question. Could you elaborate more? Thanks!

mgurain 11-26-2010 12:23 PM

Could you explain it please ?
Screen shots ?

ThorstenA 11-26-2010 11:48 PM

It integrates https://www.google.com/intl/de/dfp/info/sb/index.html with vbulletin

ivanp 12-08-2010 08:23 AM

This is not compatibile with 4.0.7.

When inserting {vb:raw admanagerforums} in ad_global_below_navbar nothing happens.

Also, /misc.php?do=admanager shows:

Code:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4007
Anyway, why hooking to misc_start for internal info?

ThorstenA 12-08-2010 10:15 AM

The misc - Plugin does not work as the template rendering process is from 3.8, not for 4.x.

ThorstenA 12-08-2010 10:16 AM

I changed the settings of this product to:

Re-usable Code: That means everyone can write his own product from this modification :)

ivanp 12-08-2010 10:24 AM

Thorsten, what about this:
Quote:

When inserting {vb:raw admanagerforums} in ad_global_below_navbar nothing happens.
Many thanks.

ThorstenA 12-08-2010 08:25 PM

Quote:

Originally Posted by ivanp (Post 2130800)
Thorsten, what about this:


Many thanks.

You need to define the variable in the plugin before you can use it in the templates. Unfortunately I do not know how to do this without looking into the documentation. There is some documentation available here about that, and maybe you can find something in my product that helps you!


All times are GMT. The time now is 09:43 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.01131 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (2)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