Hi Andrea, thanks for the reply.
Yeh I tried if (current_user_can('level_10')) first of all and that got the same unwanted result. But if you look at the codex here you see that they use if (current_user_can('administrator')) in the examples section, which is why I tried it: http://codex.wordpress.org/Function_Reference/current_user_can
Anyway nothing works so I delved into the codex and the WP DB to see if I could come up with an answer. I saw that if a user had a blog or site they had extra fields in the wp_usermeta table, one of which is the met_key: primary_blog. So I thought if I could test a user against one of these fields I can see if they are an admin to a blog?
I went round the houses a bit but eventually got my head together (after some sleep) and looked at: Get User Meta Function
Here is the solution that seems to be working, can you see any problems with it Andrea or perhaps a better way of performing the test?:
<?php if ( is_user_logged_in() ){ ?>
<?php
$current_user = wp_get_current_user();
$user_id = $current_user->ID;
$key = 'primary_blog';
$single = true;
$primary_blog = get_user_meta( $user_id, $key, $single);
if ($primary_blog == "") {
?>
<p>Display banner</p>
<?php } else { ?>
<p>Do nothing</p>
<?php } ?>
<?php } ?>
Well it seems to work as I have two blogs under super admin with different logins and test user account with no blog. The banner is only displayed for the non blogging user.
Hope this helps somebody and Im open to better suggestions (Im no coder)
Cheers