This topic contains 7 replies, has 3 voices. Last updated by Cristián Lávaque 4 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Friday Feb 10th, 2012 at 12:06 pm #4742 | |
It would be useful to be able to get the user id upon importing user updates, so that when a csv file is imported, for each record to be imported, the import function identifies a field such as the login id or email or even better an s2Member custom field (to be set in import options) and queries the wp_user database for the ID number for that record. If the function returns null, then the record is imported as a new record. If the function returns a value, the import function uses that to update the user information with the information in the import file. This would enable member-based organizations, where members do not normally sign up online, to easily update the online data base from a csv file produced by any other database. On the surface, this would seem to be a relatively simple php loop to add to the import file and a fantastic enhancement to an already great product. |