PDA

View Full Version : Individual Forum Traffic


drumsy
03-26-2002, 12:52 AM
I'm interested in seeing how each individual forum is doing traffic wise. Yes I can see total number of posts/threads, but I'd like to get an idea of the frequency/amount of people/etc...kind of stats for each individual forum. Any ideas?

Logician
03-26-2002, 11:40 AM
You'll have to create a table for this and update table data in showthread.php (and other relevant files) and record data like visit time, visiting member id, visited thread etc.

Then you have to have an individual script which will compile data from this table according to your wishes to see your statistics. This script (or another one) should be able to clear the table data whenever needed so that you table does not get too large.

This hack is not a simple code change, you have to commit sometime for this. Moreover remember that you'll have 1 extra SQL query whenever someone visits a forum/thread, decreasing your board performance. Good knowledge of PHP is needed to code this hack..

drumsy
03-26-2002, 08:38 PM
Originally posted by Logician
You'll have to create a table for this and update table data in showthread.php (and other relevant files) and record data like visit time, visiting member id, visited thread etc.

Then you have to have an individual script which will compile data from this table according to your wishes to see your statistics. This script (or another one) should be able to clear the table data whenever needed so that you table does not get too large.

This hack is not a simple code change, you have to commit sometime for this. Moreover remember that you'll have 1 extra SQL query whenever someone visits a forum/thread, decreasing your board performance. Good knowledge of PHP is needed to code this hack..

Alright.....you scared me away from this one, never mind! :p