Views of threads started by userid?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beano33
    Member
    • Jun 2003
    • 89

    Views of threads started by userid?

    I assume this might be done with a query. What I'm looking to get is the number of views for threads started by a specific userid. In this case it's an RSS bot that I use to provide feeds across multiple forums. Can this be done? Thanks!
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    This query should do it:

    Code:
    SELECT SUM(views)
    FROM thread
    WHERE postuserid = [color=red]X[/color]
    Where X is the userid your RSS poster.

    Comment

    • beano33
      Member
      • Jun 2003
      • 89

      #3
      Thanks! Where do I find the ballot bot to vote you most helpful?

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...