navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Custom Counters

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> Custom Counters
Page: [1]
 
makphisto

 

Posts: 21
From: Central Illinois
Status: offline

 
Custom Counters - 10/14/2002 9:15:25   
Hello all. I am having a problem with a custom counter that I designed. It looks fine ( look at the bottom right of http://www.greenstarter.com ), but it doesn' t work right. The 10' s digit is goofy. It will count like this:
...
81
82
83
84
85
86
87
88
89
80
91
92
...
And it appears as if its only the tens digit that is doing this. Any thoughts?

Also, while I' m on the subject of counters, how do I make a counter work for each page? I added a counter to each page, but they all appear to read the same number, like they are tied together. I' d rather have each page have a unique counter. Thanks!

Matt
Richard Dudley

 

Posts: 668
Joined: 8/22/2002
From: Butler, PA
Status: offline

 
RE: Custom Counters - 10/14/2002 12:47:44   
I would recommend against displaying counters on your pages--it doesn' t look professional. Any good site stats would be able to tell you how many times each page has been accessed.

That being said, if you still want to, post your code. If it' s something you designed, it' s easier if we look at the code.

(in reply to makphisto)
Charles W Davis

 

Posts: 1725
Joined: 3/7/2002
From: Henderson Nevada USA
Status: offline

 
RE: Custom Counters - 10/14/2002 14:40:07   
makphisto,

I found nothing wrong with the display on tens.

:)

Attachment (1)

_____________________________

Enjoy! It' s your endeavor!
http://www.anthemwebs.com

(in reply to makphisto)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Custom Counters - 10/14/2002 22:44:49   
makphisto,

Your page is down. Working on it??? I tired 6 times to view it. Counters are NOT that unprofessional. Seems more sites have them then don' t.



_____________________________


(in reply to makphisto)
makphisto

 

Posts: 21
From: Central Illinois
Status: offline

 
RE: Custom Counters - 10/15/2002 11:33:11   
I normally don' t have counters on each page, but the one I designed seems rather unobtrusive, so I' ll stick with it for now.

It' s strange that you don' t see the problem. Try refreshing the page ten or more times - keeping an eye on the count each time. It' s all very strange. When I use one of the counters included in FP, it seems to work fine.

The site may have been down at that time for some reason, but it appears to be working fine now.

Thanks.
Matt

< Message edited by makphisto -- 10/14/2002 11:38:12 AM >

(in reply to makphisto)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Custom Counters - 10/15/2002 11:41:43   
makphisto,

I tried it twice again today and I keep getting a page stating " Can' t Find Web Site" .

ONLY A GUESS:
If this is a custom counter then you probably had to create a graphic for each digit 0 - 9. Are they all in sync??? Meaning does each name correspond to the digit. 1 = 1.gif, 2 = 2.gif, etc....

Post the address one more time. I don' t know why I keep getting this " Can' t Find Web Site" error!!!



_____________________________


(in reply to makphisto)
makphisto

 

Posts: 21
From: Central Illinois
Status: offline

 
RE: Custom Counters - 10/15/2002 11:50:00   
How very strange! The URL is http://www.greenstarter.com. I can access it from here, but maybe there is a greater problem...

Perhaps I am creating the custom counter incorrectly. I just made one GIF file, with the digits 1 thru 0 and uploaded it. Then when I insert the counter, I have to tell FP to look for that graphic. Thoughts?

Thanks!
Matt

(in reply to makphisto)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Custom Counters - 10/15/2002 12:16:26   
Matt,

Sometimes if there is a component error on a page, that would stop a page from loading in. I just tried your link again. I tried this:

http://www.greenstarter.com
And...
www.greenstarter.com

Neither one works. I' m on AOL right now using their browser. So I don' t know. But I do know that when a component is placed on a page that is not configured or written correctly, the page will not load in. I' m not saying that is your problem. Charles W. Davis got in!!!!! I don' t know...

quote:


Perhaps I am creating the custom counter incorrectly. I just made one GIF file, with the digits 1 thru 0 and uploaded it. Then when I insert the counter, I have to tell FP to look for that graphic. Thoughts?


Did you custom create / write this counter on your own??? I never heard of putting all the digits in a single .gif file. I use custom counters on just about all my sites and they contain a separate graphic file for each digit.

My algorithm:
1): I have a text file that holds the count value in my server root directory.
2): I have a graphic folder that holds 10 .gif files 0 - 9.
3): On the page that needs the counter I have a small .asp script that:

a): increments the text file each time someone visits the site.
b): reads in the value from the text file.
c): performs a FOR loop checking the value of each digit from the text file, then grabs the corresponding .gif digit file that matches the digit and displays it for every digit in the text file.

Is your algorithm similar???
Mark





_____________________________


(in reply to makphisto)
makphisto

 

Posts: 21
From: Central Illinois
Status: offline

 
RE: Custom Counters - 10/15/2002 12:34:08   
Er, no. I' m using the built-in FP Counter function. In your menu bar, go to:
Insert > Component > Hit Counter to see what I' m talking about. You can choose from 5 ugly counters (sorry Mr. Gates) or use one of your own. The custom picture must be comprised of only one GIF for it to work.

(in reply to makphisto)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Custom Counters - 10/15/2002 12:40:52   
Matt,

Ohhhhhhhhhhhhhhhhhh your using the one that comes with FP. I use to use that one. But it annoyed me too much. Every time I did an update to the page that contained the FP generated counter, it would wipe out my count and rest it to 0. :) After about 50 times I got sick of it and went custom.

The counting mechanism in the FP Counter is usually very good. That was one problem I never had. It always counted correctly for me. This is puzzeling now. I don' t get it.

