Hi,
Depending on the page, osc_user() might contain data for the current logged in user (User Dashboard), or data for the user that published the ad (item.php)... and more scenarios (Public Profile, for example).
So you need to change that where it's not working as you want:
$userId = osc_logged_user_id();
View::newInstance()->_exportVariableToView('user', User::newInstance()->findByPrimaryKey($userId));
Or $userId = osc_item_user_id();
etc
Regards