Floris
13th August 2007, 09:01 PM
Tip of the day : Adsense Inside Posts
Original thread (http://www.vbulletin.com/forum/showthread.php?t=237530&goto=newpost) posted on vBulletin.com by : MRGTB on : Sun, 22 Jul 2007 23:16:10 GMT
Adsense Inside Posts]This will enable you to put Adsense code inside your posts at the top. You can exclude certain forum ids, that you don't want the Adsense to appear in (IE: private hidden staff forums). The Adsense will only appear in the first post also.
Quoting the first post will not display the Adsense to the second post etc.
In both "postbit" and "postbit_legacy" templates (or just add this to the template style you use instead of both): Search for this code!
Code:
below that add this code:
Code:
ADSENCE GOES HERE
[1] You exclude forums id's in this code you don't want the Adsense to appear in: Just change the 1,2,3.
Code:
This does NOT exclude certain usergroups from seeing the Adsense code in posts (because the idea is to make money). But you can quite easy edit the code with a conditional to only show to guests. or hide from admin etc.
I have not used the ADSENCE
"or" ADSENCE code to align the banners, because they are both depreciated now for WC3. But you can use it if you choose. The banner is better aligned to the left anyway, which is the default for text in posts.
If you want some ideas of a good adsense banner to use: Use the "link" only banner, and use these colours below. Which is what the image attached uses.
Quote:
Adsense Add Type: Links Only
Border Colour: #F5F5FF
Background Colour: #F5F5FF
Link Colour: #22229C
DEMO PICTURE BELOW
Attached Images http://www.vbulletin.com/forum/images/attach/gif.gif Snap1.gif (http://www.vbulletin.com/forum/attachment.php?attachmentid=23480&d=1185147848) (13.1 KB)
vBulletin-Fans.com hopes you learned something from this great tip and if you also have a great tip you can submit it on vBulletin-Tutorials.com here (http://www.vbulletin-tutorials.com/newthread.php?do=newthread&f=591), or on vBulletin.com here (http://www.vbulletin.com/forum/forumdisplay.php?f=109). Don't forget to subscribe to this forum (http://www.vbulletin-tutorials.com/subscription.php?do=addsubscription&f=591) to get daily tips on how to best secure, optimize, manage and operate your vBulletin powered forum.
Floris & Staff
vBulletin Fans Network
http://www.vBulletin-Tutorials.com/
Original thread (http://www.vbulletin.com/forum/showthread.php?t=237530&goto=newpost) posted on vBulletin.com by : MRGTB on : Sun, 22 Jul 2007 23:16:10 GMT
Adsense Inside Posts]This will enable you to put Adsense code inside your posts at the top. You can exclude certain forum ids, that you don't want the Adsense to appear in (IE: private hidden staff forums). The Adsense will only appear in the first post also.
Quoting the first post will not display the Adsense to the second post etc.
In both "postbit" and "postbit_legacy" templates (or just add this to the template style you use instead of both): Search for this code!
Code:
below that add this code:
Code:
ADSENCE GOES HERE
[1] You exclude forums id's in this code you don't want the Adsense to appear in: Just change the 1,2,3.
Code:
This does NOT exclude certain usergroups from seeing the Adsense code in posts (because the idea is to make money). But you can quite easy edit the code with a conditional to only show to guests. or hide from admin etc.
I have not used the ADSENCE
"or" ADSENCE code to align the banners, because they are both depreciated now for WC3. But you can use it if you choose. The banner is better aligned to the left anyway, which is the default for text in posts.
If you want some ideas of a good adsense banner to use: Use the "link" only banner, and use these colours below. Which is what the image attached uses.
Quote:
Adsense Add Type: Links Only
Border Colour: #F5F5FF
Background Colour: #F5F5FF
Link Colour: #22229C
DEMO PICTURE BELOW
Attached Images http://www.vbulletin.com/forum/images/attach/gif.gif Snap1.gif (http://www.vbulletin.com/forum/attachment.php?attachmentid=23480&d=1185147848) (13.1 KB)
vBulletin-Fans.com hopes you learned something from this great tip and if you also have a great tip you can submit it on vBulletin-Tutorials.com here (http://www.vbulletin-tutorials.com/newthread.php?do=newthread&f=591), or on vBulletin.com here (http://www.vbulletin.com/forum/forumdisplay.php?f=109). Don't forget to subscribe to this forum (http://www.vbulletin-tutorials.com/subscription.php?do=addsubscription&f=591) to get daily tips on how to best secure, optimize, manage and operate your vBulletin powered forum.
Floris & Staff
vBulletin Fans Network
http://www.vBulletin-Tutorials.com/