2008-01-18, 06:16 AM
I'm writing my own basic ad plugin, and would like to disable the ads if a user is logged in.
Is there a way I can use JavaScript to check if a user is logged on?
Or is there an 'if' statement I can use in the template editor?
e.g
if (user logged on) {
do javascript stuff;
}
Is there a way I can use JavaScript to check if a user is logged on?
Or is there an 'if' statement I can use in the template editor?
e.g
if (user logged on) {
do javascript stuff;
}