Hello SEBLODers,
I recently purchased the SD Field Concat plugin to assign users to user groups upon registration as described in the old forum here
http://bit.ly/1i94o55. Have been unable to get successful results however, because I can't get SD Field Concat to get the next auto-increment value from the users table.
When configuring the field for the front end (Site form), I set the List of Fields as
<users> and Storage as Standard>Free>user_usergroup_map>user_id
I have another field for the User Group, containing a default value for the group I want to assign. Its Storage is set to Standard>Free>user_usergroup_map>group_id.
When the form is submitted, a new row is created in user_usergroup_map as I expect. The group_id value is correct, but the value of the user_id is always "0". I can't figure out why anytime I try to retrieve the next auto-increment value from the users table, I always get "0". I have already spent hours searching the forum and other resources, trying alternate configurations, etc. but have been unable to determine what I'm doing wrong. It can't be this difficult, so I assume I'm missing something.
Any ideas? Like everyone else here, I'm on a deadline, so I'll be very grateful for any help sorting it out.
Environment is:
Joomla 3.2.3
PHP 5.5.10
SEBLOD 3.3.3
SD Field Concat 2.5.3
Thanks!
Denver