$viewer = CBuser::getMyUserDataInstance();
$fieldValue1 = $viewer->get('CB_FIELD');
$displayed = CBuser::getUserDataInstance(DISPLAYED_USER_ID);
$fieldValue2 = $displayed->get('CB_FIELD');
Please Log in to join the conversation.
global $_CB_framework;
$displayedUser = $_CB_framework->displayedUser();
Please Log in to join the conversation.
Yup, that's what it's about.krileon wrote: The displayed user id is only set when directly viewing a user profile.
Please Log in to join the conversation.