The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
adsense in CMS articles
How to insert adsense code inside CMS articles content?
|
#2
|
|||
|
|||
Id love to know this as well
|
#3
|
|||
|
|||
Is there really no way? I have seen many posts like this one without any answers. So is it really not possible to post an ad inside an article?
|
#4
|
||||
|
||||
Well sure... I don't see why not you simply need to edit the appropriate templates and add in the code unless I'm completely missing something.
Where do you want it shown (bear in mind some ad sizes like 728 x 90 may or may not fir aesthetically into your site/style) in your CMS, in the articles correct? Edit: If it's in the article pages themselves this can easily be done however on the preview page it would take some work... Go to your style manager and select to edit your templates... find the template named vbcms_content_article_page and edit it, now find: Code:
<div class="fullwidth"> *This would be your add code I removed my pertinent details and replaced with 123 and as usual the 8675309 song number lol! Code:
<script type="text/javascript"><!-- google_ad_client = "ca-pub-1234567898675309"; /* Main 2 */ google_ad_slot = "1238675309"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> See if that does what you want, you may want to relocate it if your not happy with the location. |
#5
|
|||
|
|||
This works but I want add in between the content of the article.
|
#6
|
||||
|
||||
i need it also..btw the content
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|