Hit Counters on Every Page


C

CJB

I have a large web site hosted on http://www.freeservers.com They
allow hit counters on every page - the stats being stored in one file
- fpcount.js My site is over 10 years old, and many pages have hits in
the thousands. However recently I've noticed that some counters have
been reset to zero. I investigated and found that over the years the
fpcount.js file has become corrupt. Although I pay Freeservers to host
the site all enquiries to their Customer Service about the corruption
of the hit counter feature are ignored. Therefore I am seeking a
commensurate service. I have tried FP Hit Counters but it seems that I
can only have one - say on the home page. Also it doesn't seem
possible to set the cointer to say start at 5000 (which is where the
previous counter got reset to zero). Is there a service somewhere on
the web - perhaps provide dby MS or maybe supported by a server
running FP Extensions etc. Many thanks - Chris Brady.
 
Ad

Advertisements

R

Ronx

The FrontPage hitcounter can be placed on every page - it creates a unique counter file in the _private folder for each page, and each can be set to start at any number you wish.
However, my experience of the FP hit counter is that it is not reliable, and in my opinion hit counters are so last century.

The hit counter requires FrontPage extensions on the server.
Open a page in FrontPage, then Insert->Hit Counter
To set the counter, open the _remote_ site in FrontPage (not the site on your PC), then open the _private folder.
Open the appropriate .cnt file and edit the number shown - do NOT change the number of digits. Save and close the file.

If you are looking for statistics, then try Google Analytics - this will tell more than you want to know about your site and visitors. But it will start at 0.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp/wf-menu.aspx


CJB expressed precisely :
 
H

Hot-text

Me I like http://www.pax.com/free-webmaster-tools.html Counters
But I not not like their Site Search is why I go with http://www.free.com
for that!
I do not like http://www.freeservers.com/ free web pages is why I Go to My
PC with a Web Server by NetworkActiv
Running my own PHP and MySql from my PC
with a Free SUB DNS ... like www.minpin.ath.cx Host by DynDNS.org ... for
free ..
I pay comcast $28 a mouth Why would have a for free Sub Host Name by
http://www.free.com and get no CGI, PHP, and running FP Extensions ... when
I can have it all now on my PC <<Hmm
 
C

CJB

The FrontPage hitcounter can be placed on every page - it creates a unique counter file in the _private folder for each page, and each can be set tostart at any number you wish.
However, my experience of the FP hit counter is that it is not reliable, and in my opinion hit counters are so last century.

The hit counter requires FrontPage extensions on the server.
Open a page in FrontPage, then Insert->Hit Counter
To set the counter, open the _remote_ site in FrontPage (not the site on your PC), then open the _private folder.
Open the appropriate .cnt file and edit the number shown - do NOT change the number of digits. Save and close the file.

If you are looking for statistics, then try Google Analytics - this will tell more than you want to know about your site and visitors.  But it will start at 0.
--
Ron Symonds
Microsoft MVP (Expression Web)http://www.rxs-enterprises.org/fp/wf-menu.aspx

CJB expressed precisely :




- Show quoted text -

