Print Page | Close Window

Google adsense problem

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=29185
Printed Date: 01 April 2026 at 12:39pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Google adsense problem
Posted By: dimoss
Subject: Google adsense problem
Date Posted: 15 March 2011 at 11:51am
Hi,

I had a problem with the sessions on 9.69 so I updated on 9.70 and solved them.
However although I have purchased a licence key and the adsense was running ok on 9.69, it doesn't work on 9.70. Confused

I saw that the configuration file is ok and I have made all the appropriate changes in the control panel. However there are no header ads or between post ads!

I also noticed that the google_adsense.inc file was removed from 9.70. How can we add adsense now?

Please help.

Thanks,

Denis



Replies:
Posted By: 123Simples
Date Posted: 15 March 2011 at 2:52pm
Please contact Support about this Denis - http://www.webwiz.net/contact/contact-support.htm" rel="nofollow - SUPPORT LINK

-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design


Posted By: 123Simples
Date Posted: 15 March 2011 at 2:57pm
Just to add did you actually edit this file? forum/includes/ads_inc.asp

It appears that you would need to enter any coding in there:
'If you have purchased a license key from Web Wiz then change the variable below to True and eneter your ad code below
blnAdEnabled = False


'Enter your ad code below for ads shown in the forum header
strForumHeaderAd = "<script type=""text/javascript"" src=""http://syndication.webwiz.net/pagead/?L=wffh""></script>"

'Enter your ad code below for ads shown within posts
strForumPostAd = "<script type=""text/javascript"" src=""http://syndication.webwiz.net/pagead/?L=wffp1""></script>"



-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design


Posted By: dimoss
Date Posted: 15 March 2011 at 3:29pm
Hi,

I saw the file you pointed out.
However I don't know how to enter the Google Adsense code.

After I got it from my Adsense account, I put it but it turned to an unspecified error.

Any help appreciated.

Thanks.


Posted By: Scotty32
Date Posted: 16 March 2011 at 10:33am

You can not simply copy and paste the Google AdSense code straight into that file.

You need to make sure it is all on one line, is surrounded by the quotes ( " ).

And any quotes in googles code need to be turned into double quotes (ie "" ) as you can see in TWS's post.

If you are having problems, feel free to either post the code in here or send it to me on PM.



-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net