Having Trouble With Ads

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.

Having Trouble With Ads

Postby Roswellnewton on Thu Aug 24, 2006 8:46 am

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.
<a href="http://roswellnewton.comicgenesis.com">Image</a>
"Artists are here to disturb the peace."
- James Baldwin
User avatar
Roswellnewton
Newbie
 
Posts: 15
Joined: Mon Jun 19, 2006 11:13 pm
Location: OK

Postby Rkolter on Thu Aug 24, 2006 9:11 am

Something goofy with the advertisement checker.

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

is showing up.

Could you post your basic dailytemplate.html file?
Image Image ImageImage
Crossfire: "Thank you! That explains it very nicely, and in a language that someone other than a physicist can understand..."

Denial is not falsification. You can't avoid a fact just because you don't like it.
"Data" is not the plural of "anecdote"
User avatar
Rkolter
Destroyer of Words (Moderator)
Destroyer of Words (Moderator)
 
Posts: 16405
Joined: Tue Jun 24, 2003 4:34 am
Location: It's equally probable that I'm everywhere.

Postby Oualawouzou on Thu Aug 24, 2006 9:25 am

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.
[url=http://agaric.comicgenesis.com]Image
Le champignon nouveau est arrivé.[/url]
User avatar
Oualawouzou
Cartoon Cop (Moderator)
Cartoon Cop (Moderator)
 
Posts: 1548
Joined: Fri Jan 10, 2003 7:47 am

Postby Rkolter on Thu Aug 24, 2006 11:06 am

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.
Image Image ImageImage
Crossfire: "Thank you! That explains it very nicely, and in a language that someone other than a physicist can understand..."

Denial is not falsification. You can't avoid a fact just because you don't like it.
"Data" is not the plural of "anecdote"
User avatar
Rkolter
Destroyer of Words (Moderator)
Destroyer of Words (Moderator)
 
Posts: 16405
Joined: Tue Jun 24, 2003 4:34 am
Location: It's equally probable that I'm everywhere.

Postby Roswellnewton on Thu Aug 24, 2006 6:49 pm

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.
<a href="http://roswellnewton.comicgenesis.com">Image</a>
"Artists are here to disturb the peace."
- James Baldwin
User avatar
Roswellnewton
Newbie
 
Posts: 15
Joined: Mon Jun 19, 2006 11:13 pm
Location: OK

So....

Postby Roswellnewton on Fri Aug 25, 2006 8:32 pm

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.
<a href="http://roswellnewton.comicgenesis.com">Image</a>
"Artists are here to disturb the peace."
- James Baldwin
User avatar
Roswellnewton
Newbie
 
Posts: 15
Joined: Mon Jun 19, 2006 11:13 pm
Location: OK

Postby Mercury Hat on Fri Aug 25, 2006 8:59 pm

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.
ImageImage
<Legostar> merc is all knowing, all seeing, and not caring
User avatar
Mercury Hat
Iron Lady (ForumAdmin)
Iron Lady (ForumAdmin)
 
Posts: 5608
Joined: Sat Jan 24, 2004 1:57 pm
Location: Hello city.

Okay

Postby Roswellnewton on Fri Aug 25, 2006 10:12 pm

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.
<a href="http://roswellnewton.comicgenesis.com">Image</a>
"Artists are here to disturb the peace."
- James Baldwin
User avatar
Roswellnewton
Newbie
 
Posts: 15
Joined: Mon Jun 19, 2006 11:13 pm
Location: OK

Postby Ataraxia on Sun Sep 03, 2006 8:03 am

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
Image
GearHead: A roguelike CRPG with big stompy robots
User avatar
Ataraxia
Regular Poster
 
Posts: 520
Joined: Thu Feb 09, 2006 3:37 am
Location: South Korea

Still Having Problems...

Postby Roswellnewton on Sun Sep 03, 2006 11:16 am

Yeah, I'm still having problems with my pages, too. Can't seem to figure out what's wrong.
<a href="http://roswellnewton.comicgenesis.com">Image</a>
"Artists are here to disturb the peace."
- James Baldwin
User avatar
Roswellnewton
Newbie
 
Posts: 15
Joined: Mon Jun 19, 2006 11:13 pm
Location: OK

Postby Yubi Shines on Tue Sep 05, 2006 3:46 am

Huh. Ads aren't showing up on my About page, either, but it works in the Archive page.
Vi Veri Veniversum Vivus Vici
"By the power of truth, I, while living, have conquered the universe."
User avatar
Yubi Shines
Regular Poster
 
Posts: 61
Joined: Sat Sep 02, 2006 8:48 am

Postby Black Sparrow on Tue Sep 05, 2006 5:08 am

Weird... that's happened on almost all of my secondary pages. We may really have a problem here.
This is going in my notebook titled "Things I Didn't Know about Surface Dwellers."
ImageImageImageImageImage
ImageImage
User avatar
Black Sparrow
Cartoon Anti-Hero
 
Posts: 6973
Joined: Fri Jul 22, 2005 9:04 am
Location: Violating your restraining order

Postby Mercury Hat on Tue Sep 05, 2006 8:20 am

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.
ImageImage
<Legostar> merc is all knowing, all seeing, and not caring
User avatar
Mercury Hat
Iron Lady (ForumAdmin)
Iron Lady (ForumAdmin)
 
Posts: 5608
Joined: Sat Jan 24, 2004 1:57 pm
Location: Hello city.

Postby Kisai on Tue Sep 05, 2006 9:24 am

I'm going to say it's a bug.
User avatar
Kisai
Goddess of Light
Goddess of Light
 
Posts: 3268
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future

Postby Penumbra on Tue Sep 05, 2006 10:55 am

Our ads on our secondary pages aren't appearing either.
User avatar
Penumbra
Newbie
 
Posts: 22
Joined: Tue Sep 13, 2005 1:49 am
Location: UK

Postby Yubi Shines on Wed Sep 06, 2006 4:40 pm

Could it be that any page that doesn't have some kind of *** tag doodad on it won't have a visible ad?
Vi Veri Veniversum Vivus Vici
"By the power of truth, I, while living, have conquered the universe."
User avatar
Yubi Shines
Regular Poster
 
Posts: 61
Joined: Sat Sep 02, 2006 8:48 am

Postby Jpac on Wed Sep 06, 2006 6:11 pm

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
Image
GooseBump City - A comic about life... the life of toys anyway. (We still aren't doing anything new)
Shapes, the Unanimated Series - It's seriously just a square, a triangle, and a circle (It's arrived, but not ready to be shown)
Halloween Cameo Caper 2009 . . . Sign up.
Currently reading: Atavism - Cope wins 'cause he replied first (I can't believe it concluded!)
Brothers (and Sisters) in Joining:
Hydriatus | evelynp | Xaybiance The Weird | poporetto | ]Blaze Series | Derek Dragomir | piggylove1940 | Synaptic-misfires
(I'm only allowed five URL's, so I'll just rotate)
User avatar
Jpac
Regular Poster
 
Posts: 175
Joined: Tue Jul 25, 2006 9:29 pm
Location: Oh, goodness. I'm here?

Postby Netpoet on Thu Sep 07, 2006 9:43 am

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
User avatar
Netpoet
Cartoon Hero
 
Posts: 1354
Joined: Thu Feb 24, 2005 9:19 am
Location: Hiding from my employers in the interwebs!

Postby Miru on Mon Sep 11, 2006 8:23 am

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*
User avatar
Miru
Regular Poster
 
Posts: 27
Joined: Sun Mar 06, 2005 1:21 pm
Location: good question

Postby Kirb on Wed Sep 13, 2006 12:50 pm

Good to see other people having the same problem.

I was goin' nuts trying to figure out what I had coded wrong.
ImageImage
Image Best Compliment: MrBob: "Kirb may suck, but at least he isn't annoying."
Image
User avatar
Kirb
A BUSINESSSS MAAAAAAAAANNNNNN
 
Posts: 1827
Joined: Sun Jan 09, 2005 12:07 am
Location: I'll wrestle you for him.

Next

 

Return to Help Center



Who is online

Users browsing this forum: YandexBot and 1 guest

cron