Right, I already have advanced permissions enabled... I tried marking the "You need to login to view this content" block visible to only guests, and the actual login-required content visible to everyone except guests. However, the guest-only content is still viewable after login. Understand my question? Thank you.
I installed the PHP block add-on. I am trying to add this functionality by putting the following code into a php block. I am new to php, and it is returning errors. Can you help?
Basically, if a visitor hits the current page and they are not logged in, they will still see the current page they are on. If a visitor hits the page and is logged in, I want it to redirect over to a new page.