Page 1 of 3

Having Trouble With Ads

Posted: Thu Aug 24, 2006 8:46 am
by Roswellnewton
I just added a few pages to my site. I basically cut and pasted the dailytemplate file's coding and made an "about", "gallery", and "links" page. The ads are not appearing on the "about" and "gallery" pages, but they're working on the "links" page. To my knowledge, they all have the same coding. Could someone take a look at the source codes and see if I'm screwing something up?

http://roswellnewton.comicgenesis.com

Thanks. I'm actually on my way to work right now, so I won't be around for the rest of the day. But I appreciate any suggestions or tips anyone can provide.

Posted: Thu Aug 24, 2006 9:11 am
by Rkolter
Something goofy with the advertisement checker.

<!-- Duplicate or miss-placed ad removed -->

is showing up.

Could you post your basic dailytemplate.html file?

Posted: Thu Aug 24, 2006 9:25 am
by Oualawouzou
Why the dailytemplate.html ? I checked a few pages of his archives, and they look good.

From a post by Kisai:
I will admit that the current autokeen is not too smart. Without simulation of a web browser (which would slow it down worse) it really has no way to check.

CG's rules:
ALL advertisement code MUST be above the fold of the page.
Advertisements MUST NOT be iframed further
Advertisements MUST NOT be stacked with other advertisements
Advertisements MUST NOT be framed out (Designed in a way that the Advertisement only appears once while navigating the comic.)
Advertisements MUST NOT appear on non-content pages (error pages navigation frames and "link lists")
Advertisements MUST appear BEFORE the comic.

CG's Autokeen script rules:
Autokeen parses each tag individually
Autokeen sets "ads viewed = 0"
Each time ad tag is hit, ads viewed +1
If todays comics tags are hit before the advertisement tag, then run the advertisement tag
If ads viewed are greater than zero, do not place ad, put comment code about duplicate ad removed.

You -might- have pointed out a bug in the code however, the "include" tag was not considered in this update. I'll double check the include tag's code, because there is a "reset ads viewed to zero" after every page. Logically if the page's include tag was parsed BEFORE the todays comic, it should have incremented the ad counter, and thus we wouldn't be having this discussion. I'll be back in like an hour and I'll pick apart the include tag to see why this happened.
Not sure if it'd help you or not...

Do you use the ***include*** tag somewhere on your pages for which the ads do not work? Also, please post your pages' code here (with the ***tags***, before they go through the updater). Use the [ code] [ /code] BBformat-thingy.

Posted: Thu Aug 24, 2006 11:06 am
by Rkolter
Oualawouzou wrote:Why the dailytemplate.html ?
Because...
roswellnewton wrote:I basically cut and pasted the dailytemplate file's coding and made an "about", "gallery", and "links" page.
... he used it to create the pages that are giving him problems.

Posted: Thu Aug 24, 2006 6:49 pm
by Roswellnewton
Code for the "gallery" page.

Code: Select all

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en"
xmlns="http://www.w3.org/1999/xhtml">
<head><title>***comic_name*** - ***todays_date***</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<div class="keen_ad" style="display:inline;">
<center>***advertisement***</center>
</div>
<div class="main">

<body bgcolor="ffffff" text="000000" link="0000ff" vlink="800080" alink="ff0000">
<br>
<center>
<img src="/images/titlebannera.gif"></center>
<center> 

<br><br>
<font face="verdana">
<table border>
<table width="50%" align="center" bgcolor="#ffff66">
     <tr>

      <td colspan=2> <center><b> 
     </tr>

<p>

For now, there is no gallery.  I plan to eventually have some special pages
of artwork up here, along with fan art as it begins to come in.  Keep checking
back for updates.</p></table>
 <br><br>
<center>
<a href="http://roswellnewton.comicgenesis.com"><img src="http://roswellnewton.comicgenesis.com/images/back.gif" border="0" ></a>
<br>
<br>
<a href="http://www.thewebcomiclist.com/"><img src="http://www.thewebcomiclist.com/myranking.php?id=8086" alt="The Webcomic List" border="0" style="border:1px solid #000000"></a>
<br><br>
***comic_name*** is hosted on <a href="http://www.comicgenesis.com">ComicGenesis</a>, a free webhosting and site automation service for webcomics.

</center>
</div>
</body>
</html>
Code for "about" page:

Code: Select all

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en"
xmlns="http://www.w3.org/1999/xhtml">
<head><title>***comic_name*** - ***todays_date***</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<div class="keen_ad" style="display:inline;">
<center>***advertisement***</center>
</div>
<div class="main">

<body bgcolor="ffffff" text="000000" link="0000ff" vlink="800080" alink="ff0000">
<br>
<center>
<img src="/images/titlebannera.gif"></center>
<center> 

<center><br><br>
<font face="verdana">
<center><table border>
<table width="50%" align="center" bgcolor="#ffff66">
     <tr>

      <td colspan=2> <center><b> 
     </tr>

<table width="50%" align="center" bgcolor="#ffffcc">
     <tr>

          <td colspan=2>Here's Some brief research for your pleasure:</b><br><a href="http://en.wikipedia.org/wiki/Roswell%2C_New_Mexico#1947_Roswell_UFO_incident">Roswell</a> <br><a href="http://en.wikipedia.org/wiki/Isaac_Newton#Newton.27s_apple">Newton</a></center><br>
