Getting Hit Counter to Work

G

Guest

I recently took over a website which was down for some time which has a hit
counter. The site is www.wmshp.org. How do I get this hit counter to work?
It is referenced in the code as :
<!--webbot bot="Search" S-Index="All" S-Fields S-Text="Search for:"
I-Size="20"
S-Submit="Start Search" S-Clear="Reset" S-TimestampFormat="%m/%d/%y"
TAG="BODY" b-useindexserver="0"
--></div>
<p align="center"><font color="#0000FF"><strong>Visits to our site
<!--webbot bot="HitCounter" i-image="0" I-ResetValue="0" I-Digits="0"
U-Custom --></strong></font></p>
 
S

Steve Easton

Actually the hit counter bot in the page is:

<p align="center"><font color="#0000FF"><strong>Visits to our site
<!--webbot bot="HitCounter" i-image="0" I-ResetValue="0" I-Digits="0"
U-Custom --></strong></font></p>

But it's not complete because it doesn't reference a page for which it's keeping count.

In design view remove the hit counter from the page and save the page.
Then insert a new one from Insert > Web components.

Realize that the hit counter requires FrontPage server extensions on the server.

--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 
G

Guest

I did that but am still not getting the counter to work. I wanted the
counter to start at '1000'. Here is the code now....
<!--webbot bot="Search" S-Index="All" S-Fields S-Text="Search for:"
I-Size="20"
S-Submit="Start Search" S-Clear="Reset" S-TimestampFormat="%m/%d/%y"
TAG="BODY" b-useindexserver="0"
--></div>
<p align="center"><font color="#0000FF"><strong>Visits to our site
<!--webbot bot="HitCounter" i-image="0" I-ResetValue="1000" B-Reset="TRUE"
I-Digits="0" U-Custom --></strong></font></p>

Where should it be referencing a page? Thanks.

Rayscar
 
S

Steve Easton

Here's what a hit counter bot "should" look like:

<!--webbot bot="HitCounter" i-image="5" i-digits="0" preview="&lt;strong&gt;[Hit
Counter]&lt;/strong&gt;" u-custom="images/95.gif" i-resetvalue="0" startspan --><img
src="_vti_bin/fpcount.exe/?Page=index.html|Custom=images/95.gif" alt="Hit
Counter"><!--webbot bot="HitCounter" i-checksum="52196" endspan --></p>

This from the home page of my hobby site.
http://www.95isalive.com/

To set the "count" you need to do it live on the page on the server and save the page.
Hit counter counts "Do Not" publish between web locations.

--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 
G

Guest

I'm not sure what you mean by this..."To set the "count" you need to do it
live on the page on the server and save the page.
Hit counter counts "Do Not" publish between web locations.
"

Steve Easton said:
Here's what a hit counter bot "should" look like:

<!--webbot bot="HitCounter" i-image="5" i-digits="0" preview="<strong>[Hit
Counter]</strong>" u-custom="images/95.gif" i-resetvalue="0" startspan --><img
src="_vti_bin/fpcount.exe/?Page=index.html|Custom=images/95.gif" alt="Hit
Counter"><!--webbot bot="HitCounter" i-checksum="52196" endspan --></p>

This from the home page of my hobby site.
http://www.95isalive.com/

To set the "count" you need to do it live on the page on the server and save the page.
Hit counter counts "Do Not" publish between web locations.

--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm

rayscar said:
I did that but am still not getting the counter to work. I wanted the
counter to start at '1000'. Here is the code now....
<!--webbot bot="Search" S-Index="All" S-Fields S-Text="Search for:"
I-Size="20"
S-Submit="Start Search" S-Clear="Reset" S-TimestampFormat="%m/%d/%y"
TAG="BODY" b-useindexserver="0"
--></div>
<p align="center"><font color="#0000FF"><strong>Visits to our site
<!--webbot bot="HitCounter" i-image="0" I-ResetValue="1000" B-Reset="TRUE"
I-Digits="0" U-Custom --></strong></font></p>

Where should it be referencing a page? Thanks.

Rayscar
 
G

Guest

Hi Ray, to save yourself some time, just insert a new hit counter and as you
update the website the counter will rise up. You can place a notice...
Welcome to our new website.... Other wise just keep refreshing and watch the
counter add up.
I think Steven meant is that you will only see the number of hits rise when
you're viewing the site on the internet (live).
omara

rayscar said:
I'm not sure what you mean by this..."To set the "count" you need to do it
live on the page on the server and save the page.
Hit counter counts "Do Not" publish between web locations.
"

Steve Easton said:
Here's what a hit counter bot "should" look like:

<!--webbot bot="HitCounter" i-image="5" i-digits="0" preview="<strong>[Hit
Counter]</strong>" u-custom="images/95.gif" i-resetvalue="0" startspan --><img
src="_vti_bin/fpcount.exe/?Page=index.html|Custom=images/95.gif" alt="Hit
Counter"><!--webbot bot="HitCounter" i-checksum="52196" endspan --></p>

