Hi,
Like others before, I'm also tinkering with the PHP restriction of Advanced Module Manager.
No problem getting a field value of the logged-in user's object who's viewing a profile with
Code:
$viewer = CBuser::getMyUserDataInstance();
$fieldValue1 = $viewer->get('CB_FIELD');
And I know that I could get the field value in another user's object (in this case the one whose profile is being displayed) with
Code:
$displayed = CBuser::getUserDataInstance(DISPLAYED_USER_ID);
$fieldValue2 = $displayed->get('CB_FIELD');
... if I only knew how to get DISPLAYED_USER_ID ... am obviously a bit thick in the head now.
The briefest hint on this "how to" will be greatly appreciated!