Former Member
inherit
guest@proboards.com
244837
0
Nov 28, 2024 13:18:38 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 8, 2017 10:12:33 GMT -8
Forum URL: inkandthread.boards.netMy code for "Offline" is not working, and I have no idea whats wrong. This is what I am using: (Online works, though) {if $[user.is_online]}<br /><span class="italic"><h3><center><font color="49c917">Online</font></center></h3></span>{/if} {if $[user.is_offline]}<br /><span class="italic"><h3><center><font color="f72d1b">Offline</font></center></h3></span>{/if}
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jun 8, 2017 10:16:38 GMT -8
Hi, @tumbler .
$[user.is_offline] is not a real variable. You can refer to the sidebar next to the editor to see the variables that do exist.
The optimal version of your code would be this:
|
|