visualize activity on a website

This is a discussion on "visualize activity on a website" within the JavaScript Forum section. This forum, and the thread "visualize activity on a website are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jan 17th, 2008, 07:52
New Member
Join Date: Jan 2008
Location: colony: moon
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
visualize activity on a website

hi all --

I've been asking this around.

I'd like to have a real time visualization of all the visitors on my website. That is, a list of all the people currently on each page, updated in real time.
Does anyone have an approach they could share? I'm curious what technologies people find useful for this kind of thing.

Also, if you don't mind, if you were to code something like this, how many hours do you think it would take?

Regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jan 17th, 2008, 07:56
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: visualize activity on a website

It would be a combination of a database, javascript and server side scripting language.

I would use mySQL and then PHP for the ajax....

If you already have the database with users etc, it would take only a couple of hours but if you're coding the user database and PHP from scratch it could take anywhere from 4-15 hours depending on what info and how solid you need.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jan 17th, 2008, 08:20
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: visualize activity on a website

I am currently on this tutorial too...
I might stick for this..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jan 17th, 2008, 16:36
Reputable Member
Join Date: Nov 2007
Location: India
Posts: 150
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: visualize activity on a website

I already use one such script:
You can see it at http://www.biologyformhtcet.com/wus.html
You would need a password to access that page.
Use the folowing login details
Username: rohan
password: webforumz

It uses PHP-MySQL.

I can even see bots with that! Thats an added advantage over statcounter, etc!
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jan 17th, 2008, 16:57
Reputable Member
Join Date: Nov 2007
Location: India
Posts: 150
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: visualize activity on a website

Quote:
Originally Posted by Monie View Post
I am currently on this tutorial too...
I might stick for this..
I too was thinking about this when I read that creative coding needed 2 tutorials.
What language will you be using. I am using PHP-MySQL. I just hope that we both don't submit the same content!

and yeah, I am making some improvements to the already existing script of mine!

and yeah one more thing, do you remember that javascript MCQs script I was working on? Well, I completed it but dropped it when I realized the power of PHP-MySQL. (I know its foolish of me that I imagined that I could do it better with JavaScript )
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jan 17th, 2008, 20:46
New Member
Join Date: Jan 2008
Location: colony: moon
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: visualize activity on a website

thanks for all these starting points! I'll look forward to a tutorial or two in the future!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jan 17th, 2008, 23:28
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: visualize activity on a website

Hai Rohan, I am using ASP-MySQL. Currently learning PHP!

Could you be more specific with your link there ^, coz I am not sure what the pages are all about! I thought it was some kind of a sample working tutorial of AJAX
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jan 18th, 2008, 00:15
Reputable Member
Join Date: Jan 2008
Location: Pasig
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Re: visualize activity on a website

I'm using PHP/MySql, CSS, and little javascript. I have no idea how many hours it will take. It depends on the person's skills and knowledge about the said languages...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Jan 18th, 2008, 00:50
Reputable Member
Join Date: Nov 2007
Location: India
Posts: 150
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: visualize activity on a website

Quote:
Originally Posted by Monie View Post
Hai Rohan, I am using ASP-MySQL. Currently learning PHP!

Could you be more specific with your link there ^, coz I am not sure what the pages are all about! I thought it was some kind of a sample working tutorial of AJAX
It shows me activity on my website. I can track users, the time he spends, the pages he views, the no. of times he visits my website, etc. I have increased the no. of records to be shown to 150. See it now.

Coloumn 1: Id: It is the record no in the database.
Col 2: Unique ID: When a visitor comes first time to my site, I set a cookie containing the date and time of first visit. This allows me to have approx. time hes been tracking my site.

Col 3: Date and time: Shows date and time of the activity
Col4 and 5: IP address and Hostname of visitor
Col 6: Page visited by visitor
Col 7: The Referrer
Col 8: Client specifications such as OS, browser name and version, etc.

I have already thought some improvements for it. Just need to translate it into code!
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Jan 18th, 2008, 00:53
Reputable Member
Join Date: Nov 2007
Location: India
Posts: 150
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: visualize activity on a website

Quote:
Originally Posted by sekuchi View Post
I'm using PHP/MySql, CSS, and little javascript. I have no idea how many hours it will take. It depends on the person's skills and knowledge about the said languages...
Me used PHP-MySQL and completed it within 2 hrs. Of course some part of it was etched in my mind. not counting that!

Its simple. Just obtain the variables and insert them into the database.
To view the statistics, just run a select query from the database.
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Jan 18th, 2008, 05:35
Highly Reputable Member
Join Date: Apr 2007
Location: Willich, Germany
Age: 20
Posts: 593
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: visualize activity on a website

Another option would be to use a currently existing system like Mint and then write your own plugins or custom queries on the database....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
activity logs luv2php PHP Forum 4 Jun 13th, 2008 01:04
Last Visit? Last Activity? Monie Classic ASP 5 Jan 3rd, 2008 01:59


All times are GMT. The time now is 12:31.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42