Need help with Hit Counter

  • Thread starter Thread starter sha
  • Start date Start date
S

sha

Hi.

I'm using Frontpage 2000. I followed the directions to add the hit counter.
The website is published on a server with Frontpage extensions activated.
But when I go to the website, I still see the typed words "hit counter" in a
box, as if I'm viewing it from Frontpage instead of the internet.

Any suggestions would be greatly appreciated.

Thanks.
sha.
 
I've always wondered just what the Hit Counter webbot does and whether one
can replace it with a custom DB.

I found this code in my index.html:
<td align="center">Hit Counter
<!--webbot bot="HitCounter" u-custom i-image="4"
i-resetvalue="0" PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;"
i-digits="0" -->
</td>

I can't recall whether I placed the hit counter inside a table cell or not

What does it do?
What program does it call?
Is there other code behind the scenes that FP sets up ?

I have the idea that it uses
_vti_bin/fpcount.exe/
and
_private/index.html.cnt

But where is _vti_bin ?
On the server, I guess, but it doesn't copy down when I reverse publish.

At least, I am sure that it uses _private/index.html.cnt.
This currently reads:
FPCountFile 00000000023
but if I copy it down, amend the number to 00000000000
and copy it back, the counter will reset

I would be interested in:
1. Details of how the hit counter works
2. Info on how to replace it with a custom counter
 
If you look at the image properties, you see this:
http://members.cox.net/_vti_bin/fpcount.exe/C:/Documents and Settings/Sha/My%
which appears part of the link is pointing to your hard drive on your local
pc.


--
===
Tom Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===
| here is the link:
| http://members.cox.net/christredeemeracademy
|
| thanks.
| sha.
|
|
|
| | > Hi.
| >
| > I'm using Frontpage 2000. I followed the directions to add the hit
| > counter. The website is published on a server with Frontpage extensions
| > activated. But when I go to the website, I still see the typed words
"hit
| > counter" in a box, as if I'm viewing it from Frontpage instead of the
| > internet.
| >
| > Any suggestions would be greatly appreciated.
| >
| > Thanks.
| > sha.
| >
|
|
 
Tom said:
If you look at the image properties, you see this:
http://members.cox.net/_vti_bin/fpcount.exe/C:/Documents and Settings/Sha/My%
which appears part of the link is pointing to your hard drive on your
local pc.

I found exactly the same when I reverse published "index.html "to my hard
disk

Your code in the server reads:
<p align="center">
<!--webbot bot="HitCounter" u-custom
i-digits="5" i-image="2" PREVIEW="&lt;strong&gt;[Hit
Counter]&lt;/strong&gt;"
i-resetvalue="0" startspan -->
<img
src="../_vti_bin/fpcount.exe/C:/Documents%20and%20Settings/Sha/My%20Documents/My%20Webs/?Page=cra2/index.htm|Image=2|Digits=5"
alt="Hit Counter">
<!--webbot bot="HitCounter" endspan i-checksum="8950" -->
</p>

My disk copy reads (slightly different because I placed this in a table
cell):
<td align="center">Hit Counter
<!--webbot bot="HitCounter" u-custom i-image="4"
i-resetvalue="0" PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;"
i-digits="0" startspan -->
<img
src="_vti_bin/fpcount.exe/C:/Documents%20and%20Settings/Trevor/My%20Documents/My%20Webs/mvpweb/?Page=index.html|Image=4"
alt="Hit Counter">
<!--webbot bot="HitCounter" i-checksum="17034" endspan -->
</td>

It appears that you have managed to copy the hard disk file back to the
server

I think what you need (on the server) is:
<p align="center">
<!--webbot bot="HitCounter" u-custom
i-digits="5" i-image="2" PREVIEW="&lt;strong&gt;[Hit
Counter]&lt;/strong&gt;"
i-resetvalue="0" -->
</p>

Well, that's more or less (with a few differences in the parameters) what I
have.

If anyone else knows whether this is correct or not, please post.
 
My hit counter on my LAN server has the following code:

<!--webbot bot="HitCounter" i-image="4" I-ResetValue="0" I-Digits="5"
U-Custom startspan --><img
src="_vti_bin/fpcount.exe/tests/?Page=hidden-hit-counter.htm|Image=4|Digits=5"
alt="Hit Counter"><!--webbot bot="HitCounter" i-checksum="41315" endspan
-->

The page is at
http://www.rxs-enterprises.org/tests/hidden-hit-counter.htm
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp



Tom said:
If you look at the image properties, you see this:
http://members.cox.net/_vti_bin/fpcount.exe/C:/Documents and Settings/Sha/My%
which appears part of the link is pointing to your hard drive on your
local pc.

I found exactly the same when I reverse published "index.html "to my hard
disk

Your code in the server reads:
<p align="center">
<!--webbot bot="HitCounter" u-custom
i-digits="5" i-image="2" PREVIEW="&lt;strong&gt;[Hit
Counter]&lt;/strong&gt;"
i-resetvalue="0" startspan -->
<img
src="../_vti_bin/fpcount.exe/C:/Documents%20and%20Settings/Sha/My%20Documents/My%20Webs/?Page=cra2/index.htm|Image=2|Digits=5"
alt="Hit Counter">
<!--webbot bot="HitCounter" endspan i-checksum="8950" -->
</p>

