Adding code to the footer - Unsupported tags? Adding code to the footer - Unsupported tags?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Adding code to the footer - Unsupported tags?

Started by rjbearcan, September 22, 2005, 03:57:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rjbearcan

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  -->

Joachim Müller

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.


Joachim Müller

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.