Direct code for adverts?

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.
Post Reply
User avatar
Moonshadow
Regular Poster
Posts: 158
Joined: Sat Nov 15, 2003 9:38 pm
Location: Somewhere north

Direct code for adverts?

Post by Moonshadow »

Okay, I should have seen this one coming, but I didn't.

I just redid my site, and the new design totally bypasses the autokeen system. Which, as I should have forseen, means that the ***advertisement*** tag doesn't work.

*beats head on desk*

So, what I'm interested in is the actual code that autokeen replaces that tag with, so I can go back through in a day or two here, replace the tags manually, and reupload the pages. Any help?

Thanks in advance!

User avatar
Dr Neo Lao
Cartoon Hero
Posts: 2397
Joined: Wed Oct 18, 2006 5:21 am
Location: Australia

Post by Dr Neo Lao »

The code for each comic is slightly different. The 'easiest' way to get the code for you site would be to put a html page in the workspace/webpages folder and let it pass through AutoKeen.

Once that's done, you will be looking for something like this:

Code: Select all

<div class="keen_ad" style="display:inline;">
<iframe style="display:inline" src="http://forums.comicgenesis.com/tcontent.php?out=  NAME OF COMIC " id="ks_da" name="ks_da"  allowtransparency="true" scrolling="no" frameborder="0" width="740" height="90">
  <a href="http://www.burstnet.com/ads/ad8223a-map.cgi/ns" target="_top">
<img src="http://www.burstnet.com/cgi-bin/ads/ad8223a.cgi/ns" width="468" height="60" border="0" alt="Click Here" />
</a>
</iframe>
</div>
I'm not sure if the "ad8223a-map.cgi" bit changes for different comics, but where it says NAME OF COMIC is where the ... um ... name of the comic goes.

Try putting tcontent.php?out=redzone" with the above code - that *may* work.

User avatar
Moonshadow
Regular Poster
Posts: 158
Joined: Sat Nov 15, 2003 9:38 pm
Location: Somewhere north

Post by Moonshadow »

Thank you! I'm going to get on that ASAP to get things fixed!

User avatar
Kisai
Goddess of Light
Goddess of Light
Posts: 3276
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future
Contact:

Post by Kisai »

you can also just iframe the code used, but I recommend just using the autokeen generated code as-is.

the tcontent.php?out=comicname minus the comicgenesis.com part. This is an identification bit sent to the forum server to determine if it should send G/MA ads and some internal tracking, if left blank it will serve any ad available.

Post Reply