Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Google adsense problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Google adsense problem

 Post Reply Post Reply
Author
dimoss View Drop Down
Groupie
Groupie


Joined: 18 March 2003
Location: Greece
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote dimoss Quote  Post ReplyReply Direct Link To This Post Topic: Google adsense problem
    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


Edited by dimoss - 15 March 2011 at 2:08pm
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2011 at 2:52pm
Please contact Support about this Denis - SUPPORT LINK
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post 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>"

Back to Top
dimoss View Drop Down
Groupie
Groupie


Joined: 18 March 2003
Location: Greece
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote dimoss Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post 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 - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.