1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Visitor style_id conditional question.

Discussion in 'XenForo Development Discussions' started by EQnoble, Aug 31, 2013.

  1. EQnoble

    EQnoble Well-Known Member

    So I made a conditional statement and it works for me when I am logged in as admin no problem..
              <xen:if is="{$visitor.style_id} == '2'">
              {xen:phrase my_phrase1}
              <xen:if is="{$visitor.style_id} == '3'">
              {xen:phrase my_phrase2}
    Both of these work as I said when logged in as admin, but I created a test user and found that it does not display the phrase for a normal logged in user.

    Anyone have a clue of what's going on here?
  2. EQnoble

    EQnoble Well-Known Member

    Ok even weirder here...and don't know if this adds better info to the problem at hand but...

    I have been playing around and testing different situations..and it displays properly in chrome while logged in as a regular user but not in firefox. On the other hand it displays in both ff and chrome for admin.

Share This Page