1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Please donate today & help us with our growing server costs or buy premium for access to our premium products
    Dismiss Notice

Free Greeting to the user

Discussion in 'Xenforo Template Mods & Extras' started by Bastty, Oct 12, 2016.

  1. Bastty

    Bastty DONATOR DONATOR

    Likes Received:
    5
    Trophy Points:
    3
    Gender:
    Male
    from 6 am to 18 hours - Welcome
    18 hours to 6 am - Good evening

    Go to: Styles >> Templates >> sidebar_visitor_panel
    Search for:
    Code:
    <div class="secondaryContent">
    Below insert:
    Code:
    <xen:if is="{xen:time $serverTime, 'G'} >= 6 AND {xen:time $serverTime, 'G'} < 18">
            <h3 style="text-align:center;"> Hi, <a href="{xen:link members, $visitor}" class="username NoOverlay">{$visitor.username}</a></h3>
    <xen:else />
    <h3 style="text-align:center;">
    Good evening,
    <a href="{xen:link members, $visitor}" class="username NoOverlay">{$visitor.username}</a></h3>
    </xen:if>
    Don't forget to say thankz with 1 like
     
    ryouko10 and RipperJack like this.

Share This Page