Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/20/2014 06:06:08 AM (12 years ago)
Author:
netweb
Message:

Converter import user meta data improvements and fixes:

  • Original 'old' user meta key is now defined using _bbp_old_user_id
  • Fixes the "Purge Previous Import" optional removal of previously imported users when using the database sync_table.
  • Updates all included importers with the above changes including the custom callback in e107v1.php

See #2650

File:
1 edited

Legend:

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

    r5528 r5530  
    410410                /** User Section ******************************************************/
    411411
    412                 // Store old User id (Stored in usermeta)
     412                // Store old user id (Stored in usermeta)
    413413                // Don't import users with id 2, these are phpBB bot/crawler accounts
    414414                $this->field_map[] = array(
     
    417417                        'from_expression' => 'WHERE user_type !=2',
    418418                        'to_type'         => 'user',
    419                         'to_fieldname'    => '_bbp_user_id'
    420                 );
    421 
    422                 // Store old User password (Stored in usermeta serialized with salt)
     419                        'to_fieldname'    => '_bbp_old_user_id'
     420                );
     421
     422                // Store old user password (Stored in usermeta serialized with salt)
    423423                $this->field_map[] = array(
    424424                        'from_tablename'  => 'users',
     
    429429                );
    430430
    431                 // Store old User Salt (This is only used for the SELECT row info for the above password save)
     431                // Store old user salt (This is only used for the SELECT row info for the above password save)
    432432                $this->field_map[] = array(
    433433                        'from_tablename' => 'users',
Note: See TracChangeset for help on using the changeset viewer.