Welcome to the home of Roswell Newton!     
   For a general idea of what this whole thing is about, think <a href="http://en.wikipedia.org/wiki/Peter_Pan">Peter Pan</a>, <a href="http://en.wikipedia.org/wiki/Where_The_Wild_Things_Are"> Where The Wild Things Are</a>, and  <a href="http://en.wikipedia.org/wiki/Bloom_County">Bloom County</a> all rolled into one funky sauce-drenched burrito.  

     </tr>

<table width="50%" align="center" bgcolor="#ffffcc">
     <tr>

      <td colspan=2>  You can call me Luciano.  I'm a writer, artist, and musician... in other words, I aim to professionally fool around.  You can check out my other work at <a href="http://www.theblackwaterproject.com">The Blackwater Project.</a> 
Or you can visit <a href="http://www.roswellnewtonrocks.blogspot.com"> MY BLOG.</a>  Or, drop me an e-mail at <a href="mailto:bwpgraphics@gmail.com">bwpgraphics@gmail.com </a>

     </tr>

</table></center></font>

<a href="http://roswellnewton.comicgenesis.com"><img src="http://roswellnewton.comicgenesis.com/images/back.gif" border="0" ></a>
<br>
<br>
<a href="http://www.thewebcomiclist.com/"><img src="http://www.thewebcomiclist.com/myranking.php?id=8086" alt="The Webcomic List" border="0" style="border:1px solid #000000"></a>
<br>
***comic_name*** is hosted on <a href="http://www.comicgenesis.com">ComicGenesis</a>, a free webhosting and site automation service for webcomics.

</center>
</div>
</body>
</html>
Thanks for the help.

So....

Posted: Fri Aug 25, 2006 8:32 pm
by Roswellnewton
Technically, if it's against the rules to have ads on NON-content pages, shouldn't I be alright as long as I take the ads off the LINKS page? I guess I'd need to have them on the GALLERY page if I finally put anything there.

Posted: Fri Aug 25, 2006 8:59 pm
by Mercury Hat
Non-content applies only to the error pages, 403, 404, and 500, tiny iframes for something like navigation, or "link lists" as Kisai said, which is probably because just straight lists don't have any images or anything which would drive up the KB size of the page.

Okay

Posted: Fri Aug 25, 2006 10:12 pm
by Roswellnewton
Thanks for the info, Merc. So, could anyone help me figure out why my ads aren't showing up? I don't want to get kicked off of the site or anything because I forgot to insert a semicolon here or a period there. :)

Thanks for the help.

Posted: Sun Sep 03, 2006 8:03 am
by Ataraxia
I've been struck by the same problem. I added an extra page with a cartoon asking for people to vote for my comic; the ad doesn't appear at the top of the page and I get the "<!-- Duplicate or miss-placed ad removed -->" error in the output page. Link:

http://ataraxia.comicgenesis.com/whyvote.html

Still Having Problems...

Posted: Sun Sep 03, 2006 11:16 am
by Roswellnewton
Yeah, I'm still having problems with my pages, too. Can't seem to figure out what's wrong.

Posted: Tue Sep 05, 2006 3:46 am
by Yubi Shines
Huh. Ads aren't showing up on my About page, either, but it works in the Archive page.

Posted: Tue Sep 05, 2006 5:08 am
by Black Sparrow
Weird... that's happened on almost all of my secondary pages. We may really have a problem here.

Posted: Tue Sep 05, 2006 8:20 am
by Mercury Hat
I think, after thinking about it, that non-content may be stuff that doesn't have a comic page on it. I guess the idea being that more people are going to be looking at your comic pages than anything else.

I don't know how Kisai coded it. It may look for either ***todays_comics*** tag and if it can't find that, pages which are over X kb in size. I have the ***advertisement*** tag on my archive page, but since it's quite small, it doesn't show up for me.

Posted: Tue Sep 05, 2006 9:24 am
by Kisai
I'm going to say it's a bug.

Posted: Tue Sep 05, 2006 10:55 am
by Penumbra
Our ads on our secondary pages aren't appearing either.

Posted: Wed Sep 06, 2006 4:40 pm
by Yubi Shines
Could it be that any page that doesn't have some kind of *** tag doodad on it won't have a visible ad?

Posted: Wed Sep 06, 2006 6:11 pm
by Jpac
no because all my pages have ***comic_name*** on it and the advertisement still doesn't show up.

I think they just removed ads from every page that isn't indextemplate or dailytemplate

Posted: Thu Sep 07, 2006 9:43 am
by Netpoet
I'm having this issue as well, on pages that have not changed in a while. Before, they showed everything fine... now, they show the
"<!-- Duplicate or miss-placed ad removed -->" tag instead.

So something's definitely screwy. :)

>Net

Posted: Mon Sep 11, 2006 8:23 am
by Miru
Same here...
Testing out a new layout, but to not screw up anything, I saved the soon-to-be indexpage under another name... it does contain the 'today's comic' tag, but shows the <!-- Duplicate or miss-placed ad removed --> when I test it. I just hope that once the page is renamed indextemplate, this will fix itsself?

*wanders off again, feeling sliiiiightly less stupid*

Posted: Wed Sep 13, 2006 12:50 pm
by Kirb
Good to see other people having the same problem.

I was goin' nuts trying to figure out what I had coded wrong.