Aha - thank you guys for the help and ideas. I didn't know how the FP
counters work. Its a big('ish) site so I need something quick and
effective. Also thanks for the tips on freee.com etc. Chris B.
 
C

CJB

The FrontPage hitcounter can be placed on every page - it creates a unique counter file in the _private folder for each page, and each can be set tostart at any number you wish.
However, my experience of the FP hit counter is that it is not reliable, and in my opinion hit counters are so last century.

The hit counter requires FrontPage extensions on the server.
Open a page in FrontPage, then Insert->Hit Counter
To set the counter, open the _remote_ site in FrontPage (not the site on your PC), then open the _private folder.
Open the appropriate .cnt file and edit the number shown - do NOT change the number of digits. Save and close the file.

If you are looking for statistics, then try Google Analytics - this will tell more than you want to know about your site and visitors.  But it will start at 0.
--
Ron Symonds
Microsoft MVP (Expression Web)http://www.rxs-enterprises.org/fp/wf-menu.aspx

CJB expressed precisely :




- Show quoted text -

Thank you for the help. I have managed to log in to my web site with
FP. I now have one page with a FP counter on it - just to see how it
works. It started at zero. I couldn't get it to start on anything
else.

Also I have managed to open my web site on the Freeservers server. But
when I looked in _private folder (at the web root) there was nothing
there!!! So where is the cnt file please? I guess there must be at
least one!!

I have tried Google Webmaster / Analytics and that's a very good
service.

Chris B.
 
C

CJB

Aha - thank you guys for the help and ideas. I didn't know how the FP
counters work. Its a big('ish) site so I need something quick and
effective. Also thanks for the tips on freee.com etc. Chris B.- Hide quoted text -

- Show quoted text -

AND the FP hit counter does not seem to change from '1' -

See: http://chrisbrady.itgo.com/canals/pamela.htm

This page also does not seem to have any _private folder associated
with it, and certainly no cnt file.

What am I doing wrong please?

Chris B.
 
Ad

Advertisements

R

Ronx

The _private folder should be located at
http://chrisbrady.itgo.com/_private

I can see nothing wrong with the code on the page, but cannot access the _private folder - this is NOT a problem, I should not be able to access the _private folder.

As I said, I have found the hit counter to be unreliable.

To set the initial count - open http://chrisbrady.itgo.com in FrontPage, then either:
1) Open the _private folder, open the .cnt file in FrontPage and change the number shown - do NOT change the quantity of digits - then save the file.
Or
2) Open the page and right click the hit counter.
Choose "FrontPAge Component Properties"
Tick the box "Reset counter to" and type in the number to start at.
Save the page.

If the counter does not increment - it should every time you refresh the page - then you may have to ask your host to investigate.

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp/wf-menu.aspx



It happens that CJB formulated :
AND the FP hit counter does not seem to change
from '1' -

This page also does not seem to have any
_private folder associated with it, and
certainly no cnt file.
 
C

CJB

Thank you again. Yes I do have a folder _private in the root of the
web on the server. BUT is has only one file in it = something.txt - it
is empty. There is no .cnt file there. And the folder /canals does not
have a _private folder either. I am quite happy to create such a
folder and .cnt file by hand - since FP doesn't seem to want to - but
I don't know the format. I'd also like to change the graphic of the
counter to something more resembling the default font for the page
(aka FP Theme). Cheers - Chris B.
 
R

Ronx

The _private folder is the one you found in the root of the site, there should NOT be a _private folder in the canals folder - unless this is a subweb.

Try opening the remote site, remove the hit counter on pamela.htm
Save the page, then insert a new counter.
If this does not create the .cnt file in the _private folder (in the root of the web), then there are other problems that your host will have to solve.

Go to http://www.95isalive.com/fixes/HitMeFP.htm and download the program described there. This will generate a custom hit counter image based on your own settings (font, size colours, etc.)

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp/wf-menu.aspx
 
C

CJB

The _private folder is the one you found in the root of the site, there should NOT be a _private folder in the canals folder - unless this is a subweb.

Try opening the remote site, remove the hit counter on pamela.htm
Save the page, then insert a new counter.
If this does not create the .cnt file in the _private folder (in the rootof the web), then there are other problems that your host will have to solve.

Go tohttp://www.95isalive.com/fixes/HitMeFP.htmand download the program described there. This will generate a custom hit counter image based on yourown settings (font, size colours, etc.)

--
Ron Symonds
Microsoft MVP (Expression Web)http://www.rxs-enterprises.org/fp/wf-menu.aspx



- Show quoted text -

Thank you yet again for your help. I will have a go at buidling my own
counter graphic. And I'll have a go at the hints above for the
_private folder. Freeservers is suposed to support FP Extensions so
I'll have to consult with them if things don't work. My site is a
'paid for' site after all.

Meanwhile if hit counters are so last century what do advise as an
alternative. Google Analystics is a bit too detailed for me!!

Chris B.
 
C

CJB

The _private folder is the one you found in the root of the site, there should NOT be a _private folder in the canals folder - unless this is a subweb.

Try opening the remote site, remove the hit counter on pamela.htm
Save the page, then insert a new counter.
If this does not create the .cnt file in the _private folder (in the rootof the web), then there are other problems that your host will have to solve.

Go tohttp://www.95isalive.com/fixes/HitMeFP.htmand download the program described there. This will generate a custom hit counter image based on yourown settings (font, size colours, etc.)

