SQL Query To View A Private Message

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • McLarenDan
    New Member
    • Jan 2013
    • 27
    • 4.2.X

    SQL Query To View A Private Message

    Hi,

    Is there such a query to view a certain users messages?

    I saw one for vB 3.X

    SELECT message FROM pmtext WHERE fromuserid = XXX;

    But these tables don't exist in vB5... Any advice?
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24288
    • 6.0.X

    #2
    vB5 uses completely different database structures so there's no way to easily do that.
    You're better off looking directly in the database, at the "text" table, this contains the text for all content types.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • McLarenDan
      New Member
      • Jan 2013
      • 27
      • 4.2.X

      #3
      Thanks for this Mark, I found the info I wanted.

      Comment

      Related Topics

      Collapse

      Working...