Advanced search  

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

Pages: [1]   Go Down

Author Topic: Adding code to the footer - Unsupported tags?  (Read 3279 times)

0 Members and 1 Guest are viewing this topic.

rjbearcan

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Adding code to the footer - Unsupported tags?
« 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  -->
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding code to the footer - Unsupported tags?
« Reply #1 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.
Logged

rjbearcan

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Adding code to the footer - Unsupported tags?
« Reply #2 on: September 22, 2005, 07:54:55 pm »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding code to the footer - Unsupported tags?
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.035 seconds with 20 queries.