FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Forum Statistics
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Forum Statistics [message #7388] Wed, 20 November 2002 22:17 Go to next message
djdaddybob   United States
Messages: 73
Registered: September 2002
Karma: 0
Member
We are interested in determining some statistics of our forum in greater detail than what the admin control panel currently provides. For instance, it would be nice to display stats such as the number of posts per user, length of time taken for a user's post to receive a response, etc. The date and time of each post is stored someplace as that information appears on the screen. How difficult would it be to access the areas of the database to pull this type of information for a customized statistics page for our forum? Where would I begin to look in the database or someplace else? Thanks.
Re: Forum Statistics [message #7394 is a reply to message #7388] Thu, 21 November 2002 07:25 Go to previous messageGo to next message
Raven17 is currently offline  Raven17   United States
Messages: 32
Registered: September 2002
Location: Southern California
Karma: 0
Member
djdaddybob wrote on Wed, 20 November 2002 14:17

We are interested in determining some statistics of our forum in greater detail than what the admin control panel currently provides. For instance, it would be nice to display stats such as the number of posts per user, length of time taken for a user's post to receive a response, etc. The date and time of each post is stored someplace as that information appears on the screen. How difficult would it be to access the areas of the database to pull this type of information for a customized statistics page for our forum? Where would I begin to look in the database or someplace else? Thanks.


The number of posts per user IS viewable already under the 'Members' button. Or you could certainly write a SQL query against "posted_msg_count" in the table "fud2_users". Posting time and update stamps are stored in the table "fud2_msg".

Hope that gets you started.
Re: Forum Statistics [message #7400 is a reply to message #7394] Thu, 21 November 2002 14:32 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I'd imagine most of the data you seek is already in the database, some of the things you've mentioned are already displayed, like post counts & posts_per_user/per_day.

FUDforum Core Developer
Re: Forum Statistics [message #7411 is a reply to message #7394] Thu, 21 November 2002 17:43 Go to previous messageGo to next message
djdaddybob   United States
Messages: 73
Registered: September 2002
Karma: 0
Member
I've seen the user postings under the Members button but the problem with this is I have to click twice for each user to find out this information. If you have over 100 members this can be rather tedious. It would be great if this statistic was provided in the 'statistics' page of the forum. I will try the direct database query and see how that works. Thanks!


>Raven17 wrote on Thu, 21 November 2002 01:25
>
>The number of posts per user IS viewable already under >the 'Members' button. Or you could certainly write a SQL query >against "posted_msg_count" in the table "fud2_users". Posting >time and update stamps are stored in the table "fud2_msg".
>
>Hope that gets you started.
Re: Forum Statistics [message #7412 is a reply to message #7400] Thu, 21 November 2002 17:47 Go to previous messageGo to next message
djdaddybob   United States
Messages: 73
Registered: September 2002
Karma: 0
Member
Thanks! I'll give that a shot. I've actually done a datadump of the forums's database via phpmyadmin. In looking through that file it seemed like some of the forum data was missing. Is there anyother place where the forum information is saved, besides the database?
Re: Forum Statistics [message #7413 is a reply to message #7412] Thu, 21 November 2002 17:59 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
All of the forum data with the exception of the messages bodies & file attachments (the actual files) is stored in the database.

FUDforum Core Developer
Re: Forum Statistics [message #7414 is a reply to message #7413] Thu, 21 November 2002 19:03 Go to previous messageGo to next message
djdaddybob   United States
Messages: 73
Registered: September 2002
Karma: 0
Member
Where exactly are the message bodies and attachments stored on the server? Are the dates and times of the messages saved with the messages or only in the database? One of the things were are needing to do is compile a listing of all postings to the forum, when they were made, by whom, etc.
Re: Forum Statistics [message #7415 is a reply to message #7414] Thu, 21 November 2002 21:41 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Attachments are stored inside the files/ directory, messages are stored inside the messages/ directory.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Avatar Manager Error
Next Topic: HELP! Restoring data after clearing some tables
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 19:37:35 GMT 2024

Total time taken to generate the page: 0.04530 seconds