phpBB3 to vbulletin 4 private message folders corrupt after import?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MrKing
    New Member
    • Dec 2009
    • 8
    • 3.8.x

    phpBB3 to vbulletin 4 private message folders corrupt after import?

    after using impex to convert phpBB3 to vbulletin 4 the private messages that should be in the saved sent folder are showing in the inbox along with the received messages (folders are mixed)? and the saved sent folder is empty.

    can this be fixed? is it a common problem?

    Thanks
  • MrKing
    New Member
    • Dec 2009
    • 8
    • 3.8.x

    #2
    is there a sql query i can use to move the messages created/sent by the inbox owner to the saved sent folder myself ? leaving only the received messages in the inbox.

    Thanks

    Comment

    • Jake Bunce
      Senior Member
      • Dec 2000
      • 46598
      • 3.6.x

      #3
      Originally posted by MrKing
      is there a sql query i can use to move the messages created/sent by the inbox owner to the saved sent folder myself ? leaving only the received messages in the inbox.

      Thanks
      Run this query on your database. Backup first:

      Code:
      UPDATE pm AS pm
      SET pm.folderid = -1
      WHERE pm.folderid = 0
      AND pm.userid = (
      	SELECT pmtext.fromuserid
      	FROM pmtext AS pmtext
      	WHERE pmtext.pmtextid = pm.pmtextid
      );
      That should do it. It works in my testing.

      Comment

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