 | |  |
 |

Benjamin
Staff

Jun 4, 2003, 3:55 PM
Post #1 of 17
(8387 views)
Shortcut
|
|
Hitcounter add-on?
|
Can't Post
|
|
Hey guys, I just read the hitcounter thread, and thought that might be a fun little project to work on. Here's how I'm thinking of putting it together - any and all feedback would be appreciated. What are the drawbacks to the following approach? Can you think of better ways to do it? hitcounter.cgi - this file would be pulled into your published article pages via an SSI, like so: <!--#include virtual='/path/to/exec/hitcounter.cgi?art_num=$art_num$'--> Then, the script examines the article number and outputs the hitcount for that article. Q: What's the best way to store the hitcounter info? Originally, I thought of just sticking it in a single file, but with thousands of articles, this would take increasingly longer times to parse through, grab the current hitcount for the article page, resave the page, then output the hitcount. I'm starting to think that having a single file per article might be the way to go, although a bit messy... we would have to have a separate /hitcount directory somewhere to store all the separate files... By having a single file per article, we would keep everything running quickly - plus (if we wished) we could even store additional information about the page for future information gathering. Also, to prevent people just clicking refresh again and again to up the stats, I'd include a IP buffer file, which stores (say) the last 5 people's IP addresses who've visited the page. If their IP is listed in that file, then the hitcounter wouldn't be incremented. We could do this with cookies, but I'd like to make it tougher to get around than that. Anyway. I've taken a look at look at some other page counters and haven't been too impressed - the best ones are database driven, but I don't want to write something that requires that. Comments? Having said all this, would this be a handy add-on?! Ben interactivetools.com
|
|
|  |
 |

samicat
New User
Jun 10, 2003, 10:19 AM
Post #2 of 17
(8360 views)
Shortcut
|
And Yes again! A decent hit-counter would indeed be a very very very neat thing to have. Neat as in "ABSOLUTE NECESSITY" & neat or as in "This is one of the two only reasons why I haven't bought RM/AM yet because I am looking for other similar programs that DO offer hit counters out of the box." So when can we get it?
|
|
|  |
 |

Benjamin
Staff

Jun 10, 2003, 1:16 PM
Post #3 of 17
(8353 views)
Shortcut
|
|
Re: [samicat] Hit-counter YES YES YES!
[In reply to]
|
Can't Post
|
|
Nice to hear it'll be useful! Theo, our Project Manager suggested I release it in stages. For your info, here's the rough plan: Step 1: get hitcounter.cgi script written. I've written a simple PHP version (my native language), and I'm porting it over to Perl, so it'll be compatible with all our products. I hope to get it finished within the week. Step 2: write a 'clean.cgi' script, to update the hitcounter.txt file (the place which stores all the hitcounts, etc). This will cross-reference the Article / Realty / Auto Manager data file and remove all redundant info. This'll keep the hitcounter as small as possible, and keep the hitcounter file-parsing quick. Step 3: write an additional script for stats reporting. This could keep track of the most popular articles / listings, for example. So there's lots to do! But I will focus on getting a simple initial script out the door as soon as possible. Ben interactivetools.com
|
|
|  |
 |

Maurice
User
Jun 11, 2003, 1:03 AM
Post #4 of 17
(8346 views)
Shortcut
|
|
Re: [Benjamin] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
Nice a hitcounter. when is it ready? you could also make a 5 star rate system the same way. ------------------------------------------- www.intraserve.nl we buildt: http://www.buitenhuis.nl http://www.squerist.nl http://www.movb.nl http://www.lvsvo.aimfor.nl/ http://www.vanstraten.net http://www.beukenrode.nl http://www.kydonk.nl http://www.geneeskundigevereniging.nl http://www.nvzd.nl http://www.geneeskundigevereniging.nl http://www.vhmz.nl http://www.generate-it.nl http://www.florint.nl
|
|
|  |
 |

Benjamin
Staff

Jun 11, 2003, 9:43 AM
Post #5 of 17
(8340 views)
Shortcut
|
|
Re: [Maurice] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
What a good idea... I could probably just combine them, so that it stores both the hitcounts and the rating in the same data file. [ I'm having a 'why didn't *I* think of that?' moment. ] But uh-oh.. feature creep. Let me get the hitcounter done first, then we'll go from there. I hope to get the preliminary version done within the week. Ben interactivetools.com
|
|
|  |
 |

Maurice
User
Jun 11, 2003, 12:51 PM
Post #6 of 17
(8334 views)
Shortcut
|
|
Re: [Benjamin] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
Tip http://www.interneat.ca/index2.php?id=neatrate&p=neatratetop I use it, it's a good sollution for a simple 5 star rating. Maurice ------------------------------------------- www.intraserve.nl we buildt: http://www.buitenhuis.nl http://www.squerist.nl http://www.movb.nl http://www.lvsvo.aimfor.nl/ http://www.vanstraten.net http://www.beukenrode.nl http://www.kydonk.nl http://www.geneeskundigevereniging.nl http://www.nvzd.nl http://www.geneeskundigevereniging.nl http://www.vhmz.nl http://www.generate-it.nl http://www.florint.nl
|
|
|  |
 |

