then $isprivate works alright!
When $isprivate is = "1"
I suppose you get this displayed:
This message has been marked private. You must log in as an administrator to view it.
But test a var_dump on what you have in '$message'
maybe this variable is empty, and so you get no display
//
echo '<pre'>; //needed in Windows
var_dump( $message ); // get full info of variable
echo '</pre>'; //needed in Windows
if ($isprivate != "1") {
$message = nl2br($message);
echo "$message";
} else {
echo "<i>This message has been marked private.
You must log in as an administrator to view it.</i>";
}