@bimbo
as you have written in this thread, modification of original code:
<?php if(function_exists('im_messages')) { echo im_messages(); } ?>
into:
<?php
if(function_exists('im_messages')) {
if(osc_is_web_user_logged_in(){
echo im_messages();
}
}
?>
Will hide it to not-logged users.
Button you have higlighted is different function.