There are several predefined conditions you can use such as:
{IF:login} This user is logged in
{IF:end}{IF:notlogin} This user is not logged in
{IF:end}{IF:owner} This user is the owner of this profile
{IF:end}{IF:notowner} This user is not the owner of this profile
{IF:end}{IF:login} You are logged in! {IF:else} You are not logged in! {IF:end}
{IF:online} This user is online! {IF:else} This user is offline! {IF:end}
{IF:offline} This user is offline! {IF:end}
{IF:friend} You are a friend! {IF:end}
{IF:notfriend} Become a friend! {IF:end}
{IF:odd} Currently displayed entry is an ODD entry (For alternating line colors) {IF:end}
{IF:even} Currently displayed entry is an EVEN entry (For alternating line colors) {IF:end}
{IF:first} This is the first listed entry {IF:end}
{IF:last} This is the last listed entry {IF:end}
{IF:admin} You are admin!
{IF:end}{IF:has_entry_on:article} This user has articles, click here to read them
{IF:else}{IF:has_no_entry_on:picture} This user has no picture
{IF:end}{IF:page:test.html} You are on test.html page!
{IF:end} {IF:pagenot:test.html} You are not on test.html page! {IF:end}
{IF:folder:profile} You are under profile folder {IF:end}
{IF:foldernot:profile} You are under profile folder {IF:end}
Predefined conditions are good but you may need custom conditions, for example you may want to compare a field's value with a given value or check it was filled or not. We have implemented special IF tags for more advanced users such as:
{IFEQ:} If equals
{IFNEQ:} If not equals
{IFLT:} If less then
{IFGT:} If greater than
{IFLTEQ:} If less then or equal
{IFGTEQ:} If greater than or equal
{IFINC:} If includes
These conditions are specifically build to match a fields value with a given value. Here are some useful examples
{IFLTEQ:age:18} Checks if users age is 18 or less.
{IFEQ:profilePicture:} Checks if profile picture is blank.
{IFEQ:state:USA} Checks if users state is USA
{IFINC:address:New York} Checks if users address contains "New York" in it.
{IFNINC:address:New York} Checks if users address does not contain "New York" in it.
Send Comment