Quick Questions:
1): What version of FP are you using???
2): What type of Server (Unix, Linux, NT) are you housed on???
3): On the page with the counter, what extension is the page (htm, html, asp)???



_____________________________


(in reply to makphisto)
makphisto

 

Posts: 21
From: Central Illinois
Status: offline

 
RE: Custom Counters - 10/15/2002 12:43:14   
Well, duh.

When I created my custom counter, I created it like this 1 2 3 4 5 6 7 8 9 0.
I realized that the 0 has to come first: 0 1 2 3 4 5 6 7 8 9. I changed the GIF, and it all seems to work fine now.

Now if I can just figure out if the world can see the page!

Thanks!
Matt

(in reply to makphisto)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Custom Counters - 10/15/2002 12:53:12   
Hmmmmmmmmmmmmmmmm...

Interesting... That' s what the problem was??? Very good. Glad you solved it.

Site:

Try to visit your site from outside FP and IE, (if that is set as your default browser/viewer) and see if it loads in for you. Also try a refresh. Let me know if you can see it. I don' t understand why I cannot see it, UNLESS there is something rotten in your html code on that page.




_____________________________


(in reply to makphisto)
abbeyvet

 

Posts: 5095
From: Kilkenny Ireland
Status: offline

 
RE: Custom Counters - 10/15/2002 13:07:13   
I am getting that page without difficulty, and did yesterday too.

The problem seems to be at your end Lune, or rather with AOL. Have you tried accessing it using something other than AOL?

If it is a problem with AOL though, that sure is a problem. I can see nothing in the code that would cause it.

Hey! I just refreshed the page and got a completely different page! Instant updates!

_____________________________

Katherine

:: InKK Design :: InKK Domains

(in reply to makphisto)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Custom Counters - 10/15/2002 13:20:02   
Katherine,

BINGO....

I got to the site in IE6. Cool...

Yeah that is a problem. Millions use AOL. So that means millions will not be able to view Matt' s site. 99.9% of all the sites I visit in AOL come up.

Matt,
There' s still some type of problem on your site that keeps AOL from seeing it. UNLESS there is a hidden AOL setting that I do not know about.


_____________________________


(in reply to makphisto)
Swirl

 

Posts: 2708
From: Cincinnati, Ohio USA
Status: offline

 
RE: Custom Counters - 10/15/2002 13:25:28   
Hi Matt

I can get to your site, but something is making it load extremely slowly. I' m on a T1 line here at the office and it still took forever. The bulk of the page loads quickly, but then it hangs forever when it loads the images.

I' m not entirely certain, but I think your image files may be the problem. When I right click and look at the image properties, " gurkeelog.jpg" is showing a file size of 17629 kb! When I save the image to my system, I see 18 kb.

Did you happen to place large images on your page and then shrink them down? When you do this, FP still references the larger file. That could be part of the problem on AOL, it may be a time out issue because of these large image files.

I would shrink the images down outside of FP using what ever graphics program you have and then import the smaller images to replace the ones you have there now.

Swirl

< Message edited by Swirl -- 10/14/2002 1:35:09 PM >


_____________________________

Knowledge speaks, but wisdom listens.
-- Jimi Hendrix

(in reply to makphisto)
makphisto

 

Posts: 21
From: Central Illinois
Status: offline

 
RE: Custom Counters - 10/15/2002 13:43:53   
Wow, I have no idea what' s going on. There' s nothing on that page that I would think would not be viewable to AOL - it' s all pretty standard stuff. As for load time, I ran it though NetMechanic, and it gave me 23 seconds on 28.8. I do have a large button that I could reduce the size of, but I can' t see it reducing load time much under 20 seconds. Heck, on a T1 it should only take 4 seconds to load.
Total Page Size: 67734 bytes Total Graphics: 22529 bytes - 25 images

(in reply to makphisto)
makphisto

 

Posts: 21
From: Central Illinois
Status: offline

 
RE: Custom Counters - 10/15/2002 13:47:59   
Swirl - wattaminute. At the top of the page you are looking at - does it say Novatan in a " flag" graphic? Or does it say Greenstarter? I think maybe we are have a DNS issue.

(in reply to Swirl)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Custom Counters - 10/15/2002 13:57:57   
makphisto,

Matt - RELAX... It comes UP now in AOL. It was your counter that caused the problem. Once you fixed it, that change made it viewable in AOL now. Can you beleive that???
So relax....
Your site can be viewed in AOL now.
Bravooooooooooooooooooooo...

LLL


_____________________________


(in reply to makphisto)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Custom Counters - 10/15/2002 14:00:54   
Matt,

This is what appears when I go to your site:

Welcome to GreenStarters"
" GREENStarters are the wave of the future!"

LLL

_____________________________


(in reply to makphisto)
makphisto

 

Posts: 21
From: Central Illinois
Status: offline

 
RE: Custom Counters - 10/15/2002 14:06:14   
Cool, thanks.

The wierd thing is - the only place Swirl could have seen " gurkeelog.jpg" is on a totally different website. I will have our web administrator look into the DNS issues.

(in reply to makphisto)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Custom Counters - 10/15/2002 14:17:13   
Matt,

Good idea...

Loading Speed:
I don' t know if this is the problem but I heard that the new .net products and systems are very Internet slow. Even Microsoft' s site is 1/2 the loading speed compared to what it use to be 1 year ago. I' ve also noticed this on a few other sites that converted their development to the .net platform.

Your site does load in a little slow. I saw no .bmp files in your code. That' s GOOD... .bmp' s and .gif' s seem to be the slowest. Try converting your graphics to .jpg. This might help a little.



_____________________________


(in reply to makphisto)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> Custom Counters
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts