The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Where & how to insert Google AdSense Code
Can some kind person please explain how & where to insert the Google AdSense code for my website running vBulletin 4.2.3 please.
I've been racking my brain trying to figure this out for days & days...but I'm not really getting anywhere. - Google seems to say add the AdSense code to the header and/or footer files. But this seems to apply to html based websites. - I also seem to keep seeing that I need to edit the vBulletin "postbit_legacy" template. But not really 100% sure where to add the AdSense code without messing things up. Could really use some help, Thanks |
#2
|
|||
|
|||
In admincp, there is an option for advertisements. Simply select where you want to display the ads and paste the code.
See https://www.vbulletin.com/docs/html/...rtising_ad_new for details |
#3
|
|||
|
|||
Quote:
Thanks |
#4
|
|||
|
|||
Clear cache under Maintenance and check again. Usually it appears after some time.
|
#5
|
|||
|
|||
Ok...cleared cache. Will wait a bit and see if successful
Thanks |
#6
|
|||
|
|||
Been about 30 minutes...unfortunately nothing has shown up yet (hopefully that's long enough).
Any other ideas/suggestions? Here's a screenshot of my ad settings...maybe something is setup incorrectly? - I blocked out some of the ad code...but you can see there's html ad code there (copied & pasted from advertiser). - I believe I have it setup so that everyone see's the ad's (all usergroups). Thanks |
#7
|
|||
|
|||
None of the checkboxes are checked in the section at the bottom. Review those settings and check at least one, for example the user (does not) belong to usergroup setting.
|
Благодарность от: | ||
TheLastSuperman |
#8
|
|||
|
|||
Hey Dave...thanks for posting.
Do I really need to check at least one of the boxes in the lower half of the screen shot? In the upper area there's the "Active" setting...with choices of "Yes" or "No". I currently have "Yes" selected. Right below that it says "If active and no criteria are set, ad will display to all." I'm understanding this to mean that if nothing is selected in the lower half...that the ads will display to all. So I was thinking I didn't need to check any of the boxes in the lower half of the screenshot. Thanks |
#9
|
|||
|
|||
Are you using a custom style? Maybe ad templates are disabled in that. Check the default template. Also, do you have ad block installed?
|
#10
|
|||
|
|||
Ah good catch, yes in that case no checkboxes need to be set.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|