#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Feb 8, 2022 8:28:51 GMT -8
Hello, The Liveclock only shows when members are signed in. How can I fix it so it shows all the time, even when not signed in? Thanks. Where did you put the code for the clock to appear? (Or give me the forum URL and theme name and I can take a look.)
|
|
freeb
New Member
Posts: 92
inherit
260290
0
May 19, 2024 15:44:59 GMT -8
freeb
92
January 2020
freeb
|
Post by freeb on Feb 8, 2022 8:37:40 GMT -8
Hello, The Liveclock only shows when members are signed in. How can I fix it so it shows all the time, even when not signed in? Thanks. Where did you put the code for the clock to appear? (Or give me the forum URL and theme name and I can take a look.)Hi, I have permissions set to 'everyone', but it still doesn't show when signed out. I have the code inserted after 'logout' in the forum wrapper template. link
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Feb 8, 2022 8:40:48 GMT -8
freeb , Here's where you put the clock code: {if !$[current_user.is_member]} Welcome Guest. {if $[login_link] || $[register_link]} Please $[login_link]{if $[login_link] && $[register_link]} or {/if}$[register_link]. {/if} {else} <span>Welcome $[current_user.name].</span> $[logout_link]<br> <span id="liveclock"></span> {/if} The way the if statement is constructed, you put the clock code in a section that displays only for members. Move it to after the last {/if} <span>Welcome $[current_user.name].</span> $[logout_link]<br> {/if} <span id="liveclock"></span>
|
|
freeb
New Member
Posts: 92
inherit
260290
0
May 19, 2024 15:44:59 GMT -8
freeb
92
January 2020
freeb
|
Post by freeb on Feb 8, 2022 8:45:24 GMT -8
|
|