The Arcive of vBulletin Modifications Site. |
|
Google Doubleclick For Publishers (DFP) Integration Details »»
|
|||||||||||||||||||||||||||||
|
Google Doubleclick For Publishers (DFP) Integration
Developer Last Online: Nov 2023
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>
Download Now
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
Hi Saadessa,
I am sorry but I did not understand your question. Could you elaborate more? Thanks! |
|
#4
|
||||
|
||||
|
Could you explain it please ?
Screen shots ? |
|
#5
|
||||
|
||||
|
It integrates https://www.google.com/intl/de/dfp/info/sb/index.html with vbulletin
|
|
#6
|
|||
|
|||
|
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 |
|
#7
|
||||
|
||||
|
The misc - Plugin does not work as the template rendering process is from 3.8, not for 4.x.
|
|
#8
|
||||
|
||||
|
I changed the settings of this product to:
Re-usable Code: That means everyone can write his own product from this modification
|
|
#9
|
|||
|
|||
|
Thorsten, what about this:
Quote:
|
|
#10
|
||||
|
||||
|
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!
|
![]() |
|
|