This from the home page of my hobby site.
http://www.95isalive.com/

To set the "count" you need to do it live on the page on the server and save the page.
Hit counter counts "Do Not" publish between web locations.

--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm

rayscar said:
I did that but am still not getting the counter to work. I wanted the
counter to start at '1000'. Here is the code now....
<!--webbot bot="Search" S-Index="All" S-Fields S-Text="Search for:"
I-Size="20"
S-Submit="Start Search" S-Clear="Reset" S-TimestampFormat="%m/%d/%y"
TAG="BODY" b-useindexserver="0"
--></div>
<p align="center"><font color="#0000FF"><strong>Visits to our site
<!--webbot bot="HitCounter" i-image="0" I-ResetValue="1000" B-Reset="TRUE"
I-Digits="0" U-Custom --></strong></font></p>

Where should it be referencing a page? Thanks.

Rayscar
 
S

Steve Easton

If you want to set the number of hits that the counter displays, you must do it on the live
site.
hit's are stored in files in the _private folder, one file for each page with a counter.

The files are named pagename.htm.cnt with page name being the file name of the page with
the counter.
These files do not publish when you publish your web.
Therefore if you set a count for the counter in a page on your disk based web and then
publish, the new count setting will not be published to the server.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer

rayscar said:
I'm not sure what you mean by this..."To set the "count" you need to do it
live on the page on the server and save the page.
Hit counter counts "Do Not" publish between web locations.
"

Steve Easton said:
Here's what a hit counter bot "should" look like:

<!--webbot bot="HitCounter" i-image="5" i-digits="0" preview="<strong>[Hit
Counter]</strong>" u-custom="images/95.gif" i-resetvalue="0" startspan --><img
src="_vti_bin/fpcount.exe/?Page=index.html|Custom=images/95.gif" alt="Hit
Counter"><!--webbot bot="HitCounter" i-checksum="52196" endspan --></p>

This from the home page of my hobby site.
http://www.95isalive.com/

To set the "count" you need to do it live on the page on the server and save the page.
Hit counter counts "Do Not" publish between web locations.

--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm

rayscar said:
I did that but am still not getting the counter to work. I wanted the
counter to start at '1000'. Here is the code now....
<!--webbot bot="Search" S-Index="All" S-Fields S-Text="Search for:"
I-Size="20"
S-Submit="Start Search" S-Clear="Reset" S-TimestampFormat="%m/%d/%y"
TAG="BODY" b-useindexserver="0"
--></div>
<p align="center"><font color="#0000FF"><strong>Visits to our site
<!--webbot bot="HitCounter" i-image="0" I-ResetValue="1000" B-Reset="TRUE"
I-Digits="0" U-Custom --></strong></font></p>

Where should it be referencing a page? Thanks.

Rayscar
 
A

Andrew Murray

And if you can't open the site live through frontpage, this means the server
extensions aren't installed so the counter won't work in any case.

Steve Easton said:
If you want to set the number of hits that the counter displays, you must
do it on the live
site.
hit's are stored in files in the _private folder, one file for each page
with a counter.

The files are named pagename.htm.cnt with page name being the file name
of the page with
the counter.
These files do not publish when you publish your web.
Therefore if you set a count for the counter in a page on your disk based
web and then
publish, the new count setting will not be published to the server.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
..............................with a computer

rayscar said:
I'm not sure what you mean by this..."To set the "count" you need to do
it
live on the page on the server and save the page.
Hit counter counts "Do Not" publish between web locations.
"

Steve Easton said:
Here's what a hit counter bot "should" look like:

<!--webbot bot="HitCounter" i-image="5" i-digits="0"
preview="<strong>[Hit
Counter]</strong>" u-custom="images/95.gif" i-resetvalue="0"
startspan --><img
src="_vti_bin/fpcount.exe/?Page=index.html|Custom=images/95.gif"
alt="Hit
Counter"><!--webbot bot="HitCounter" i-checksum="52196" endspan --></p>

This from the home page of my hobby site.
http://www.95isalive.com/

To set the "count" you need to do it live on the page on the server and
save the page.
Hit counter counts "Do Not" publish between web locations.

--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm

I did that but am still not getting the counter to work. I wanted the
counter to start at '1000'. Here is the code now....
<!--webbot bot="Search" S-Index="All" S-Fields S-Text="Search for:"
I-Size="20"
S-Submit="Start Search" S-Clear="Reset" S-TimestampFormat="%m/%d/%y"
TAG="BODY" b-useindexserver="0"
--></div>
<p align="center"><font color="#0000FF"><strong>Visits to our site
<!--webbot bot="HitCounter" i-image="0" I-ResetValue="1000"
B-Reset="TRUE"
I-Digits="0" U-Custom --></strong></font></p>

Where should it be referencing a page? Thanks.

Rayscar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top