December 4, 2016 in Developer Connection
I'm using the API to check if a user is logged in (\IPS\Member::loggedIn()->member_id).
I also make sure that he is not banned (\IPS\Member::loggedIn()->isBanned()).
This works fine.However, some profiles are fake ones that did not respond to the registration validation email. e.g.
And unfortunately when checking against loggedIn() and isBanned() these users still returns TRUE.
I need to make sure that only active, validated users, will return true.
How can I check via the API if a user is in the "members_filter_validating" category or not?
I'm looking at this page but couldn't anything related to the registration validation expect for this function which is used to SET a user as validated, not check against his current status:
That will be TRUE if the member is awaiting validation.
This topic is now archived and is closed to further replies.
Started 9 hours ago
Started Monday at 08:54 AM
Started August 24