-
☆ A M B ☆
- 24,524 Posts
As far as I know no one has done this yet. There are three tables in the database that you will be interested in, web_users, web_user_attributes and web_user_settings.
The web_user_settings table takes three fields, webuser (user ID), setting_name (key), setting-value (value); you can use this to store any information on users that you want.
The web_user_attributes table is mostly for system use, such as blocked status and login count. I would recommend not using the other "personal information" fields in that table; use the web_user_settings table for personal data instead for consistancy and organization.
The "internalKey" value is the main web_users ID number; this is an auto-increment value generated on creating a new user. It is stored in the SESSION array as webInternalKey for web users and mgrInternalKey for manager users.
-
☆ A M B ☆
- 24,524 Posts
Another point, in the active_users table web user IDs are stored as negative values (-3) while manager users are stored as positive values (3).