View Single Post
Old 17 Jul 2017, 20:56
Makaze's Avatar
Makaze Makaze is offline
Join Date: Apr 2015
No, you are not understanding.

It behaves as if the condition tag does not exist, even if the condition in the quotes is "true === false", instead of my condition I would like to use.

I can access the variables and output them to the screen using {vb:raw post.userid} and {vb:raw bbuserinfo.userid}. They output correctly, including for guests. The variables exist in the template.

Furthermore, the code:

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

Should never evaluate to true. Yet it does, in this template, while being viewed by a guest.

In other words, it is behaving as if the conditional tag is not there, and just shows the contents.

It has nothing to do with the actual statements in the conditions.

--------------- Added 17 Jul 2017 at 22:57 ---------------

It appeared to be the location of the statement. It works if it is at a tier 2 nesting or global if.

I believe there is a bug related to nesting and guest viewing.
Reply With Quote