I am using import plugin 1.1.0 and tweaked it a bit to check duplicates not only on email:
// Check if user already exists
$query=$db->getQuery(true);
$conditions = array(
$db->quoteName('username') . ' = '. $db->quote($userRow['username']),
$db->quoteName('email') . ' = '. $db->quote($userRow['email']),
$db->quoteName('name') . ' = '. $db->quote($userRow['firstname'] .' ' . $userRow['lastname'])
);
$query->select('id')->from('#__users')->where($conditions);
what i experience is that the validation (row
// Check known fields
...
if(!in_array($field,$this->j_fields) && !in_array($field,$this->jsn_fields))
always fails on the first column... I changed order of the columns and verified that all fields indeed are included in the file
any idea?
Thanks