--
Ron Symonds
Microsoft MVP (Expression Web)http://www.rxs-enterprises.org/fp/wf-menu.aspx



- Show quoted text -

Just downloaded HitMeFP as an exe file, ran it and got the following.
I'm using Win 7 on an Acer netbook.

Run-time error: 339:
Comp[onent CMDLG32.OCX or one of its dependenties not correctly
registered; a file is missing or invalid.

I'll try it on my main XP laptop tonight.

Chris B.
 
Ad

Advertisements

C

CJB

The _private folder is the one you found in the root of the site, thereshould NOT be a _private folder in the canals folder - unless this is a subweb.
Try opening the remote site, remove the hit counter on pamela.htm
Save the page, then insert a new counter.
If this does not create the .cnt file in the _private folder (in the root of the web), then there are other problems that your host will have to solve.
Go tohttp://www.95isalive.com/fixes/HitMeFP.htmanddownload the program described there. This will generate a custom hit counter image based on your own settings (font, size colours, etc.)
on 01/05/2010, CJB supposed :
- Show quoted text -

Just downloaded HitMeFP as an exe file, ran it and got the following.
I'm using Win 7 on an Acer netbook.

Run-time error: 339:
Comp[onent CMDLG32.OCX or one of its dependenties not correctly
registered; a file is missing or invalid.

I'll try it on my main XP laptop tonight.

Chris B.- Hide quoted text -

- Show quoted text -

I have now found a 'canal' folder in the _private folder with a .cnt
file in it. So far so good!!

And I've made a gif file and put it into _private. Then embedded it
into my page, then uploaded the page and gif file to my website. But
it doesn't work for some reason. I used relative addressing too.

Am getting there.

CJB.
 
C

CJB

Just downloaded HitMeFP as an exe file, ran it and got the following.
I'm using Win 7 on an Acer netbook.
Run-time error: 339:
Comp[onent CMDLG32.OCX or one of its dependenties not correctly
registered; a file is missing or invalid.
I'll try it on my main XP laptop tonight.
Chris B.- Hide quoted text -
- Show quoted text -

I have now found a 'canal' folder in the _private folder with a .cnt
file in it. So far so good!!

And I've made a gif file and put it into _private. Then embedded it
into my page, then uploaded the page and gif file to my website. But
it doesn't work for some reason. I used relative addressing too.

Am getting there.

CJB.- Hide quoted text -

- Show quoted text -

Ok - final problem is where does the custom.gif file go please?
Wherever I put it all I get is a red cross and 'Hit Counter'

Thanks - CJB.
 
C

CJB

The _private folder is the one you found in the root of the site, there should NOT be a _private folder in the canals folder - unless this is a subweb.
Try opening the remote site, remove the hit counter on pamela.htm
Save the page, then insert a new counter.
If this does not create the .cnt file in the _private folder (in the root of the web), then there are other problems that your host will have to solve.
Go tohttp://www.95isalive.com/fixes/HitMeFP.htmanddownloadtheprogram described there. This will generate a custom hit counter image based on your own settings (font, size colours, etc.)
--
Ron Symonds
Microsoft MVP (Expression Web)http://www.rxs-enterprises.org/fp/wf-menu.aspx
on 01/05/2010, CJB supposed :
Thank you again. Yes I do have a folder
_private in the root of the web on the server.
BUT is has only one file in it = something.txt
- it is empty. There is no .cnt file there. And
the folder /canals does not have a _private
folder either. I am quite happy to create such
a folder and .cnt file by hand - since FP
doesn't seem to want to - but I don't know the
format. I'd also like to change the graphic of
the counter to something more resembling the
default font for the page (aka FP Theme).
Cheers - Chris B.
Ronx wrote:
The _private folder should be located at
http://chrisbrady.itgo.com/_private
I can see nothing wrong with the code on the
page, but cannot access the _private folder -
this is NOT a problem, I should not be able to
access the _private folder.
As I said, I have found the hit counter to be
unreliable.
To set the initial count - open
http://chrisbrady.itgo.cominFrontPage, then
either: 1) Open the _private folder, open the
.cnt file in FrontPage and change the number
shown - do NOT change the quantity of digits -
then save the file. Or 2) Open the page and
right click the hit counter. Choose "FrontPAge
Component Properties" Tick the box "Reset
counter to" and type in the number to start
at. Save the page.
If the counter does not increment - it should
every time you refresh the page - then you may
have to ask your host to investigate.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp/wf-menu.aspx
It happens that CJB formulated :
On Apr 22, 9:25 am, CJB
On Apr 22, 8:52 am, Ronx
The FrontPage hitcounter can be placed on
every page - it creates a unique counter
file in the _private folder for each page,
and each can be set to start at any number
you wish. However, my experience of the FP
hit counter is that it is not reliable, and
in my opinion hit counters are so last
century. The hit counter requires FrontPage
extensions on the server. Open a page in
FrontPage, then Insert->Hit Counter To set
the counter, open the _remote_ site in
FrontPage (not the site on your PC), then
open the _private folder. Open the
appropriate .cnt file and edit the number
shown - do NOT change the number of digits.
Save and close the file. If you are looking
for statistics, then try Google Analytics -
this will tell more than you want to know
about your site and visitors. But it
will start at 0. -- Ron Symonds Microsoft
MVP (Expression
Web)http://www.rxs-enterprises.org/fp/wf-menu.aspx
CJB expressed precisely :
I have a large web site hosted on
http://www.freeservers.comTheyallowhit
counters on every page - the stats being
stored in one file - fpcount.js My site is
over 10 years old, and many pages have
hits in the thousands. However recently
I've noticed that some counters have been
reset to zero. I investigated and found
that over the years the fpcount.js file
has become corrupt. Although I pay
Freeservers to host the site all enquiries
to their Customer Service about the
corruption of the hit counter feature are
ignored. Therefore I am seeking a
commensurate service. I have tried FP Hit
Counters but it seems that I can only have
one - say on the home page. Also it
doesn't seem possible to set the cointer
to say start at 5000 (which is where the
previous counter got reset to zero). Is
there a service somewhere on the web -
perhaps provide dby MS or maybe supported
by a server running FP Extensions etc.
Many thanks - Chris Brady.- Hide quoted
text -
- Show quoted text -
Aha - thank you guys for the help and ideas.
I didn't know how the FP counters work. Its
a big('ish) site so I need something quick
and effective. Also thanks for the tips on
freee.com etc. Chris B.- Hide quoted text -
- Show quoted text -
AND the FP hit counter does not seem to
change from '1' -
See:
http://chrisbrady.itgo.com/canals/pamela.htm
This page also does not seem to have any
_private folder associated with it, and
certainly no cnt file.
What am I doing wrong please?
Chris B.- Hide quoted text -
- Show quoted text -
Just downloaded HitMeFP as an exe file, ran it and got the following.
I'm using Win 7 on an Acer netbook.
Run-time error: 339:
Comp[onent CMDLG32.OCX or one of its dependenties not correctly
registered; a file is missing or invalid.
I'll try it on my main XP laptop tonight.
Chris B.- Hide quoted text -
- Show quoted text -
I have now found a 'canal' folder in the _private folder with a .cnt
file in it. So far so good!!
And I've made a gif file and put it into _private. Then embedded it
into my page, then uploaded the page and gif file to my website. But
it doesn't work for some reason. I used relative addressing too.
Am getting there.
CJB.- Hide quoted text -
- Show quoted text -

Ok - final problem is where does the custom.gif file go please?
Wherever I put it all I get is a red cross and 'Hit Counter'

Thanks - CJB.- Hide quoted text -

- Show quoted text -

The code in the page with the counter is:

<!--webbot bot="HitCounter" i-image="5" i-digits="0"
PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;" u-custom="images/
counter.gif" i-resetvalue="0" startspan --><img SRC="_vti_bin/
fpcount.exe/chrisjbrady/?Page=TestPage.htm|Custom=images/counter.gif"
ALT="Hit Counter"><!--webbot bot="HitCounter" endspan i-
checksum="54260" -->

Additonally the file fpcount.exe is in the folder _vti_bin

The above pertains to the client side running FP, and web server
side.

But the counter doesn't work. The contents of the file
TestPage.htm.cnt never changes.

It seems that the file fpcounter.exe does not action anything.

CJB.
 
C

CJB

The _private folder is the one you found in the root of the site,there should NOT be a _private folder in the canals folder - unless this is a subweb.
Try opening the remote site, remove the hit counter on pamela.htm
Save the page, then insert a new counter.
If this does not create the .cnt file in the _private folder (in the root of the web), then there are other problems that your host will have to solve.
Go tohttp://www.95isalive.com/fixes/HitMeFP.htmanddownloadtheprogramdescribed there. This will generate a custom hit counter image based on your own settings (font, size colours, etc.)
--
Ron Symonds
Microsoft MVP (Expression Web)http://www.rxs-enterprises.org/fp/wf-menu.aspx
on 01/05/2010, CJB supposed :
Thank you again. Yes I do have a folder
_private in the root of the web on the server.
BUT is has only one file in it = something.txt
- it is empty. There is no .cnt file there. And
the folder /canals does not have a _private
folder either. I am quite happy to create such
a folder and .cnt file by hand - since FP
doesn't seem to want to - but I don't know the
format. I'd also like to change the graphic of
the counter to something more resembling the
default font for the page (aka FP Theme).
Cheers - Chris B.
Ronx wrote:
The _private folder should be located at
http://chrisbrady.itgo.com/_private
I can see nothing wrong with the code on the
page, but cannot access the _private folder -
this is NOT a problem, I should not be able to
access the _private folder.
As I said, I have found the hit counter to be
unreliable.
To set the initial count - open
http://chrisbrady.itgo.cominFrontPage, then
either: 1) Open the _private folder, open the
.cnt file in FrontPage and change the number
shown - do NOT change the quantity of digits -
then save the file. Or 2) Open the page and
right click the hit counter. Choose "FrontPAge
Component Properties" Tick the box "Reset
counter to" and type in the number to start
at. Save the page.
If the counter does not increment - it should
every time you refresh the page - then you may
have to ask your host to investigate.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp/wf-menu.aspx
It happens that CJB formulated :
On Apr 22, 9:25 am, CJB
On Apr 22, 8:52 am, Ronx
The FrontPage hitcounter can be placed on
every page - it creates a unique counter
file in the _private folder for each page,
and each can be set to start at any number
you wish. However, my experience of the FP
hit counter is that it is not reliable, and
in my opinion hit counters are so last
century. The hit counter requires FrontPage
extensions on the server. Open a page in
FrontPage, then Insert->Hit Counter To set
the counter, open the _remote_ site in
FrontPage (not the site on your PC), then
open the _private folder. Open the
appropriate .cnt file and edit the number
shown - do NOT change the number of digits.
Save and close the file. If you are looking
for statistics, then try Google Analytics -
this will tell more than you want to know
about your site and visitors. But it
will start at 0. -- Ron Symonds Microsoft
MVP (Expression
Web)http://www.rxs-enterprises.org/fp/wf-menu.aspx
CJB expressed precisely :
I have a large web site hosted on
http://www.freeservers.comTheyallowhit
counters on every page - the stats being
stored in one file - fpcount.js My site is
over 10 years old, and many pages have
hits in the thousands. However recently
I've noticed that some counters have been
reset to zero. I investigated and found
that over the years the fpcount.js file
has become corrupt. Although I pay
Freeservers to host the site all enquiries
to their Customer Service about the
corruption of the hit counter feature are
ignored. Therefore I am seeking a
commensurate service. I have tried FP Hit
Counters but it seems that I can only have
one - say on the home page. Also it
doesn't seem possible to set the cointer
to say start at 5000 (which is where the
previous counter got reset to zero). Is
there a service somewhere on the web -
perhaps provide dby MS or maybe supported
by a server running FP Extensions etc.
Many thanks - Chris Brady.- Hide quoted
text -
- Show quoted text -
Aha - thank you guys for the help and ideas.
I didn't know how the FP counters work. Its
a big('ish) site so I need something quick
and effective. Also thanks for the tips on
freee.com etc. Chris B.- Hide quoted text -
- Show quoted text -
AND the FP hit counter does not seem to
change from '1' -
See:
http://chrisbrady.itgo.com/canals/pamela.htm
This page also does not seem to have any
_private folder associated with it, and
certainly no cnt file.
What am I doing wrong please?
Chris B.- Hide quoted text -
- Show quoted text -
Just downloaded HitMeFP as an exe file, ran it and got the following.
I'm using Win 7 on an Acer netbook.
Run-time error: 339:
Comp[onent CMDLG32.OCX or one of its dependenties not correctly
registered; a file is missing or invalid.
I'll try it on my main XP laptop tonight.
Chris B.- Hide quoted text -
- Show quoted text -
I have now found a 'canal' folder in the _private folder with a .cnt
file in it. So far so good!!
And I've made a gif file and put it into _private. Then embedded it
into my page, then uploaded the page and gif file to my website. But
it doesn't work for some reason. I used relative addressing too.
Am getting there.
CJB.- Hide quoted text -
- Show quoted text -
Ok - final problem is where does the custom.gif file go please?
Wherever I put it all I get is a red cross and 'Hit Counter'
Thanks - CJB.- Hide quoted text -
- Show quoted text -

The code in the page with the counter is:

<!--webbot bot="HitCounter" i-image="5" i-digits="0"
PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;" u-custom="images/
counter.gif" i-resetvalue="0" startspan --><img SRC="_vti_bin/
fpcount.exe/chrisjbrady/?Page=TestPage.htm|Custom=images/counter.gif"
ALT="Hit Counter"><!--webbot bot="HitCounter" endspan i-
checksum="54260" -->

Additonally the file fpcount.exe is in the folder _vti_bin

The above pertains to the client side running FP, and web server
side.

But the counter doesn't work. The contents of the file
TestPage.htm.cnt never changes.

It seems that the file fpcounter.exe does not action anything.

CJB.- Hide quoted text -

- Show quoted text -

Just tried using direct addressing to a custom gif file - which
doesn't work either - and this is the code:

<!--webbot bot="HitCounter" i-image="5" i-digits="0"
PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;" u-custom="http://
chrisbrady.itgo.com/images/counter.gif" i-resetvalue="0" startspan --
<img SRC="_vti_bin/fpcount.exe/chrisjbrady/?Page=TestPage.htm|
Custom=http://chrisbrady.itgo.com/images/counter.gif" ALT="Hit
Counter"><!--webbot bot="HitCounter" endspan i-checksum="60459" -->

Also I tried using FP gif file (no. 4) - which also doesn't work - and
this is the code:

<!--webbot bot="HitCounter" i-image="3" i-digits="0"
PREVIEW="&lt;strong&gt;[Hit Counter]&lt;/strong&gt;" u-custom i-
resetvalue="0" startspan --><img SRC="_vti_bin/fpcount.exe/
chrisjbrady/?Page=TestPage.htm|Image=3" ALT="Hit Counter"><!--webbot
bot="HitCounter" endspan i-checksum="48824" -->

I think that the 'bug' is the line:

SRC="_vti_bin/fpcount.exe/chrisjbrady/?

This is referencing a path on the server that does not exist. On the
server there is a _vti_bin/ folder in which there is the bin file
fpcount.exe

However the reference to chrisjbrady/ comes from the folder in which I
am using FP to building the web on my D: (data) drive. This
arrangement is not replicated on the server. The label 'chrisjbrady'
does not exist on the server. The web on the server is http://chrisbrady.itgo.com

For executing fpcounter.exe the path is:

http://chrisbrady.itgo.com/_vti_bin/fpcount.exe

I think that I need to remove the chrisjbrady/ from the code on the
server - but I'm not sure how it got there or how to stop it
appearing.

Please can someone advise. Thank you - Chris Brady.
 
Ad

Advertisements

C

CJB

Openhttp://chrisbrady.itgo.comin FrontPage - this is the site on the server, not on your D: drive.
Open the page with the hitcounter
Remove the hit counter
Save the page.
Insert a new hit counter
Save the page

Check if it works.
Since you are editing ON THE SERVER there is no chance that your folder on your hard drive can be involved.

--
Ron Symonds
Microsoft MVP (Expression Web)http://www.rxs-enterprises.org/fp/wf-menu.aspx

CJB expressed precisely :


On May 1, 9:07 pm, CJB <[email protected]>
wrote:
On May 1, 8:30 pm, CJB
On May 1, 4:47 pm, CJB
On May 1, 2:32 pm, Ronx
The _private folder is the one you found
in the root of the site, there should NOT
be a _private folder in the canals folder
- unless this is a subweb. Try opening the
remote site, remove the hit counter on
pamela.htm Save the page, then insert a
new counter. If this does not create the
.cnt file in the _private folder (in the
root of the web), then there are other
problems that your host will have to
solve. Go
tohttp://www.95isalive.com/fixes/HitMeFP.htmanddownloadtheprogramdescribed
there. This will generate a custom hit
counter image based on your own settings
(font, size colours, etc.) -- Ron Symonds
Microsoft MVP (Expression
Web)http://www.rxs-enterprises.org/fp/wf-menu.aspx
on 01/05/2010, CJB supposed :
Thank you again. Yes I do have a folder
_private in the root of the web on the
server. BUT is has only one file in it =
something.txt - it is empty. There is no
.cnt file there. And the folder /canals
does not have a _private folder either. I
am quite happy to create such a folder
and .cnt file by hand - since FP doesn't
seem to want to - but I don't know the
format. I'd also like to change the
graphic of the counter to something more
resembling the default font for the page
(aka FP Theme). Cheers - Chris B. Ronx
wrote:
The _private folder should be located at
http://chrisbrady.itgo.com/_private
I can see nothing wrong with the code on
the page, but cannot access the _private
folder - this is NOT a problem, I should
not be able to access the _private
folder. As I said, I have found the hit
counter to be unreliable.
To set the initial count - open
http://chrisbrady.itgo.cominFrontPage,
then either: 1) Open the _private
folder, open the .cnt file in FrontPage
and change the number shown - do NOT
change the quantity of digits - then
save the file. Or 2) Open the page and
right click the hit counter. Choose
"FrontPAge Component Properties" Tick
the box "Reset counter to" and type in
the number to start at. Save the page.
If the counter does not increment - it
should every time you refresh the page -
then you may have to ask your host to
investigate. --
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp/wf-menu.aspx
It happens that CJB formulated :
On Apr 22, 9:25 am, CJB
On Apr 22, 8:52 am, Ronx
The FrontPage hitcounter can be
placed on every page - it creates a
unique counter file in the _private
folder for each page, and each can be
set to start at any number you wish.
However, my experience of the FP hit
counter is that it is not reliable,
and in my opinion hit counters are so
last century. The hit counter
requires FrontPage extensions on the
server. Open a page in FrontPage,
then Insert->Hit Counter To set the
counter, open the _remote_ site in
FrontPage (not the site on your PC),
then open the _private folder. Open
the appropriate .cnt file and edit
the number shown - do NOT change the
number of digits. Save and close the
file. If you are looking for
statistics, then try Google Analytics
- this will tell more than you want
to know about your site and visitors.
But it will start at 0. -- Ron
Symonds Microsoft MVP (Expression
Web)http://www.rxs-enterprises.org/fp/wf-menu.aspx
CJB expressed precisely :
I have a large web site hosted on
http://www.freeservers.comTheyallowhit
counters on every page - the stats
being stored in one file -
fpcount.js My site is over 10 years
old, and many pages have hits in the
thousands. However recently I've
noticed that some counters have been
reset to zero. I investigated and
found that over the years the
fpcount.js file has become corrupt.
Although I pay Freeservers to host
the site all enquiries to their
Customer Service about the
corruption of the hit counter
feature are ignored. Therefore I am
seeking a commensurate service. I
have tried FP Hit Counters but it
seems that I can only have one - say
on the home page. Also it doesn't
seem possible to set the cointer to
say start at 5000 (which is where
the previous counter got reset to
zero). Is there a service somewhere
on the web - perhaps provide dby MS
or maybe supported by a server
running FP Extensions etc. Many
thanks - Chris Brady.- Hide quoted
text -
- Show quoted text -
Aha - thank you guys for the help and
ideas. I didn't know how the FP
counters work. Its a big('ish) site so
I need something quick and effective.
Also thanks for the tips on freee.com
etc. Chris B.- Hide quoted text - -
Show quoted text -
AND the FP hit counter does not seem to
change from '1' -
See:
http://chrisbrady.itgo.com/canals/pamela.htm
This page also does not seem to have
any _private folder associated with it,
and certainly no cnt file.
What am I doing wrong please?
Chris B.- Hide quoted text -
- Show quoted text -
Just downloaded HitMeFP as an exe file, ran
it and got the following. I'm using Win 7
on an Acer netbook. Run-time error: 339:
Comp[onent CMDLG32.OCX or one of its
dependenties not correctly registered; a
file is missing or invalid. I'll try it on
my main XP laptop tonight. Chris B.- Hide
quoted text -
- Show quoted text -
I have now found a 'canal' folder in the
_private folder with a .cnt file in it. So
far so good!!
And I've made a gif file and put it into
_private. Then embedded it into my page,
then uploaded the page and gif file to my
website. But it doesn't work for some
reason. I used relative addressing too. Am
getting there.
CJB.- Hide quoted text -
- Show quoted text -
Ok - final problem is where does the
custom.gif file go please? Wherever I put it
all I get is a red cross and 'Hit Counter'
Thanks - CJB.- Hide quoted text -
- Show quoted text -
The code in the page with the counter is:
<!--webbot bot="HitCounter" i-image="5"
i-digits="0" PREVIEW="<strong>[Hit
Counter]</strong>" u-custom="images/
counter.gif" i-resetvalue="0" startspan
--><img SRC="_vti_bin/
fpcount.exe/chrisjbrady/?Page=TestPage.htm|Custom=images/counter.gif"
ALT="Hit Counter"><!--webbot bot="HitCounter"
endspan i- checksum="54260" -->
Additonally the file fpcount.exe is in the
folder _vti_bin
The above pertains to the client side running
FP, and web server side.
But the counter doesn't work. The contents of
the file TestPage.htm.cnt never changes.
It seems that the file fpcounter.exe does not
action anything.
CJB.- Hide quoted text -
- Show quoted text -
Just tried using direct addressing to a custom
gif file - which doesn't work either - and this
is the code:
<!--webbot bot="HitCounter" i-image="5"
i-digits="0" PREVIEW="<strong>[Hit
Counter]</strong>" u-custom="http://
chrisbrady.itgo.com/images/counter.gif"
i-resetvalue="0" startspan --
<img
SRC="_vti_bin/fpcount.exe/chrisjbrady/?Page=TestPage.htm|
Custom=http://chrisbrady.itgo.com/images/counter.gif"
ALT="Hit Counter"><!--webbot bot="HitCounter"
endspan i-checksum="60459" -->
Also I tried using FP gif file (no. 4) - which
also doesn't work - and this is the code:
<!--webbot bot="HitCounter" i-image="3"
i-digits="0" PREVIEW="<strong>[Hit
Counter]</strong>" u-custom i-
resetvalue="0" startspan --><img
SRC="_vti_bin/fpcount.exe/
chrisjbrady/?Page=TestPage.htm|Image=3"
ALT="Hit Counter"><!--webbot bot="HitCounter"
endspan i-checksum="48824" -->
I think that the 'bug' is the line:
SRC="_vti_bin/fpcount.exe/chrisjbrady/?
This is referencing a path on the server that
does not

