if this statement - IF S_USER_LOGGED_IN - is for users logged in how would we set something up to display text for guests but when a user logs in it goes way
would it be this ? IF S_USER_LOGGED_OUT
Is there an IF S_GUEST_LOGGED code ?
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
- Highway of Life
- Registered User
- Posts: 1399
- Joined: Tue Feb 08, 2005 10:18 pm
- Location: I'd love to change the World, but they won't give me the Source Code
- Contact:
Re: Is there an IF S_GUEST_LOGGED code ?
use of course, you can omit the ELSE section(s).
Code: Select all
<!-- IF S_USER_LOGGED_IN -->
display info if the person viewing is logged in (or a bot)
<!-- ELSE -->
otherwise, display info if the person is NOT logged in.
<!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN -->
display info if the person viewing is NOT logged in
<!-- ELSE -->
otherwise, display info if the person is logged in.
<!-- ENDIF -->
Re: Is there an IF S_GUEST_LOGGED code ?
that is truly a work of magic he he thanks, now i feel like a pug because i read the forum rules above saying not to ask for support DOH!!
- Highway of Life
- Registered User
- Posts: 1399
- Joined: Tue Feb 08, 2005 10:18 pm
- Location: I'd love to change the World, but they won't give me the Source Code
- Contact:
Re: Is there an IF S_GUEST_LOGGED code ?
No worries, glad to help... it was simple enough. 
But there is limited support offered in the 2.0.x / limited 3.0.x support forum here on area51.

But there is limited support offered in the 2.0.x / limited 3.0.x support forum here on area51.
