If you're using #displayedOrMe or #displayed then displayed functionality of it will only work when you're viewing someones profile. It does not work anywhere else since profile display is the only location that sets the displayed user value. What you're wanting to do won't be doable I'm guessing without custom coding to first be sure the user id was passed to the page they're now on then second setting the displayed user using CB API, which is done as follows.
Code:
global $_CB_framework;
$_CB_framework->displayedUser( USER_ID_HERE );