Benjamin
Staff

Jun 11, 2003, 12:57 PM
Post #7 of 17
(8333 views)
Shortcut
|
|
Re: [Maurice] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
Cool! Thanks for the link - very handy. It does look pretty simple to use. Presumably you use it in your own pages by pulling it in via an SSI? I was thinking of doing precisely the same thing, only the id would be the unique article / listing number. Don't think I'll charge for mine, though :-) Ben interactivetools.com
|
|
|  |
 |

Maurice
User
Jun 11, 2003, 1:09 PM
Post #8 of 17
(8331 views)
Shortcut
|
|
Re: [Benjamin] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
Yes it uses a virtuale include Quote ------------------------------------------------------- Don't think I'll charge for mine, though :-) ------------------------------------------------------- but this one is ready when is yours? so hurry and get working on it. Maurice ------------------------------------------- www.intraserve.nl we buildt: http://www.buitenhuis.nl http://www.squerist.nl http://www.movb.nl http://www.lvsvo.aimfor.nl/ http://www.vanstraten.net http://www.beukenrode.nl http://www.kydonk.nl http://www.geneeskundigevereniging.nl http://www.nvzd.nl http://www.geneeskundigevereniging.nl http://www.vhmz.nl http://www.generate-it.nl http://www.florint.nl
|
|
|  |
 |

Benjamin
Staff

Jun 11, 2003, 1:26 PM
Post #9 of 17
(8330 views)
Shortcut
|
|
Re: [Maurice] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
hahah :-) The pressure's on ;-) Ben interactivetools.com
|
|
|  |
 |

Benjamin
Staff

Jun 21, 2003, 8:41 PM
Post #10 of 17
(8295 views)
Shortcut
|
|
Re: [Maurice] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
Hey Maurice, Could you send me a URL to a page using the neatrate add-on you mentioned. I'd be very curious to see how it handles itself via an SSI. Thanks. :-) Ben interactivetools.com
|
|
|  |
 |

Maurice
User
Jun 22, 2003, 2:04 PM
Post #11 of 17
(8288 views)
Shortcut
|
|
Re: [Benjamin] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
i could send u the script. good idea? Maurice ------------------------------------------- www.intraserve.nl we buildt: http://www.buitenhuis.nl http://www.squerist.nl http://www.movb.nl http://www.lvsvo.aimfor.nl/ http://www.vanstraten.net http://www.beukenrode.nl http://www.kydonk.nl http://www.geneeskundigevereniging.nl http://www.nvzd.nl http://www.geneeskundigevereniging.nl http://www.vhmz.nl http://www.generate-it.nl http://www.florint.nl
|
|
|  |
 |

etfreedman
User
Feb 14, 2004, 3:53 PM
Post #12 of 17
(7658 views)
Shortcut
|
|
Re: [Benjamin] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
Hi, Benjamin did you manage to develop this script? If so, where is it available from please? Thanks Terry Articles about information & communication technology http://www.terry-freedman.org.uk
|
|
|  |
 |

Donna
Staff
/ Moderator

Feb 15, 2004, 12:43 PM
Post #13 of 17
(7651 views)
Shortcut
|
|
Re: [etfreedman] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
Hi Terry, Thanks for your post. :) Currently, there's no hitcounter add-on available. thanks for your interest. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

svsanchez
User
Sep 10, 2005, 3:44 PM
Post #14 of 17
(5723 views)
Shortcut
|
|
Re: [Donna] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
Hello, is it ready yet?!?!
|
|
|  |
 |

ross
Staff
/ Moderator

Sep 11, 2005, 9:07 AM
Post #15 of 17
(5714 views)
Shortcut
|
|
Re: [svsanchez] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
Hi svsanchez. Thanks for posting! The hitcounter addon was actually released in this thread: http://www.interactivetools.com/forum/gforum.cgi?post=13688#13688 Let me know what you think . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 | |  |
 |

ross
Staff
/ Moderator

Oct 30, 2005, 11:04 AM
Post #17 of 17
(5229 views)
Shortcut
|
|
Re: [jlavery] Hitcounter add-on?
[In reply to]
|
Can't Post
|
|
Hi James. Thanks for posting! That thread was moved into a hidden forum so that would be why you are getting the access denied message; only the itools guys can get in there . If you wanted to get a copy of that script though, just send me an email and I can send it out for you. support@interactivetools.com I look forward to hearing from you . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|