Welcome Guest, Not a member yet? Register   Sign In
flexi auth - A user authentication library for CodeIgniter
#27

[eluser]Klausch[/eluser]
Hi,

Thanks again for the info, you are totally right about the difference in the sql script, my diff tool did not consider files with exactly the same size as different... Sad

THe second issue is more complicated I am afraid.
I never call insert_custom_user_data() directory directly. What I do is calling the library function insert_user(...):
Code:
$response = $this->flexi_auth->insert_user($email, $username, $password, $profile_data, 1, $instant_activate);

which in turn delegates the call to the corresponding function in the flexi_auth_model:

The insert_custom_user_data() is called from this model function, in line 217:
Code:
$this->insert_custom_user_data($user_id, $custom_data);


And indeed I have configured the custom columns in the configuration file:
Code:
// Custom columns can be added to the main user account table to enable library functions to handle additional custom data stored within the table.
$config['database']['user_acc']['custom_columns'] = array(
  ### Example : 'date_modified', 'modified_user_id' etc.
  'first_name', 'last_name', 'company', 'phone', 'usertype_id', 'avatar'
);

So still struggling with this, I need some more time to figure it out but if you still have some more hints, they are welcome Smile


Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 09-26-2012, 09:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB