Adding a "Counter". Adding a "Counter".
 

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 a "Counter".

Started by Scias, January 08, 2008, 10:58:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Scias

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/ 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. :)

Nibbler

Add it to your theme's template.html.

Scias

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