Topic: Access Log / Tracker

Just wondering whether punbb natively logs accesses by forum members somewhere?  Just would like to find out how frequently people check in throughout the day...

I know there's the who's online list at the bottom, but that's only for a particular moment in time.

TIA
Jules

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

Re: Access Log / Tracker

No, it doesn't. You'd have to rely on your Apache server logs for that.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Access Log / Tracker

Sure, but you don't necessarily know which IP address/host corresponds to which user...

It would be easier to implement an access log via punbb methinks...

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

Re: Access Log / Tracker

I notice that there is an "online" table which stores the users/guests currently online.

Could you tell me which part of the code this table gets populated / cleaned up from?

I could probably modify the code there to log to a file...

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

Re: Access Log / Tracker

In the function update_users_online() in functions.php.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Access Log / Tracker

Awesome!  Thanks! smile

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

7 (edited by cuteseal 2004-11-17 07:07)

Re: Access Log / Tracker

Ok cool... I got something rudimentary working in the form of tracking accesses to the forums.

http://www.shuttertalk.com/forums/access.php

It shows who's accessing the forums (users and guests) in 15 min intervals for the last 24 hours.  I can now tell how many of my guests/members actually visit and correlate that to who actually posts.  Whoa, lurkers galore! smile

Anyway, please let me know what you think!

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

Re: Access Log / Tracker

I'm thinking possible features to implement could be --

* graphing (my gd/imagemagick skills aren't up to scratch though... maybe someone could help?)

* configurable periods etc.

* summary stats (e.g. top users, number of posts/viewtopics/searches etc.)

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com