March 16, 2015 in Technical Problems
I found this article (https://www.invisionpower.com/support/guides/_/advanced-and-developers/miscellaneous/check-if-a-member-is-logged-in-r91) and I was wondering how this would be done in IPS4?
I would like to check if the user is logged in and what group the user belongs to.
IPS 4 ?
Data from a user:
require_once( init.php' );
$member = \IPS\Member::load( 1 ); // Member ID
$group = $member->member_group_id;
Let me try to find something to check if the user is logged.
Take a look: http://community.invisionpower.com/topic/404331-get-user-information/?do=findComment&comment=2508852
This topic is now archived and is closed to further replies.
Started July 31
Started 9 hours ago
Started Thursday at 02:25 AM