Please Log in to join the conversation.
Please Log in to join the conversation.
You need to update your template.1. If you have a look at the screenshot below...in the CB menu the menu item entries have ALL 2 Icons ...the 'old' and the 'new' one ....how can I delete the 'old' ones?
It should only display your CB Menu items and not those targeting a user other than your self.2. I have still some menu-items that do not make sense in certain context e.g. to 'Report a user' does not make sense if you first generate a user list?!? (PS: the string: '
[cb:usertab tab="17" user="#displayedOrMe" /]' is already at the correct place in the CB Content module
Please Log in to join the conversation.
if ( ( $uid === null ) && ( ( $userAttrVal == '#displayedOrMe' ) || ( $userAttrVal == '#me' ) ) ) {
$uid = (int) Application::MyUser()->getUserId();
}
if ( ( $uid === null ) && preg_match( '/^[1-9][0-9]*$/', $userAttrVal ) ) {
$uid = (int) $userAttrVal;
}
if ( ( ! $uid ) && ( ( $userAttrVal == '#displayedOrMe' ) || ( $userAttrVal == '#me' ) ) ) {
$uid = (int) Application::MyUser()->getUserId();
}
if ( ( ! $uid ) && preg_match( '/^[1-9][0-9]*$/', $userAttrVal ) ) {
$uid = (int) $userAttrVal;
}
Please Log in to join the conversation.
Please Log in to join the conversation.