Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 6, 20195 yr Hi, I want to use SSO option to check if user is logged in on forum: https://invisioncommunity.com/developers/docs/members-authentication/developing-single-sign-on-sso-integration-r65/ How can I check if user is logged in and active (if he click in activation email link)?
September 6, 20195 yr This state is stored as a bitfield, so you'll need following code to see if he's validated \IPS\Member::loggedIn()->members_bitoptions['validating'] And to see if the member is online, you can use the isOnline method in the \IPS\Member class
September 7, 20195 yr Author @Daniel F one more question - is there option to get info from custom profile fields via this SSO option?
Archived
This topic is now archived and is closed to further replies.