What's new

Xenforo 1 Timer Hello / Good evening

Sonia

Administrator
Administrator
Here is how to wish a good day or good evening to your members.
From 6am to 6pm

From 18h until 6am
How to do ?

Template: sidebar_visitor_panel

Search:
CSS:
<div class="secondaryContent">
Copy paste below:
CSS:
<<xen:if is="{xen:time $serverTime, 'G'} >= 6 AND {xen:time $serverTime, 'G'} < 18"> 
        <h3 style="text-align:center;">Bonjour, <a href="{xen:link members, $visitor}" class="username NoOverlay">{$visitor.username}</a></h3>
        <xen:else />
        <h3 style="text-align:center;">Bonsoir, <a href="{xen:link members, $visitor}" class="username NoOverlay">{$visitor.username}</a></h3> 
        </xen:if>>
 
Top