I understand that 3.4.x and 4.x use completely different files / assuming different code structures for this kind of thing?
For example in 3.4 I use:
Stuff I picked up off of IPB's forums, I assume this bit is to create the IPB environment or such
Fetch the member's details
$member = $registry->member()->fetchMemberData();
Check if the member is logged in etc
if ( $member['member_id'] ) {
echo "You're logged in.";
}
else {
echo "You're not logged in.";
}
How would I do it on IPS4?