The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Google Adsense Background Color
How do I change this default vbulletin google adsense background (low settings). I inspected it in Firebug and saw no stylevar, .css class or html code for it in Templates, so is it changeable in the actual javascript code of vbulletin? Today I started using low settings in combination with Google Adsense Channels for 'Manage Ads'.
|
#2
|
||||
|
||||
As far as I know, there is no way to change that background color. (I could be wrong)
|
#3
|
||||
|
||||
Where there's a will there's a way! I'll break my whole site if I have to.
|
#4
|
||||
|
||||
Update: I found this: http://www.guruofsearch.com/adsense-...ent-background
Quote:
|
#5
|
||||
|
||||
Quote:
Use solid colors instead You might be set on the whole transparent background thing, and might actually have a situation where it looks quite good. But the bottom line is you don't want to risk having your Adsense account suspended. Instead, we'd like to point out the advantages of using solid colors for your ad backgrounds. * Solid colors pop more, and make the Adsense text more visible. * If you want to blend your ads, you can choose an Adsense background color that matches the background color of your website. * In some instances, you may actually want to vary the background color of your Adsense ad, as it will make it stand out from the rest of your site content. --------------- Added [DATE]1312256984[/DATE] at [TIME]1312256984[/TIME] --------------- It's the top one in navbar template. {vb:raw ad_location.ad_navbar_below} <---- This is where you set adsense low to high {vb:raw ad_location.global_below_navbar} <---- That's for manage ads. Where do I go to access this? --------------- Added [DATE]1312315659[/DATE] at [TIME]1312315659[/TIME] --------------- I have not figured this out yet but until then, I'm doing it manually. |
#6
|
||||
|
||||
Do they show up in your adsense account after adding them through the vbulletin integrated mod?
If they do you can change the color palette there. (I'm pretty sure they don't) Otherwise there is an old thread that was responded to by Steve for vb 3.8: https://www.vbulletin.com/forum/show...Google-Adsense Quote:
--------------- Added [DATE]1312434954[/DATE] at [TIME]1312434954[/TIME] --------------- ad_navbar_below is the template you will want to change to customize the Code:
A small 5-link advertising unit under the navigation bar. This location only shows text ads in the Low package. Code:
google_color_border = "{vb:stylevar page_bgcolor_hex}"; google_color_bg = "{vb:stylevar page_bgcolor_hex}"; google_color_link = "{vb:stylevar body_link_n_fgcolor_hex}"; google_color_text = "{vb:stylevar body_fgcolor_hex}"; google_color_url = "{vb:stylevar body_link_n_fgcolor_hex}"; --------------- Added [DATE]1312435585[/DATE] at [TIME]1312435585[/TIME] --------------- However Personally I wouldn't use the vbulletin mod because of the lack of integration with your actual adsense account. You get so much more control if you generate the code from within your adsense account. you can use custom channels and all. What I would recommend however is altering their placement templates with your own google ad code, for the placements you want. you can pick and choose your locations rather than using the all or nothing method their integration forces with the two options |
#7
|
||||
|
||||
Quote:
|
#8
|
||||
|
||||
Quote:
I can't really help you do anything with specific threads, that might be something for another request. The ad template to put google adsense in the first post of every thread is "ad_thread_first_post_content" |
#9
|
||||
|
||||
K thanks man. I thought that the code they used was compressed javascript inside the vbulletin's core javascript files which makes the site faster. I was wondering is there a way to call that inside the template instead of using the whole javascript code since in-line javascript is a no-no?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|