PDA

View Full Version : Integration with vBulletin - Google Doubleclick For Publishers (DFP) Integration


ThorstenA
04-22-2010, 10:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=195234)


Installation instruction
Add this to the end of headinclude template
<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:

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:
When inserting {vb:raw admanagerforums} in ad_global_below_navbar nothing happens.

Many thanks.

ThorstenA
12-08-2010, 08:25 PM
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!

nacaruncr
08-08-2012, 05:12 PM
Is this work for 4.1.x and 4.2.x??
Because I need it for 4.2.0 and I want to know if when I upgrade it works well ...
Rergads

cnczone
06-07-2013, 03:03 AM
anyone have any more details on this product?