Customizing SMF > SMF Coding Discussion
Add new data values to smf_members d-base table
keyrocks:
--- Quote from: Labradoodle-360 on May 11, 2012, 12:18:02 PM ---What is the value of "$regOptions['lpcmemb_id']"?
--- End quote ---
Since this is my first time digging into the 'inner workings' of SMF, I am making a few assumptions.
1) The column in my smf_members d-base table, receiving the inserted form data, is lpcmemb_id. So I am assuming that the $context values in the field string should be lpcmemb_id.
2) The field's name and id are member_id so I am assuming I should be using the same in the $regOptions array (in Subs-Members.php as... 'member_id' => $regOptions['lpcmemb_id'],
3) And I am assuming that this should process the data provided from the form along with the username, email and password.
Are my assumptions off-base?
Labradoodle-360:
Uhmm, not worked with registration in a while. I'd try debugging with die and print_r() at different places to see where the data is getting of track.
Navigation
[0] Message Index
[*] Previous page
Go to full version