You can import your existing users by editing "v_imported_users" view . Also , you can write your own hashing algorithm for password checking by editing "Imported_Users_Password_Hash" method that in "config.php" file.
Structure of v_imported_users view .
UserID = unique id of your user . Be sure , that they are not same as local "users" table . If they are same , you can change it by editing autoincrement of local "users" table .
Name = Name of user
Surname = Surname of user
UserName = Login of user
Password = Password of user
email = Email of user
branch_id = id from "branches" table
group_id = id from "user_groups" table
Here are the some examples of importing users from other systems
Here is the example of importing users from Wordpress. (Tested with version 3.5).
1)Execute the following lines of code in your MySQL database :
create or replace view v_imported_users
SELECT ID as UserID,
user_login as UserName,
user_pass as Password,
display_name as Name,
"" as Surname,
user_email as email,
1 AS branch_id,
1 AS group_id,
'nophoto.jpg' as user_photo
2)Include the following line at the top of you config.php file of els PHP Web Quiz :
3)Change Imported_Users_Password_Hash method in config.php file of els PHP Web Quiz as below :
$wp_hasher = new PasswordHash(8, TRUE);