solved Detecting if a user is signed in

iamtimbo
@iamtimbo
10 years ago
301 posts
I'm *sure* during my exploration I've seen some smarty relating to whether a user is signed in or not, but I'm blowed if I can find it now I need it.

Essentially I only want to show a google ad to non-signed in members - a search of the documentation didn't present a clue (that I could see), but I know it can't be far away. Any thoughts gratefully received, etc. etc.
updated by @iamtimbo: 05/25/15 02:37:56PM
paul
@paul
10 years ago
4,335 posts
{if !jrUser_is_logged_in()}
SHOW GOOGLE AD
{/if}


--
Paul Asher - JR Developer and System Import Specialist
iamtimbo
@iamtimbo
10 years ago
301 posts
Legend!