Hello! I'm currently trying to figure out how to PULL information from a user that's in a certain group.
For example, if USER 1 and USER 2 are in group "ADMIN" then it will automatically display their Profile Name and Group that they're in on a page.
{{$member = \IPS\Member::load(2);}}
{$member->link()|raw}
{expression="\IPS\Member\Group::load( $member->member_group_id )->Name" raw="true"}
That code example works, but it pulls information based on profile ID, not group ID.
I'm using IPB 4.3
Any help would be greatly appreciated.
Many Thanks,
Marshall