Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
fantasyteamadvice Posted May 16, 2016 Posted May 16, 2016 We are looking to design a custom plugin for our website, and in order to do so will need to pull the user session data when they log in (most noticeably the user email), so we can see if they match our paid subscribers email list. Does anyone know where to pull the user session data from? Thanks!
Tom Irons Posted May 16, 2016 Posted May 16, 2016 To get the current member info do \IPS\Member::loggedIn() This will return a member object, and with that you can add ->email to the end to retrieve the users email address. For future reference, this kind of topic should be posted in Development Assistance.
fantasyteamadvice Posted May 16, 2016 Author Posted May 16, 2016 20 minutes ago, Tom Irons said: To get the current member info do \IPS\Member::loggedIn() This will return a member object, and with that you can add ->email to the end to retrieve the users email address. For future reference, this kind of topic should be posted in Development Assistance. Thanks Tom, I'll be sure to post there in the future with these kinds of requests
Recommended Posts
Archived
This topic is now archived and is closed to further replies.