Edit: Now I read your question again. Your problem is that you probably didn’t update the “columns” array in Ion_auth config file…
Why don’t you just walk on meta_columns array, setting the additional data using this:
//validation rules, if $this->form_validation->run() == true :
$meta_columns = $this->config->item('columns', 'ion_auth');
if (! empty($meta_columns)) {
foreach ($meta_columns as $input) {
$form_input = $this->input->post($input);
/*clean the data…*/
$additional_data[$input] = $form_input;
}
$this->ion_auth->register($username,$password,$email,$additional_data)
// else validation == false
//...This way, when you add or remove columns in meta table, you just need to update the ion_auth config file, with no need to change the create_user code…
But, if you wanna do the way you’re using this, you just need to set extra columns directly in the additional_data array, like
$additional_data = array('first_name' => $this->input->post('first_name'),
'last_name' => $this->input->post('last_name'),
'address' => $this->input->post('address') ,
'company' => $this->input->post('company'),
'phone' => $this->input->post('phone1'),
'dog_name' => $this->input->post('dog_name'),
'birthday' => $this->input->post('birthday')
);