Hi, We have ready different database with username and password It has already loging system, We are now using aMember, and we are trying to use autologin to our database 1. How can we run custom php code on user signup? which file should we modify? we will write code insert same username and password to our database 2. how can we autologin our system once user successfully signs in amember? Thanks in advance, Nurba
In your code add API/Lite and you can simply grab the user information, if it is your own application you really would be better of using the aMember information directly. Otherwise you can write an integration plugin that will keep your database information updated but it seems like way too much work for little gain, oh yeah third option is you could also hook into the event system using the /amember/application/configs/site.php file I am sure the crew would do any of the above for you as a paid job, or you can wander over to JLogica and ask for us to do it (not free .. paid).
thanks for quick response, when deleting user from admin, we would like to delete user from our database also can you give filename and line of code to be modified? thanks
The best approach is develop integration plugin for your script. This plugin will sync user between your database and aMember and implement single-login feature. Please have a look http://www.amember.com/docs/API/Protect We can help you with such development. Please contact us in helpdesk (https://www.amember.com/support) for a quote.