...

read more »- Hide quoted text -

- Show quoted text -

OK - I reduced the HTML of the version on the server from

<!--webbot bot="HitCounter" i-image="3" i-digits="0"
PREVIEW="<strong>[Hit Counter]</strong>" u-custom i-resetvalue="0"
startspan --><img SRC="_vti_bin/fpcount.exe/chrisjbrady/?
Page=TestPage.htm|Image=3" ALT="Hit Counter"><!--webbot
bot="HitCounter" endspan i-checksum="48824" -->

to this

<!--webbot bot="HitCounter" i-image="3" i-digits="0"
PREVIEW="<strong>[Hit Counter]</strong>" u-custom i-resetvalue="0"
startspan --><img SRC="_vti_bin/fpcount.exe/?Page=TestPage.htm|
Image=3" ALT="Hit Counter"><!--webbot bot="HitCounter" endspan i-
checksum="48824" -->

That is I removed the [chrisjbrady/] from the path, and the counter
worked at last.

So now I only have about 100 pages to modify.

However thanks for everyone's help and support.

Chris B.
 
Ad

Advertisements


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

Hit Counter question 4
Getting Hit Counter to work. 2
hit counter problem 3
Hit Counter 3
Hit Counter Question 2
Hit Counter Not working 2
Hit counter doesn't show on all pages 2
Hit counter 1

Top