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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.