Announcement

Collapse
No announcement yet.

PHPBB to vBulletin Conversion - Question about PM's

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHPBB to vBulletin Conversion - Question about PM's

    Hi,

    I just converted a set of forums from PHPBB to vBulletin and everything went over smoothly, except for the fact that any PM's that were in the Savebox in PHPBB can't be found. Are those transferred over?

    And if so, where would they be found?

    Thanks,
    Craig

  • #2
    They arn't imported, just the ones in groups 0,1,5.

    This can be changed though you would need to know which is the save box.
    I wrote ImpEx.

    Blog | Me

    Comment


    • #3
      Originally posted by Jerry
      They arn't imported, just the ones in groups 0,1,5.

      This can be changed though you would need to know which is the save box.
      How would I go about finding out which one is the save box and then importing them?

      Craig

      Comment


      • #4
        Well these are the types :

        define('PRIVMSGS_READ_MAIL', 0);
        define('PRIVMSGS_NEW_MAIL', 1);
        define('PRIVMSGS_SENT_MAIL', 2);
        define('PRIVMSGS_SAVED_IN_MAIL', 3);
        define('PRIVMSGS_SAVED_OUT_MAIL', 4);
        define('PRIVMSGS_UNREAD_MAIL', 5);

        So is it your saved in or out mail you want ?

        You are going to have to edit two files to get this to work, once we have figured out which ones you want.
        I wrote ImpEx.

        Blog | Me

        Comment


        • #5
          Saved In Mail.

          Craig

          Comment


          • #6
            3 then.

            I take it you are importing from the MySQL version ? If so :

            1st file to edit : impex/systems/phpBB2/000.php around line 1135 is this :

            Code:
            WHERE privmsgs_type IN (0,1,5)
            Change that to :

            Code:
            WHERE privmsgs_type IN (0,1,3,5)
            2nd file to edit : impex/systems/phpBB2/011.php around line 123 is this :

            Code:
            // 0,1,5 allowed, skip an all others
            switch($pm['privmsgs_type'])
            {
            	case 0:
            	case 1:
            	case 5:
            		break;
            	default:
            		continue;
            }
            Change that to :


            Code:
            // 0,1,3,5 allowed, skip an all others
            switch($pm['privmsgs_type'])
            {
            	case 0:
            	case 1:
            	case 3:
            	case 5:
            		break;
            	default:
            		continue;
            }
            Then that should save the "save_in" email in the in folder of the reciver and one in the sent folder of the sender.
            I wrote ImpEx.

            Blog | Me

            Comment


            • #7
              Originally posted by Jerry
              3 then.

              I take it you are importing from the MySQL version ? If so :

              1st file to edit : impex/systems/phpBB2/000.php around line 1135 is this :

              Code:
              WHERE privmsgs_type IN (0,1,5)
              Change that to :

              Code:
              WHERE privmsgs_type IN (0,1,3,5)
              2nd file to edit : impex/systems/phpBB2/011.php around line 123 is this :

              Code:
              // 0,1,5 allowed, skip an all others
              switch($pm['privmsgs_type'])
              {
              	case 0:
              	case 1:
              	case 5:
              		break;
              	default:
              		continue;
              }
              Change that to :


              Code:
              // 0,1,3,5 allowed, skip an all others
              switch($pm['privmsgs_type'])
              {
              	case 0:
              	case 1:
              	case 3:
              	case 5:
              		break;
              	default:
              		continue;
              }
              Then that should save the "save_in" email in the in folder of the reciver and one in the sent folder of the sender.
              Will this erase all of the other PM's in the box? Including ones sent since the transfer?

              Also, I just run the ImPex again and just run the PM's portion, right?

              Thanks!

              Craig

              Comment


              • #8
                Originally posted by Sinko
                Will this erase all of the other PM's in the box? Including ones sent since the transfer?

                Also, I just run the ImPex again and just run the PM's portion, right?

                Thanks!

                Craig
                If you re-run the PM import module it will clean out all the imported ones then do them again.
                I wrote ImpEx.

                Blog | Me

                Comment


                • #9
                  Originally posted by Jerry
                  If you re-run the PM import module it will clean out all the imported ones then do them again.
                  But leave the new ones made since in there?

                  Craig

                  Comment


                  • #10
                    Originally posted by Sinko
                    But leave the new ones made since in there?

                    Craig
                    New ones in the vBulletin database as the board is running live ?

                    If thats what you mean, then yes, as the new ones will not have importid's so ImpEx wont see them.

                    Though as always when acting on a live database back it up before you do anything.
                    I wrote ImpEx.

                    Blog | Me

                    Comment

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