Migration Dokeos 185 to Chamilo 20 - Users


  • Migrates the users from dokeos 185 to chamilo 2.0
  • Extension of MigrationBlock

Files involved

  • /migration/platform/dokeos185/migration_block/users_migration_block.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_user.class.php

Block prerequisites



General information

  • Extension of Dokeos185MigrationDataClass
  • Database: main_database
  • Table: user

Validation method

  • Required Fields
    • Username
    • Password
    • Status
  • For each username that is already used in the new platform, generate a new username

Convert method

  • Create a new user with the data class fields
  • Create a profile for some of the data class fields (phone, ...)
  • Create documents in the repository from the user's productions


  • Implement user fields
  • Dokeos 1.8.5 passwords are md5 encrypted. So they cannot be migrated. If authentication is on platform level then a mail needs to be sent to migrated users to reset their password.

Please report all problem by creating a new issue in the 2.0 issue list []

Back to Migration Dokeos 1.8.5 to Chamilo 2.0 - General

Updated by Sven Vanpoucke over 12 years ago ยท 33 revisions