Coinbase

Author Topic: ads not visible with 1.1.4 with smfads 2.3  (Read 10312 times)

0 Members and 1 Guest are viewing this topic.

Offline brianetilley

  • Jr. Member
  • **
  • Posts: 11
    • Email
Re: ads not visible with 1.1.4 with smfads 2.3
« Reply #15 on: January 29, 2008, 12:08:46 pm »
Hi Mark,

I am having a problem with the new files. I Put them on my server, but got this error;

Template Parse Error!
There was a problem loading the /Themes/BrightForest/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

After access the file I got this error;

Parse error: syntax error, unexpected '<' in /home/ultragro/public_html/smf/Themes/BrightForest/index.template.php on line 134

Any suggestions appreciated...this is out of my comfort zone...thanks.

Offline tiger5226

  • Jr. Member
  • **
  • Posts: 32
    • Email
Re: ads not visible with 1.1.4 with smfads 2.3
« Reply #16 on: February 13, 2008, 11:26:24 pm »
Try this brian.

When I updated the template there was "  ';  " missing from the imdex.template file which means the template was not fully SMF compliant. The code in certain areas must be exact in order for things to run smoothly. so added that section of code because it needs to be there. I do not know if this will work but try it anyway. If it does not then the mod will not be fully functional. I will also post another copy that has thing rigged a little so it will work but it definately will not be SMF compliant and may hinder further mods from installing. I think I will just put the second copy up because I am almost 100% the first way will not work.

Mark

Offline brianetilley

  • Jr. Member
  • **
  • Posts: 11
    • Email
Re: ads not visible with 1.1.4 with smfads 2.3
« Reply #17 on: February 14, 2008, 12:36:06 am »
Hi Mark,

I have no idea why...but google ads are now showing on post pages only. They are on the top left...with NO content beside them You have to scroll down to see the post. They are also at the bottom of the post page, and are not relevant to the page. No matter what page is being shown they all have the same ad that is not in any way relevant to the content of the page. I will try the new index.template file in the morning and let you know what happens. Thanks for the answer...

Brian

Offline tiger5226

  • Jr. Member
  • **
  • Posts: 32
    • Email
Re: ads not visible with 1.1.4 with smfads 2.3
« Reply #18 on: February 14, 2008, 12:48:52 am »
Ok brian. I thought you were getting a template parse error?

I looked at the site after you said that and the ads are as relavant as they possibly can be. your topics do not have a lot of advertisers. Also it may just have taken a while for adsense to scan all of your pages before it could give you relavant content.

Also with the skyscraper up top. That is because of the theme that you are using. The code is meant for the default theme and your theme code does not allow for the skyscraper to move the forum over as in default like my website www.freegeeksupport.com.

As to the inpost ads it looks as if the same thing is occuring the DIV tags in the code only allows for one add to be shown at the bottom of the page because that is the only area the Ad mod sees as a place to put the ad relavant to the DIV tag placement.

Hopefully with the new "rigged" placemement of the ad code I did in the updated template file you will be able to show banner ads at the top of the forum.

Mark

Offline brianetilley

  • Jr. Member
  • **
  • Posts: 11
    • Email
Re: ads not visible with 1.1.4 with smfads 2.3
« Reply #19 on: February 14, 2008, 11:43:40 am »
Hi Mark,

I updated the index.template file and it put ads over the login box. I changed it back and tweaked the adsense settings again and now I can get ads on the post page, but they do not show on any other page. I have checked the option to show them on all other pages, but they do not appear. At least I can get some ads, but it is far from what I would like. I appreciate your efforts and want to continue trying to get this working properly. Maybe I will just have to use the default theme, but I really do not want to do that.

Brian

SMF Ads Support Forum

Re: ads not visible with 1.1.4 with smfads 2.3
« Reply #19 on: February 14, 2008, 11:43:40 am »
.

 

.