Version: 1.2, by ThorstenA
Developer Last Online: Nov 2023
Category: Integration with vBulletin -
Version: 3.8.x
Rating:
Released: 11-01-2008
Last Update: 11-08-2008
Installs: 40
Uses Plugins Template Edits
Re-useable Code Translations
No support by the author.
Notice: This mod uses Re-usable Code, so please feel free to port it to vbulletin 4 under your username. Thanks.
Google Admanager Integration
This product targets ads to usergroup, script, forum. That way you can
address ads to these targets. Example: Target all users except moderators in your favorite forums on index and forumdisplay directly in Google Admanager! (see admanager.jpg)
Adsense Advanced Statistics. Have a detailed view which usergroups, scripts, forums bring best adsense results. You have a detailed view about all targeting values. Example: You see that your announcement forum has a CTR of 8% and an eCPM of 25 $. Unregistered users bring an eCPM of 15 $ while registered users only have an eCPM of 3 $.
3. Google Admanager Configuration
Configure Admanager like I write in #2 post in this topic.
Version History
9.11.2008 1.2 Solved a bug for forum targeting
8.11.2008 1.1 Improved forum targeting. Forums are shown with real names. Unlimited forum levels supported.
1.11.2008 1.0 Forums are targeted by using forumids. 3 forum levels supported.
Works with vbulletin 3.5, 3.6, 3.7, 3.8. This product works perfectly with vbSEO. This product doesn't make the vBulletin 3.8 implementation of Adsense work with admanager.
I tried to delete all characters that are not a-z A-Z 0-9, as it seems it does not work as I wanted it to work. The forum title is cleaned this way:
Code:
$adtitle = $prependchars . "$forum[title_clean]"; // $prependchars are the spaces
$adtitle = str_replace(" ","_",$adtitle); // spaces " "are rewritten as "_"
$adtitle = preg_replace("/[^a-z0-9\\-\\_]/i", "", $adtitle); // everything is deleted instead of a-z / A-Z characters and numbers.
$adtitle = substr($adtitle,0,40); // limit title length to a maximum of 40.
The red line is the regexp (regular expression) code which fails in your situation. Unfortunately I am no regexp expert and it would take hours if not days to work out your bug. Maybe some more experienced programmer could take a short look into that situation? I'd then take the new regular expression and publish an updated version of this product here.
I am going to release the Admanager vb 4 version after vbulletin 4 goes gold (maybe even before that). It definitely will have the forum targeting feature. I am unsure about the misc.php view that you have to copy to Google Admanager in the targeting section as it is of most importance for new installing of this mod. For upgraders that is of minor importance.