hiding content within template files

Hey all.

Membership plugin is working great so far (on a development site). Does everything I need.

One thing I would like to do is add content to my theme pages i.e single.php etc which is visible depending on whether or not the user is a member or not.

I have tried using the PHP to display shortcodes:

<?php echo do_shortcode('[member]'); ?>
YOU ARE A MEMBER
<?php echo do_shortcode('[/member]'); ?>

<?php echo do_shortcode('[nonmember]'); ?>
YOU ARE A MEMBER
<?php echo do_shortcode('[/nonmember]'); ?>

however these just display everything including the [member] shortcode tags. I am not a great coder, but this was the only way I could think of trying.

Is there a way that I can hide and display content within my theme? maybe with similar same code the widgets use?

Many thanks for any help!
Craig