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 a "Counter".  (Read 2726 times)

0 Members and 1 Guest are viewing this topic.

Scias

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 86
Adding a "Counter".
« on: January 08, 2008, 10:58:20 am »

hi all, i been using a certain "counter" for checking daily amount of ppl, hits, etc, using a little tag added to a page, but i been unsure how, and IF i can even add such a tag to the gallery? preferably near the bottom, by the "powered by" tags and such, as then it is out of the way, if anyone would be so nice to direct me to how to properly add this snippet of code, without breaking the gallery, be much appreciated.

<!---Counter Code do not modify--->
<script language="javascript">
re=escape(document.referrer);re=(re=="undefined"||re=="")?"bookmark":re;
args="&re="+re;
document.write("<a HREF=http://www.counter.com/ target=_blank>");
document.write("<img BORDER=0 SRC=http://www.counter.com/counter.php?id=13190106&re="+args+"></a>");
</script>
<noscript>
<A HREF=http://www.counter.com/ target="_blank">
<IMG BORDER=0 SRC=http://www.counter.com/counter.php?id=13190106></A>
</noscript>
<!---Counter Code do not modify--->

please note, i changed the "website name" to not mis-direct, or such user's. :)
Logged

Nibbler

  • Guest
Re: Adding a "Counter".
« Reply #1 on: January 08, 2008, 11:02:28 am »

Add it to your theme's template.html.
Logged

Scias

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 86
Re: Adding a "Counter".
« Reply #2 on: January 08, 2008, 12:25:42 pm »

so it wont "mess" nothing in the code up? if so, great, just better to be cautious, then cause a bug and come crying back here hehe :P
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.