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

Home » FUDforum » How To » Can we count views as well as posts?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Can we count views as well as posts? [message #17938 is a reply to message #17924] Mon, 26 April 2004 17:37 Go to previous messageGo to previous message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma:
Senior Member
I am not making clear how clueless I am. Mathematics or arithmetic I can handle, although it is nice if there isn't any. My problem is in knowing what to do and how and where to do it in order to retrieve the views value from the threads table (without screwing up my installation). Here is what I would assume:
I would be creating a stand-alone function or utility, in php, which would open the threads table. I think I found the structure of the threads table, so I would be looking for the views value. I don't see a mysql table named "threads", but I can keep looking until I do. Once found and opened, I would loop through the entire table, accumulating the total views by adding in the views value for each thread. I would report this value, close the threads table and terminate.
Am I anywhere close?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Installer Logic
Next Topic: How to Change User Profiles Globally
Goto Forum:
  

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

Current Time: Tue Nov 26 05:24:29 GMT 2024

Total time taken to generate the page: 0.04110 seconds