WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Site Counter
Feature Suggestion

Version:
printPrint


Site Counter
Quantum
Forum Regular

Usergroup: Member
Joined: Jul 01, 2003
Total Topics: 39
Total Posts: 173
Posted 09/18/04 - 02:00 AM:
quote post
#1
I'd like to add a "site counter" as a feature suggestion. Meaning a simple counter which shows how many people have visited your site in a given period of time.

Simplest would be simply a variable which shows the number. That might already be possible using one of the ONLINE variables (couldn't find one in the manual though).

A slightly more complex way might be be adding an option for people to use 10 different image files for displaying the numbers 0 - 10.

Note: I know there are a number of free services around which do exactly this for you. It'd be easier (and better maintainable) though if it'd be done from the program itself.

Note 2: Strangely enough site logging programs (which give extremely detailed stats) don't seem to have an option to show a counter to all visitors.
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 146
Total Posts: 391
Posted 09/18/04 - 05:19 AM:
quote post
#2
Would like to suggest a counter per category too,
to count the times a category has being visited.
It would be very interesting for admin and users to know the category with more interest on it.
din
Experienced
Avatar

Usergroup: Customer
Joined: May 12, 2003
Total Topics: 7
Total Posts: 56
Posted 09/18/04 - 06:51 AM:
quote post
#3
I wrote a very small counter script that uses a text file database, it counts unique visits and page views and does a little math. it counts page hits site wide. It is also supposed to refresh itself every 30 days, so the file doesn't get unmanagable, but keeps a running tab on the grand totals. I haven't had it up long enough to know if that particular feature works outside of production though.

It might be a much smoother implementation having it in WSNlinks itself, using mySQL, maybe switches and stuff, but for me I like it simple.

I never thought of doing it by category.

Those who say do not know
Those who know do not say
NewsArray News Directory
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 09/18/04 - 07:20 AM:
quote post
#4
We already have a views counter for categories, as was suggested by someone (Jenny I think, in the WSN Gallery forum) a while back. {CATVIEWS} I think it is but check the manual.

No plans for an overall site counter, since that's nothing you need WSN Links for.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Quantum
Forum Regular

Usergroup: Member
Joined: Jul 01, 2003
Total Topics: 39
Total Posts: 173
Posted 09/18/04 - 05:10 PM:
quote post
#5
Paul wrote:
We already have a views counter for categories, as was suggested by someone (Jenny I think, in the WSN Gallery forum) a while back. {CATVIEWS} I think it is but check the manual.

Does this one take into account unique visits or does it simply count every view? If not: That should be a useful addition (counting unique views instead of all views).

Paul wrote:
No plans for an overall site counter, since that's nothing you need WSN Links for.

Pity.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 09/19/04 - 08:01 AM:
quote post
#6
It uses the same cookie method as the link hits counter, where you set in your admin panel how long is required between views to count as unique.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Quantum
Forum Regular

Usergroup: Member
Joined: Jul 01, 2003
Total Topics: 39
Total Posts: 173
Posted 10/17/04 - 05:24 AM:
quote post
#7
Note to self: Try making a hack based on total catviews or online members.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.