|Posted: Monday Mar 12th, 2012 at 6:56 pm #7930|
I am looking to derive some data when users register and save the results in additional profile fields. For example I would like to make a call to the mapit.mysociety.org API to get an ‘area’ from a UK postcode and save this information in another field when a user registers or updates their profile.
Is there any example code somewhere to show how this might work? Any code (I imagine using ‘hooks’) that intercepts the ‘update’ table command and performs some additional action to modify the database query would be ideal. Failiing this anyone like to advise on the principals involved and where to look to figure it out?
Shame it is not possible to register on the old forum and search there as there may be answers lurking out of view… Searches here are not returning much of use as yet.
- s2Member® Products