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/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
Note: See TracChangeset for help on using the changeset viewer.