Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Google Adsense
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 8

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 11 November 2003 :  05:38:55  Show Profile  Visit MarcelG's Homepage
Thanks! I'll give it a try as soon as I hear from Google.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 11 November 2003 :  05:41:30  Show Profile  Visit D3mon's Homepage
Be aware though that there are some limitations, both practical and by-contract, to the use of AdSense in Snitz forums. Some scripting will be needed to only show AdSense on certain pages for contractual reasons.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 11 November 2003 :  05:56:11  Show Profile  Visit MarcelG's Homepage
Yep, I saw that already... I am planning on showing adsense only on default.asp, index.asp, forum.asp, topic.asp, shortnews.asp, weblogs.asp, logfeed.asp, news.asp, portal_content.asp and file_library.asp

So, the code for displaying adsense will include something like this:

'## GOOGLE ADSENSE PAGE CHECKS AND JAVASCRIPT HERE
if Request.ServerVariables("URL") = "default.asp" or _
   Request.ServerVariables("URL") = "index.asp" or _
   Request.ServerVariables("URL") = "forum.asp" or _
   Request.ServerVariables("URL") = "portal_content.asp" or _
   Request.ServerVariables("URL") = "topic.asp" or _
   Request.ServerVariables("URL") = "news.asp" or _
   Request.ServerVariables("URL") = "logfeed.asp" or _
   Request.ServerVariables("URL") = "weblogs.asp" or _
   Request.ServerVariables("URL") = "shortnews.asp" or _
   Request.ServerVariables("URL") = file_library.asp" then
   GoogleAdOK=TRUE
else
  GoogleAdOK=FALSE
end if 
if GoogleAdOK=TRUE then 
  %>
<!--#INCLUDE VIRTUAL="include_adsense_code.asp" -->
  <%
else
  %>
<!--#INCLUDE VIRTUAL="include_other_code.asp" -->
  <%		
end if


I'll try to integrate it in my sidebar mod (as I am going to use the 'skyscraper' ad)

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 14 November 2003 :  21:59:05  Show Profile  Visit Ryan's Homepage
I used mama2000's code (on page 2) but it didnt seem to work
quote:
'## GOOGLE ADSENSE PAGE CHECKS AND JAVASCRIPT HERE
if Request.ServerVariables("URL") = "/forum/default.asp" or _
Request.ServerVariables("URL") = "/forum/topic.asp" or _
Request.ServerVariables("URL") = "/forum/forum.asp" then
GoogleAdOK=TRUE
else
GoogleAdOK=FALSE
end if
if GoogleAdOK=TRUE then
%>
<!--#INCLUDE VIRTUAL="include_adsense_code.asp" -->
<%
else
%>
<!--#INCLUDE VIRTUAL="include_other_code.asp" -->
<%
end if


I modified it to this:
quote:
'## GOOGLE ADSENSE PAGE CHECKS AND JAVASCRIPT HERE
if Request.ServerVariables("URL") = "default.asp" or _
Request.ServerVariables("URL") = "topic.asp" or _
Request.ServerVariables("URL") = "forum.asp" then
GoogleAdOK=TRUE
else
GoogleAdOK=FALSE
end if
if GoogleAdOK=TRUE then
%>
<!--#INCLUDE VIRTUAL="inc_adsense.asp" -->
<%
end if


When I put that and my include file in my ftp and open my forum in the browser it displays nothing. What is wrong? A possibility I thought of was that since my forum is actually a subdomain (http://forum.mysite.com) then it might not work with above code. If so how could I change it? What am I doing wrong?

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 14 November 2003 :  22:23:42  Show Profile
Ryan, when I look at your site I get forum URLs like this :

http://www.ryans-site.com/snitz/forum.asp?FORUM_ID=2

so you'll need to use the original code and alter the directory name.
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 14 November 2003 :  22:55:50  Show Profile  Visit Ryan's Homepage
You are on the wrong site. http://forums.thepoultrylink.com

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 14 November 2003 :  23:22:10  Show Profile  Visit dayve's Homepage
^^^ Have you applied through Google to use AdSense?

Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 14 November 2003 :  23:29:42  Show Profile  Visit Ryan's Homepage
Yes I have.
I applied once got denied and a couple months later tried again and got accepted.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 17 November 2003 :  11:18:53  Show Profile  Visit Ryan's Homepage
Does anyone have any solution to help me?

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 17 November 2003 :  11:40:47  Show Profile  Visit dayve's Homepage
does your google adsense work without using this mod? btw ryan, do you have a tax id? google is now requiring it before they will pay you.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 17 November 2003 :  11:42:02  Show Profile  Visit dayve's Homepage
wait, let me rephrase that because your SSN can be your tax id. I'm not sure you may be of legal age to collect $$ on this because it is taxable income.

Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 17 November 2003 :  13:36:05  Show Profile  Visit Ryan's Homepage
Yes Google works on my other pages.
I have already taken care of your other question.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

seahorse
Senior Member

USA
1075 Posts

Posted - 18 November 2003 :  02:11:53  Show Profile  Visit seahorse's Homepage
Now this is wierd. After getting rejected, I reapplied and got my application rejected a second time.

Now, I've suddenly been informed that Google is expanding their covered content and that my application has been re-reviewed and accepted. I don't know what to make of it.


Ken
===============
Worldwide Partner Group
Microsoft
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 18 November 2003 :  04:04:42  Show Profile  Visit Gremlin's Homepage
Lol, don't try and understand it, just accept it and be happy :)

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

seahorse
Senior Member

USA
1075 Posts

Posted - 18 November 2003 :  09:01:07  Show Profile  Visit seahorse's Homepage
Well, whatever their doing, they at least seem to be fairly accurate on the ads. I've got ads promoting the RAF, jet fighter rides, and aviation flight sims.

Ken
===============
Worldwide Partner Group
Microsoft
Go to Top of Page
Page: of 8 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.58 seconds. Powered By: Snitz Forums 2000 Version 3.4.07