Technical Support: Advanced Counters

<BACK TO MAIN TECHNICAL MENU>

For those who are a little more adventurous here are the different parameters which can be used with the Web Counter program.

 

Advance counter parameters

Usage:
counter.exe?-f<fg clr>+-b<bg clr>+-t<t idx>+-s<style>+-n+-w<#>+-h+-c<#>+<item>

-f<fg clr> colour to render foreground in.
-b<bg clr> colour to render background in.
-t<t idx> index to colour which should be transparent.
-s<style> name of counter style (eg -s57chevy), other styles detailed in the Counter Style Page.
-n no increment, just build image as per log file.
-w<#> width of counter in digits (eg -w6).
-h hidden, builds a transparent 1x1 pixel image.
-c<#> specify the number which you want to build  (eg -c10000), ignoring -<item> and log file.
-<item> unique identifier for counting usually your vs number as explained in the Counter Overview.

NOTE: -c<#> and -<item> are exclusive.
Each parameter (eg -w10 or -h) is joined with a +, eg -sbbldotg+-w10+vs10005.

 

Examples of Some Parameters in Use
Counter Parameter Example counter.exe?-s57chevy+vs10005
Counter Parameter Example counter.exe?-sbbldotg+vs10005
Counter Parameter Example counter.exe?-s57chevy+-w7+vs10005
Counter Parameter Example counter.exe?-s57chevy+-h+vs10005
Counter Parameter Example counter.exe?-s57chevy+-c10000+vs10005

for those of you who actually viewed the source of the first three counters, you would have noted the use of the -n parameter, allowing the first three counters to display without writing to the log file (displaying the same value).

 

V E R Y   I M P O R T A N T

Each parameter joined by +
Each parameter (eg, -w10 or -h) is joined with a +, eg -sbbldotg+-h+vs10005.

Change the vs10005

You must change the
vs10005 to your own vs number, if you want the counter to accurately and exclusively reflect the hits of your web site page(s).

Close all HTML tags

If you are editing the raw HTML code directly, ensure you close all HTML tags.  Failure to do so could corrupt the counter, ie <IMG SRC= http://fearless.powerup.com.au/shared_scripts/counter.exe?-s57chevy+vs10005>
don't forget the
> and if you used " to encase the SRC="path", make sure you close the path with the ".

 

<BACK TO MAIN TECHNICAL MENU>