My disk copy reads (slightly different because I placed this in a table
cell):
<td align="center">Hit Counter
<!--webbot bot="HitCounter" u-custom i-image="4"
i-resetvalue="0" PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;"
i-digits="0" startspan -->
<img
src="_vti_bin/fpcount.exe/C:/Documents%20and%20Settings/Trevor/My%20Documents/My%20Webs/mvpweb/?Page=index.html|Image=4"
alt="Hit Counter">
<!--webbot bot="HitCounter" i-checksum="17034" endspan -->
</td>

It appears that you have managed to copy the hard disk file back to the
server

I think what you need (on the server) is:
<p align="center">
<!--webbot bot="HitCounter" u-custom
i-digits="5" i-image="2" PREVIEW="&lt;strong&gt;[Hit
Counter]&lt;/strong&gt;"
i-resetvalue="0" -->
</p>

Well, that's more or less (with a few differences in the parameters) what I
have.

If anyone else knows whether this is correct or not, please post.
--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
Ronx said:
My hit counter on my LAN server has the following code:

<!--webbot bot="HitCounter" i-image="4" I-ResetValue="0" I-Digits="5"
U-Custom startspan --><img
src="_vti_bin/fpcount.exe/tests/?Page=hidden-hit-counter.htm|Image=4|Digits=5"
alt="Hit Counter"><!--webbot bot="HitCounter" i-checksum="41315"
endspan -->

The page is at
http://www.rxs-enterprises.org/tests/hidden-hit-counter.htm

Yes, I thought that it should read something like that

I seem to have managed to delete the <img> tag
and the <!-- webbot .............. endspan --> tag

I expect mine should read
<!--webbot bot="HitCounter" u-custom i-image="4"
i-resetvalue="0" PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;"
i-digits="0" startspan -->
<img src="_vti_bin/fpcount.exe/?Page=index.html|Image=4" alt="Hit Counter">
<!--webbot bot="HitCounter" i-checksum="17034" endspan -->

But it still works without these two tags. I wonder why ?
 
Are you reading the code in FrontPage Code view, or in the Browser - and
if in the browser, has the page been published?
In FrontPage what you see is correct (for a disc based web). If
published, you should not see the
PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;"
Unless the page has been published to a server with no FP extensions.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp



Ronx said:
My hit counter on my LAN server has the following code:

<!--webbot bot="HitCounter" i-image="4" I-ResetValue="0" I-Digits="5"
U-Custom startspan --><img
src="_vti_bin/fpcount.exe/tests/?Page=hidden-hit-counter.htm|Image=4|Digits=5"
alt="Hit Counter"><!--webbot bot="HitCounter" i-checksum="41315"
endspan -->

The page is at
http://www.rxs-enterprises.org/tests/hidden-hit-counter.htm

Yes, I thought that it should read something like that

I seem to have managed to delete the <img> tag
and the <!-- webbot .............. endspan --> tag

I expect mine should read
<!--webbot bot="HitCounter" u-custom i-image="4"
i-resetvalue="0" PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;"
i-digits="0" startspan -->
<img src="_vti_bin/fpcount.exe/?Page=index.html|Image=4" alt="Hit Counter">
<!--webbot bot="HitCounter" i-checksum="17034" endspan -->

But it still works without these two tags. I wonder why ?

--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
Ronx said:
Are you reading the code in FrontPage Code view, or in the Browser -
and if in the browser, has the page been published?
In FrontPage what you see is correct (for a disc based web). If
published, you should not see the
PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;"
Unless the page has been published to a server with no FP extensions.
--

Interesting

In FP Code view of http://trevorl.mvps.org/index.html, I see:
<!--webbot bot="HitCounter" u-custom i-image="4"
i-resetvalue="0" PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;"
i-digits="0" -->
The counter was entered by editing http://trevorl.mvps.org/index.html live
in FP. The site has FP extensions

In the browser for http://trevorl.mvps.org/index.html, I see:
<!--webbot bot="HitCounter" u-custom i-image="4"
i-resetvalue="0" PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;"
i-digits="0" startspan --><img
src="_vti_bin/fpcount.exe/?Page=index.html|Image=4" alt="Hit
Counter"><!--webbot bot="HitCounter" i-checksum="17416" endspan -->

In the copy published back to my local disk, I see
<!--webbot bot="HitCounter" u-custom i-image="4"
i-resetvalue="0" PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;"
i-digits="0" startspan --><img
src="_vti_bin/fpcount.exe/C:/Documents%20and%20Settings/Trevor/My%20Documents/My%20Webs/mvpweb/?Page=index.html|Image=4"
alt="Hit Counter"><!--webbot bot="HitCounter" i-checksum="17034" endspan -->
As I have no server on my PC, this does not work as a Hit Counter

So I guess the server generates the rest of the webbot and changes the
reference when it is published.

It works OK, so I assume it is correct, unless of course some incorrect code
is being handled OK by FP.

I would actaully prefer to have my own Hit Counter, so I knew what I was
doing rather than rely on the FP generated one. So I may look at setting up
another DB on this site.
 
As far as I know, HitMe only generates custom images for the hit counter
- you still have to use the FP counter.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp



David said:
And you can also try HitMe FP
http://www.95isalive.com/fixes/HitMeFP.htm instead of using FrontPage
to insert the hit counter.

This looks very nice so I am surprised that Steve didn't mention it.

What advantages does it have over the standard Hit Counter ?
--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
Back
Top