SMF Ads Support Forum

Support => General Support => Topic started by: greendaze13 on January 31, 2008, 03:22:25 pm

Title: Ads Wont Show on any theme
Post by: greendaze13 on January 31, 2008, 03:22:25 pm
Hi, I have installed the mod succesfully.

But ads will not display anywhere.  I am using google adsense and the script I have copied is correct because I have tested it out on my web pages and they work just fine.

I am using the SMFox theme but the ads wont display on the default theme either.

I have checked the theme support and there is nothing there in regards to this theme and this problem.

I also havent posted this there because it seems support is so minimal and this one gets the most attention.

Getting these ads up is huge because I get more traffic to my forum than the website itself
Title: Re: Ads Wont Show on any theme
Post by: assaado on February 17, 2008, 07:31:47 pm
I faced the same problem.
The solution is to uninstall SFM Ads and install google code manually. I managed to do that within minutes (for the whole forum)
Title: Re: Ads Wont Show on any theme
Post by: Monolithic on February 26, 2008, 05:35:48 pm
Care to elaborate on where I put the code manually? I'm new to this whole thing and I came here with the same problem as the original poster.
Title: Re: Ads Wont Show on any theme
Post by: assaado on February 26, 2008, 05:44:58 pm
yeah sure thing

in your forum directory, there is a Theme folder, inside the folder there is a folder for the current theme you are using. Lets the suppose that you are using the *Outline* theme, your directory will then be
Themes -> Outline
in the Outline folder look for index.template.php file, open the file with your favorite text editor and search for

<div id="bodyarea">';

paste your google code before the bodyarea div tag

and then look for

<div id="footer">

paste your google code before the footer div tag

save your file and upload it