Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 database less pagecounter
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

martinx
Starting Member

15 Posts

Posted - 10 April 2003 :  04:08:00  Show Profile
hi there i have another question.
how would you realize a each page counter without a database (or is there a fast solution with database ? )
i wanna count each page by day,month,week. if the day are over i wanna move this day value to ???? to have the value from
the last day. and begin (at 00:00 o'clock) with zero for this day.
martin

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 10 April 2003 :  04:20:30  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Take a look at the Sitestat MOD, you can choose to save the collected data to a textfile or in the database.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

martinx
Starting Member

15 Posts

Posted - 10 April 2003 :  05:19:23  Show Profile
quote:
Originally posted by OneWayMule

Take a look at the Sitestat MOD, you can choose to save the collected data to a textfile or in the database.



hi onewaymule, i have just test it , but it counts only the pages i visit. ALL Pages . but i'am looking for a text based counter that counts each page with it's own id, so i can see the most wanted pages

for example i call on each page a counter (or what else) with it's own unique id
call pagecount(XXXID)


in the sitestat i have only
Y2003|M4|D10|9|9|0|6|6|0
a counter for all pages ...


Edited by - martinx on 10 April 2003 05:20:20
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 10 April 2003 :  05:24:18  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Then I' recommend StatCounteX (uses a database though).

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

rgrund
Junior Member

Austria
206 Posts

Posted - 10 April 2003 :  09:51:29  Show Profile
Hi Matrinx,

I have written the sitestat MOD.

if you want I can change the script so that it writes the page into the txt file as well. Please note that this will be a special feature just for you. Also note that txt file will get LARGE! You should really us for this a DB!

If you still want it, just email me!

Bob

Internet should be OPENSOURCEd!
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 10 April 2003 :  10:39:44  Show Profile  Visit dayve's Homepage
here is a built in counter that works on IIS5 and IIS6

on any ASP page add this:


<% 
Set MyPageCounter = Server.CreateObject("MSWC.PageCounter")
MyPageCounter.PageHit  
%>


then wherever you want to display the counter add this:


Page Hits: <% =formatnumber(MyPageCounter.Hits,0)  %> 


More information about this object and what else you can do with it can be found here:

http://www.microsoft.com/windows2000/en/advanced/iis/default.asp?url=/WINDOWS2000/en/advanced/iis/htm/asp/comp00vo.htm


Edited by - dayve on 10 April 2003 10:40:10
Go to Top of Page

martinx
Starting Member

15 Posts

Posted - 11 April 2003 :  03:22:32  Show Profile
hi guys , thanks for your help. but i have decided to develop my own counter with that features i want to have.
day counter , hits yesterday,hits per week on this page, month and year . and so on...
thanks martin
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 11 April 2003 :  20:38:57  Show Profile  Visit dayve's Homepage
you're doing all of this without a database?

Go to Top of Page

martinx
Starting Member

15 Posts

Posted - 14 April 2003 :  04:49:19  Show Profile
quote:
Originally posted by dayve

you're doing all of this without a database?



now not .. i do all in database :) . i have developed my own (fast )
page count system. incl. nightly count transfer to the day before counter , week, month and year counter. now it is fully customized and i can do what I want .i have no system like mine found . so i done it for myselve .
martin
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 14 April 2003 :  12:09:31  Show Profile  Visit dayve's Homepage
well that changed everything for everyone's response. I am sure we all could have gotten you some great database driven counters/statistics code.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07