Skip to:
Content

bbPress.org

Changeset 5526


Ignore:
Timestamp:
09/19/2014 11:34:18 AM (10 years ago)
Author:
netweb
Message:

Importer templates updates to coincide with r5525 changeset to differentiating original forum, topic and reply meta ID's from new bbPress post meta keys.

  • Renames _bbp_forum_id to _bbp_old_forum_id
  • Renames _bbp_topic_id to _bbp_old_topic_id
  • Renames _bbp_post_id to _bbp_old_reply_id

See #2650

Location:
trunk/src/includes/admin/converters
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/converters/AEF.php

    r5516 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forums',
    3131            'from_fieldname' => 'fid',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    148148        /** Topic Section *****************************************************/
    149149
    150         // Topic id (Stored in postmeta)
     150        // Old topic id (Stored in postmeta)
    151151        $this->field_map[] = array(
    152152            'from_tablename' => 'topics',
    153153            'from_fieldname' => 'tid',
    154154            'to_type'        => 'topic',
    155             'to_fieldname'   => '_bbp_topic_id'
     155            'to_fieldname'   => '_bbp_old_topic_id'
    156156        );
    157157
     
    326326        /** Reply Section *****************************************************/
    327327
    328         // Reply id (Stored in postmeta)
     328        // Old reply id (Stored in postmeta)
    329329        $this->field_map[] = array(
    330330            'from_tablename'  => 'posts',
    331331            'from_fieldname'  => 'pid',
    332332            'to_type'         => 'reply',
    333             'to_fieldname'    => '_bbp_post_id'
     333            'to_fieldname'    => '_bbp_old_reply_id'
    334334        );
    335335
  • trunk/src/includes/admin/converters/Drupal7.php

    r5519 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'taxonomy_term_data',
    3131            'from_fieldname' => 'tid',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    118118        /** Topic Section *****************************************************/
    119119
    120         // Topic id (Stored in postmeta)
     120        // Old topic id (Stored in postmeta)
    121121        $this->field_map[] = array(
    122122            'from_tablename' => 'forum_index',
    123123            'from_fieldname' => 'nid',
    124124            'to_type'        => 'topic',
    125             'to_fieldname'   => '_bbp_topic_id'
     125            'to_fieldname'   => '_bbp_old_topic_id'
    126126        );
    127127
     
    318318        /** Reply Section *****************************************************/
    319319
    320         // Reply id (Stored in postmeta)
     320        // Old reply id (Stored in postmeta)
    321321        $this->field_map[] = array(
    322322            'from_tablename' => 'comment',
    323323            'from_fieldname' => 'cid',
    324324            'to_type'        => 'reply',
    325             'to_fieldname'   => '_bbp_post_id'
     325            'to_fieldname'   => '_bbp_old_reply_id'
    326326        );
    327327
  • trunk/src/includes/admin/converters/Example.php

    r5520 r5526  
    2828        // Setup table joins for the forum section at the base of this section
    2929
    30         // Forum id (Stored in postmeta)
     30        // Old forum id (Stored in postmeta)
    3131        $this->field_map[] = array(
    3232            'from_tablename'  => 'forums_table',
    3333            'from_fieldname'  => 'the_forum_id',
    3434            'to_type'         => 'forum',
    35             'to_fieldname'    => '_bbp_forum_id'
     35            'to_fieldname'    => '_bbp_old_forum_id'
    3636        );
    3737
     
    165165        // Setup table joins for the topic section at the base of this section
    166166
    167         // Topic id (Stored in postmeta)
     167        // Old topic id (Stored in postmeta)
    168168        $this->field_map[] = array(
    169169            'from_tablename'  => 'topics_table',
    170170            'from_fieldname'  => 'the_topic_id',
    171171            'to_type'         => 'topic',
    172             'to_fieldname'    => '_bbp_topic_id'
     172            'to_fieldname'    => '_bbp_old_topic_id'
    173173        );
    174174
     
    378378        // Setup table joins for the reply section at the base of this section
    379379
    380         // Reply id (Stored in postmeta)
     380        // Old reply id (Stored in postmeta)
    381381        $this->field_map[] = array(
    382382            'from_tablename'  => 'replies_table',
    383383            'from_fieldname'  => 'the_reply_id',
    384384            'to_type'         => 'reply',
    385             'to_fieldname'    => '_bbp_post_id'
     385            'to_fieldname'    => '_bbp_old_reply_id'
    386386        );
    387387
  • trunk/src/includes/admin/converters/FluxBB.php

    r5516 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forums',
    3131            'from_fieldname' => 'id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    138138        /** Topic Section *****************************************************/
    139139
    140         // Topic id (Stored in postmeta)
     140        // Old topic id (Stored in postmeta)
    141141        $this->field_map[] = array(
    142142            'from_tablename' => 'topics',
    143143            'from_fieldname' => 'id',
    144144            'to_type'        => 'topic',
    145             'to_fieldname'   => '_bbp_topic_id'
     145            'to_fieldname'   => '_bbp_old_topic_id'
    146146        );
    147147
     
    300300        /** Reply Section *****************************************************/
    301301
    302         // Reply id (Stored in postmeta)
     302        // Old reply id (Stored in postmeta)
    303303        $this->field_map[] = array(
    304304            'from_tablename'  => 'posts',
    305305            'from_fieldname'  => 'id',
    306306            'to_type'         => 'reply',
    307             'to_fieldname'    => '_bbp_post_id'
     307            'to_fieldname'    => '_bbp_old_reply_id'
    308308        );
    309309
  • trunk/src/includes/admin/converters/Invision.php

    r5516 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename'  => 'forums',
    3131            'from_fieldname'  => 'id',
    3232            'to_type'         => 'forum',
    33             'to_fieldname'    => '_bbp_forum_id'
     33            'to_fieldname'    => '_bbp_old_forum_id'
    3434        );
    3535
     
    148148        /** Topic Section *****************************************************/
    149149
    150         // Topic id (Stored in postmeta)
     150        // Old topic id (Stored in postmeta)
    151151        $this->field_map[] = array(
    152152            'from_tablename'  => 'topics',
    153153            'from_fieldname'  => 'tid',
    154154            'to_type'         => 'topic',
    155             'to_fieldname'    => '_bbp_topic_id'
     155            'to_fieldname'    => '_bbp_old_topic_id'
    156156        );
    157157
     
    289289        /** Reply Section *****************************************************/
    290290
    291         // Reply id (Stored in postmeta)
     291        // Old reply id (Stored in postmeta)
    292292        $this->field_map[] = array(
    293293            'from_tablename'  => 'posts',
    294294            'from_fieldname'  => 'pid',
    295295            'to_type'         => 'reply',
    296             'to_fieldname'    => '_bbp_post_id'
     296            'to_fieldname'    => '_bbp_old_reply_id'
    297297        );
    298298
  • trunk/src/includes/admin/converters/Kunena1.php

    r5521 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'kunena_categories',
    3131            'from_fieldname' => 'id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    150150        /** Topic Section *****************************************************/
    151151
    152         // Topic id (Stored in postmeta)
     152        // Old topic id (Stored in postmeta)
    153153        $this->field_map[] = array(
    154154            'from_tablename' => 'kunena_messages',
    155155            'from_fieldname' => 'thread',
    156156            'to_type'        => 'topic',
    157             'to_fieldname'   => '_bbp_topic_id'
     157            'to_fieldname'   => '_bbp_old_topic_id'
    158158        );
    159159
     
    277277        /** Reply Section *****************************************************/
    278278
    279         // Reply id (Stored in postmeta)
     279        // Old reply id (Stored in postmeta)
    280280        $this->field_map[] = array(
    281281            'from_tablename' => 'kunena_messages',
    282282            'from_fieldname' => 'id',
    283283            'to_type'        => 'reply',
    284             'to_fieldname'   => '_bbp_post_id'
     284            'to_fieldname'   => '_bbp_old_reply_id'
    285285        );
    286286
  • trunk/src/includes/admin/converters/Kunena2.php

    r5428 r5526  
    2727
    2828
    29         // Forum id (Stored in postmeta)
     29        // Old forum id (Stored in postmeta)
    3030        $this->field_map[] = array(
    3131            'from_tablename' => 'kunena_categories',
    3232            'from_fieldname' => 'id',
    3333            'to_type'        => 'forum',
    34             'to_fieldname'   => '_bbp_forum_id'
     34            'to_fieldname'   => '_bbp_old_forum_id'
    3535        );
    3636
     
    151151        /** Topic Section *****************************************************/
    152152
    153         // Topic id (Stored in postmeta)
     153        // Old topic id (Stored in postmeta)
    154154        $this->field_map[] = array(
    155155            'from_tablename' => 'kunena_topics',
    156156            'from_fieldname' => 'id',
    157157            'to_type'        => 'topic',
    158             'to_fieldname'   => '_bbp_topic_id'
     158            'to_fieldname'   => '_bbp_old_topic_id'
    159159        );
    160160
     
    296296        /** Reply Section *****************************************************/
    297297
    298         // Reply id (Stored in postmeta)
     298        // Old reply id (Stored in postmeta)
    299299        $this->field_map[] = array(
    300300            'from_tablename'  => 'kunena_messages',
    301301            'from_fieldname'  => 'id',
    302302            'to_type'         => 'reply',
    303             'to_fieldname'    => '_bbp_post_id'
     303            'to_fieldname'    => '_bbp_old_reply_id'
    304304        );
    305305
  • trunk/src/includes/admin/converters/Kunena3.php

    r5428 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'kunena_categories',
    3131            'from_fieldname' => 'id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    150150        /** Topic Section *****************************************************/
    151151
    152         // Topic id (Stored in postmeta)
     152        // Old topic id (Stored in postmeta)
    153153        $this->field_map[] = array(
    154154            'from_tablename' => 'kunena_topics',
    155155            'from_fieldname' => 'id',
    156156            'to_type'        => 'topic',
    157             'to_fieldname'   => '_bbp_topic_id'
     157            'to_fieldname'   => '_bbp_old_topic_id'
    158158        );
    159159
     
    295295        /** Reply Section ******************************************************/
    296296
    297         // Reply id (Stored in postmeta)
     297        // Old reply id (Stored in postmeta)
    298298        $this->field_map[] = array(
    299299            'from_tablename'  => 'kunena_messages',
    300300            'from_fieldname'  => 'id',
    301301            'to_type'         => 'reply',
    302             'to_fieldname'    => '_bbp_post_id'
     302            'to_fieldname'    => '_bbp_old_reply_id'
    303303        );
    304304
  • trunk/src/includes/admin/converters/Mingle.php

    r5516 r5526  
    2626        /** Forum Section ******************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forum_forums',
    3131            'from_fieldname' => 'id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    113113        /** Topic Section ******************************************************/
    114114
    115         // Topic id (Stored in postmeta)
     115        // Old topic id (Stored in postmeta)
    116116        $this->field_map[] = array(
    117117            'from_tablename' => 'forum_threads',
    118118            'from_fieldname' => 'id',
    119119            'to_type'        => 'topic',
    120             'to_fieldname'   => '_bbp_topic_id'
     120            'to_fieldname'   => '_bbp_old_topic_id'
    121121        );
    122122
     
    235235        /** Reply Section ******************************************************/
    236236
    237         // Reply id (Stored in postmeta)
     237        // Old reply id (Stored in postmeta)
    238238        $this->field_map[] = array(
    239239            'from_tablename' => 'forum_posts',
    240240            'from_fieldname' => 'id',
    241241            'to_type'        => 'reply',
    242             'to_fieldname'   => '_bbp_post_id'
     242            'to_fieldname'   => '_bbp_old_reply_id'
    243243        );
    244244
  • trunk/src/includes/admin/converters/MyBB.php

    r5516 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forums',
    3131            'from_fieldname' => 'fid',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    130130        /** Topic Section *****************************************************/
    131131
    132         // Topic id (Stored in postmeta)
     132        // Old topic id (Stored in postmeta)
    133133        $this->field_map[] = array(
    134134            'from_tablename' => 'threads',
    135135            'from_fieldname' => 'tid',
    136136            'to_type'        => 'topic',
    137             'to_fieldname'   => '_bbp_topic_id'
     137            'to_fieldname'   => '_bbp_old_topic_id'
    138138        );
    139139
     
    287287        /** Reply Section *****************************************************/
    288288
    289         // Reply id (Stored in postmeta)
     289        // Old reply id (Stored in postmeta)
    290290        $this->field_map[] = array(
    291291            'from_tablename'  => 'posts',
     
    293293            'from_expression' => 'WHERE replyto != 0',
    294294            'to_type'         => 'reply',
    295             'to_fieldname'    => '_bbp_post_id'
     295            'to_fieldname'    => '_bbp_old_reply_id'
    296296        );
    297297
  • trunk/src/includes/admin/converters/PHPFox3.php

    r5428 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forum',
    3131            'from_fieldname' => 'forum_id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    150150        /** Topic Section *****************************************************/
    151151
    152         // Topic id (Stored in postmeta)
     152        // Old topic id (Stored in postmeta)
    153153        $this->field_map[] = array(
    154154            'from_tablename' => 'forum_thread',
    155155            'from_fieldname' => 'thread_id',
    156156            'to_type'        => 'topic',
    157             'to_fieldname'   => '_bbp_topic_id'
     157            'to_fieldname'   => '_bbp_old_topic_id'
    158158        );
    159159
     
    327327        /** Reply Section *****************************************************/
    328328
    329         // Reply id (Stored in postmeta)
     329        // Old reply id (Stored in postmeta)
    330330        $this->field_map[] = array(
    331331            'from_tablename'  => 'forum_post',
    332332            'from_fieldname'  => 'post_id',
    333333            'to_type'         => 'reply',
    334             'to_fieldname'    => '_bbp_post_id'
     334            'to_fieldname'    => '_bbp_old_reply_id'
    335335        );
    336336
  • trunk/src/includes/admin/converters/PHPWind.php

    r5516 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'bbs_forum',
    3131            'from_fieldname' => 'fid',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    163163        /** Topic Section *****************************************************/
    164164
    165         // Topic id (Stored in postmeta)
     165        // Old topic id (Stored in postmeta)
    166166        $this->field_map[] = array(
    167167            'from_tablename' => 'bbs_threads',
    168168            'from_fieldname' => 'tid',
    169169            'to_type'        => 'topic',
    170             'to_fieldname'   => '_bbp_topic_id'
     170            'to_fieldname'   => '_bbp_old_topic_id'
    171171        );
    172172
     
    308308        /** Reply Section *****************************************************/
    309309
    310         // Reply id (Stored in postmeta)
     310        // Old reply id (Stored in postmeta)
    311311        $this->field_map[] = array(
    312312            'from_tablename' => 'bbs_posts',
    313313            'from_fieldname' => 'pid',
    314314            'to_type'        => 'reply',
    315             'to_fieldname'   => '_bbp_post_id'
     315            'to_fieldname'   => '_bbp_old_reply_id'
    316316        );
    317317
  • trunk/src/includes/admin/converters/Phorum.php

    r5522 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forums',
    3131            'from_fieldname' => 'forum_id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    132132        /** Topic Section *****************************************************/
    133133
    134         // Topic id (Stored in postmeta)
     134        // Old topic id (Stored in postmeta)
    135135        $this->field_map[] = array(
    136136            'from_tablename'  => 'messages',
     
    138138            'from_expression' => 'WHERE parent_id = 0',
    139139            'to_type'         => 'topic',
    140             'to_fieldname'    => '_bbp_topic_id'
     140            'to_fieldname'    => '_bbp_old_topic_id'
    141141        );
    142142
     
    274274        /** Reply Section *****************************************************/
    275275
    276         // Reply id (Stored in postmeta)
     276        // Old reply id (Stored in postmeta)
    277277        $this->field_map[] = array(
    278278            'from_tablename'  => 'messages',
     
    280280            'from_expression' => 'WHERE parent_id != 0',
    281281            'to_type'         => 'reply',
    282             'to_fieldname'    => '_bbp_post_id'
     282            'to_fieldname'    => '_bbp_old_reply_id'
    283283        );
    284284
  • trunk/src/includes/admin/converters/PunBB.php

    r5516 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forums',
    3131            'from_fieldname' => 'id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    138138        /** Topic Section *****************************************************/
    139139
    140         // Topic id (Stored in postmeta)
     140        // Old topic id (Stored in postmeta)
    141141        $this->field_map[] = array(
    142142            'from_tablename' => 'topics',
    143143            'from_fieldname' => 'id',
    144144            'to_type'        => 'topic',
    145             'to_fieldname'   => '_bbp_topic_id'
     145            'to_fieldname'   => '_bbp_old_topic_id'
    146146        );
    147147
     
    299299        /** Reply Section *****************************************************/
    300300
    301         // Reply id (Stored in postmeta)
     301        // Old reply id (Stored in postmeta)
    302302        $this->field_map[] = array(
    303303            'from_tablename'  => 'posts',
    304304            'from_fieldname'  => 'id',
    305305            'to_type'         => 'reply',
    306             'to_fieldname'    => '_bbp_post_id'
     306            'to_fieldname'    => '_bbp_old_reply_id'
    307307        );
    308308
  • trunk/src/includes/admin/converters/SMF.php

    r5516 r5526  
    2626        /** Forum Section ******************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'boards',
    3131            'from_fieldname' => 'id_board',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    146146        /** Topic Section ******************************************************/
    147147
    148         // Topic id (Stored in postmeta)
     148        // Old topic id (Stored in postmeta)
    149149        $this->field_map[] = array(
    150150            'from_tablename' => 'topics',
    151151            'from_fieldname' => 'id_topic',
    152152            'to_type'        => 'topic',
    153             'to_fieldname'   => '_bbp_topic_id'
     153            'to_fieldname'   => '_bbp_old_topic_id'
    154154        );
    155155
     
    324324        /** Reply Section ******************************************************/
    325325
    326         // Reply id (Stored in postmeta)
     326        // Old reply id (Stored in postmeta)
    327327        $this->field_map[] = array(
    328328            'from_tablename'  => 'messages',
    329329            'from_fieldname'  => 'id_msg',
    330330            'to_type'         => 'reply',
    331             'to_fieldname'    => '_bbp_post_id'
     331            'to_fieldname'    => '_bbp_old_reply_id'
    332332        );
    333333
  • trunk/src/includes/admin/converters/SimplePress5.php

    r5516 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'sfforums',
    3131            'from_fieldname' => 'forum_id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    146146        /** Topic Section *****************************************************/
    147147
    148         // Topic id (Stored in postmeta)
     148        // Old topic id (Stored in postmeta)
    149149        $this->field_map[] = array(
    150150            'from_tablename' => 'sftopics',
    151151            'from_fieldname' => 'topic_id',
    152152            'to_type'        => 'topic',
    153             'to_fieldname'   => '_bbp_topic_id'
     153            'to_fieldname'   => '_bbp_old_topic_id'
    154154        );
    155155
     
    278278        /** Reply Section *****************************************************/
    279279
    280         // Reply id (Stored in postmeta)
     280        // Old reply id (Stored in postmeta)
    281281        $this->field_map[] = array(
    282282            'from_tablename' => 'sfposts',
    283283            'from_fieldname' => 'post_id',
    284284            'to_type'        => 'reply',
    285             'to_fieldname'   => '_bbp_post_id'
     285            'to_fieldname'   => '_bbp_old_reply_id'
    286286        );
    287287
  • trunk/src/includes/admin/converters/Vanilla.php

    r5523 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename'  => 'Category',
     
    3232            'from_expression' => 'WHERE Category.CategoryID > 0',
    3333            'to_type'         => 'forum',
    34             'to_fieldname'    => '_bbp_forum_id'
     34            'to_fieldname'    => '_bbp_old_forum_id'
    3535        );
    3636
     
    152152        /** Topic Section *****************************************************/
    153153
    154         // Topic id (Stored in postmeta)
     154        // Old topic id (Stored in postmeta)
    155155        $this->field_map[] = array(
    156156            'from_tablename' => 'Discussion',
    157157            'from_fieldname' => 'DiscussionID',
    158158            'to_type'        => 'topic',
    159             'to_fieldname'   => '_bbp_topic_id'
     159            'to_fieldname'   => '_bbp_old_topic_id'
    160160        );
    161161
     
    321321        /** Reply Section *****************************************************/
    322322
    323         // Reply id (Stored in postmeta)
     323        // Old reply id (Stored in postmeta)
    324324        $this->field_map[] = array(
    325325            'from_tablename'  => 'Comment',
    326326            'from_fieldname'  => 'CommentID',
    327327            'to_type'         => 'reply',
    328             'to_fieldname'    => '_bbp_post_id'
     328            'to_fieldname'    => '_bbp_old_reply_id'
    329329        );
    330330
  • trunk/src/includes/admin/converters/XMB.php

    r5516 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forums',
    3131            'from_fieldname' => 'fid',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    148148        /** Topic Section *****************************************************/
    149149
    150         // Topic id (Stored in postmeta)
     150        // Old topic id (Stored in postmeta)
    151151        $this->field_map[] = array(
    152152            'from_tablename' => 'threads',
    153153            'from_fieldname' => 'tid',
    154154            'to_type'        => 'topic',
    155             'to_fieldname'   => '_bbp_topic_id'
     155            'to_fieldname'   => '_bbp_old_topic_id'
    156156        );
    157157
     
    326326        /** Reply Section *****************************************************/
    327327
    328         // Reply id (Stored in postmeta)
     328        // Old reply id (Stored in postmeta)
    329329        $this->field_map[] = array(
    330330            'from_tablename' => 'posts',
    331331            'from_fieldname' => 'pid',
    332332            'to_type'        => 'reply',
    333             'to_fieldname'   => '_bbp_post_id'
     333            'to_fieldname'   => '_bbp_old_reply_id'
    334334        );
    335335
  • trunk/src/includes/admin/converters/XenForo.php

    r5428 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename'  => 'node',
    3131            'from_fieldname'  => 'node_id',
    3232            'to_type'         => 'forum',
    33             'to_fieldname'    => '_bbp_forum_id'
     33            'to_fieldname'    => '_bbp_old_forum_id'
    3434        );
    3535
     
    171171        /** Topic Section *****************************************************/
    172172
    173         // Topic id (Stored in postmeta)
     173        // Old topic id (Stored in postmeta)
    174174        $this->field_map[] = array(
    175175            'from_tablename' => 'thread',
    176176            'from_fieldname' => 'thread_id',
    177177            'to_type'        => 'topic',
    178             'to_fieldname'   => '_bbp_topic_id'
     178            'to_fieldname'   => '_bbp_old_topic_id'
    179179        );
    180180
     
    317317        /** Reply Section *****************************************************/
    318318
    319         // Reply id (Stored in postmeta)
     319        // Old reply id (Stored in postmeta)
    320320        $this->field_map[] = array(
    321321            'from_tablename' => 'post',
    322322            'from_fieldname' => 'post_id',
    323323            'to_type'        => 'reply',
    324             'to_fieldname'   => '_bbp_post_id'
     324            'to_fieldname'   => '_bbp_old_reply_id'
    325325        );
    326326
  • trunk/src/includes/admin/converters/bbPress1.php

    r5517 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forums',
    3131            'from_fieldname' => 'forum_id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    151151        /** Topic Section *****************************************************/
    152152
    153         // Topic id (Stored in postmeta)
     153        // Old topic id (Stored in postmeta)
    154154        $this->field_map[] = array(
    155155            'from_tablename' => 'topics',
    156156            'from_fieldname' => 'topic_id',
    157157            'to_type'        => 'topic',
    158             'to_fieldname'   => '_bbp_topic_id'
     158            'to_fieldname'   => '_bbp_old_topic_id'
    159159        );
    160160
     
    355355        /** Reply Section *****************************************************/
    356356
    357         // Reply id (Stored in postmeta)
     357        // Old reply id (Stored in postmeta)
    358358        $this->field_map[] = array(
    359359            'from_tablename'  => 'posts',
    360360            'from_fieldname'  => 'post_id',
    361361            'to_type'         => 'reply',
    362             'to_fieldname'    => '_bbp_post_id'
     362            'to_fieldname'    => '_bbp_old_reply_id'
    363363        );
    364364
  • trunk/src/includes/admin/converters/e107v1.php

    r5516 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forum',
    3131            'from_fieldname' => 'forum_id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    148148        /** Topic Section *****************************************************/
    149149
    150         // Topic id (Stored in postmeta)
     150        // Old topic id (Stored in postmeta)
    151151        $this->field_map[] = array(
    152152            'from_tablename'  => 'forum_t',
     
    154154            'from_expression' => 'WHERE thread_parent = 0',
    155155            'to_type'         => 'topic',
    156             'to_fieldname'    => '_bbp_topic_id'
     156            'to_fieldname'    => '_bbp_old_topic_id'
    157157        );
    158158
     
    292292        /** Reply Section *****************************************************/
    293293
    294         // Reply id (Stored in postmeta)
     294        // Old reply id (Stored in postmeta)
    295295        $this->field_map[] = array(
    296296            'from_tablename'  => 'forum_t',
     
    298298            'from_expression' => 'WHERE thread_parent != 0',
    299299            'to_type'         => 'reply',
    300             'to_fieldname'    => '_bbp_post_id'
     300            'to_fieldname'    => '_bbp_old_reply_id'
    301301        );
    302302
  • trunk/src/includes/admin/converters/phpBB.php

    r5524 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forums',
    3131            'from_fieldname' => 'forum_id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    150150        /** Topic Section *****************************************************/
    151151
    152         // Topic id (Stored in postmeta)
     152        // Old topic id (Stored in postmeta)
    153153        $this->field_map[] = array(
    154154            'from_tablename' => 'topics',
    155155            'from_fieldname' => 'topic_id',
    156156            'to_type'        => 'topic',
    157             'to_fieldname'   => '_bbp_topic_id'
     157            'to_fieldname'   => '_bbp_old_topic_id'
    158158        );
    159159
     
    307307        /** Reply Section *****************************************************/
    308308
    309         // Reply id (Stored in postmeta)
     309        // Old reply id (Stored in postmeta)
    310310        $this->field_map[] = array(
    311311            'from_tablename' => 'posts',
    312312            'from_fieldname' => 'post_id',
    313313            'to_type'        => 'reply',
    314             'to_fieldname'   => '_bbp_post_id'
     314            'to_fieldname'   => '_bbp_old_reply_id'
    315315        );
    316316
  • trunk/src/includes/admin/converters/vBulletin.php

    r5516 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forum',
    3131            'from_fieldname' => 'forumid',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    148148        /** Topic Section *****************************************************/
    149149
    150         // Topic id (Stored in postmeta)
     150        // Old topic id (Stored in postmeta)
    151151        $this->field_map[] = array(
    152152            'from_tablename' => 'thread',
    153153            'from_fieldname' => 'threadid',
    154154            'to_type'        => 'topic',
    155             'to_fieldname'   => '_bbp_topic_id'
     155            'to_fieldname'   => '_bbp_old_topic_id'
    156156        );
    157157
     
    342342        /** Reply Section *****************************************************/
    343343
    344         // Reply id (Stored in postmeta)
     344        // Old reply id (Stored in postmeta)
    345345        $this->field_map[] = array(
    346346            'from_tablename'  => 'post',
    347347            'from_fieldname'  => 'postid',
    348348            'to_type'         => 'reply',
    349             'to_fieldname'    => '_bbp_post_id'
     349            'to_fieldname'    => '_bbp_old_reply_id'
    350350        );
    351351
  • trunk/src/includes/admin/converters/vBulletin3.php

    r5516 r5526  
    2626        /** Forum Section *****************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'forum',
    3131            'from_fieldname' => 'forumid',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    148148        /** Topic Section *****************************************************/
    149149
    150         // Topic id (Stored in postmeta)
     150        // Old topic id (Stored in postmeta)
    151151        $this->field_map[] = array(
    152152            'from_tablename' => 'thread',
    153153            'from_fieldname' => 'threadid',
    154154            'to_type'        => 'topic',
    155             'to_fieldname'   => '_bbp_topic_id'
     155            'to_fieldname'   => '_bbp_old_topic_id'
    156156        );
    157157
     
    342342        /** Reply Section *****************************************************/
    343343
    344         // Reply id (Stored in postmeta)
     344        // Old reply id (Stored in postmeta)
    345345        $this->field_map[] = array(
    346346            'from_tablename'  => 'post',
    347347            'from_fieldname'  => 'postid',
    348348            'to_type'         => 'reply',
    349             'to_fieldname'    => '_bbp_post_id'
     349            'to_fieldname'    => '_bbp_old_reply_id'
    350350        );
    351351
Note: See TracChangeset for help on using the changeset viewer.