View Single Post
  #1  
Old 17 Jul 2017, 17:07
Makaze's Avatar
Makaze Makaze is offline
 
Join Date: Apr 2015
[RESOLVED] Conditions being ignored when viewed by guest

I am editing a template with the following conditional structure:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The template works correctly when viewed by a member who is logged in. However, when a guest views it, this condition gets ignored in both places:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The shown class is added no matter what condition I add around it. I have even tried changing the condition to true === false. That condition is ignored when viewed by a guest. I tested that changes were working by adding {vb:raw} for the variables in the template. The values display correctly immediately after saving. The issue is isolated to the vbulletin condition statement.

Once again, it works properly when logged in, but not when viewing as a guest.

How can I resolve this?

Last edited by Makaze; 23 Jul 2017 at 17:04.
Reply With Quote