Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/19/2014 11:34:18 AM (12 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.