forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: rjbearcan on September 22, 2005, 03:57:32 am

Title: Adding code to the footer - Unsupported tags?
Post by: rjbearcan on September 22, 2005, 03:57:32 am
I am trying to add the code to my AddFreeStats account to the footer and I am wondering if there is an unsupported tag. If someone could tell me if there is a way to make it work. If I take out the <noscript></noscript> tags, the image shows up but the url isn't correct. I guess even after using PHP for the last couple of years, there is still a lot to learn.

<!-- ADDFREESTATS.COM AUTOCODE V4.0 -->
  <script type="text/javascript">
    <!--
    var AFS_Account="";
    var AFS_Tracker="auto";
    var AFS_Server="www4";
    var AFS_Page="DetectName";
    var AFS_Url="DetectUrl";
    // -->
  </script>
  <script type="text/javascript" src="http://www4.addfreestats.com/cgi-bin/afstrack.cgi?usr="></script>
  <noscript><a href="http://www.addfreestats.com" target="_blank"><img src="http://www4.addfreestats.com/cgi-bin/connect.cgi?usr=Pauto" border=0 title="AddFreeStats.com Free Web Stats!"></a></noscript>
<!-- ENDADDFREESTATS.COM AUTOCODE V4.0  -->
Title: Re: Adding code to the footer - Unsupported tags?
Post by: Joachim Müller on September 22, 2005, 08:34:34 am
post a link to your site. This usually happens if the JavaScript chunks from Coppermine and your custom script "collide", i.e. if there are identical function or var names, or if you are using the same event handlers.
Title: Re: Adding code to the footer - Unsupported tags?
Post by: rjbearcan on September 22, 2005, 07:54:55 pm
Here is the link to my page:

http://www.futuretennisstars.com/galleries/index.php
Title: Re: Adding code to the footer - Unsupported tags?
Post by: Joachim Müller on September 23, 2005, 07:15:38 am
oh, there are tons of JavaScript bits that you've added to the site. I'm sorry, but that's more code to go through than I'm willing. Do as suggested and search for identical function or var names in all of your JavaScripts. You mihght want to look for another stats tracker.