View Single Post
Old 17 Jul 2017, 20:38
Dave Dave is offline
Join Date: Jun 2010
Real name: Dave
So if I understand you correctly, your condition always evaluates to true when a guest is viewing it? Thus the class "shown" is always added?

Is the $post variable available in the template? Also, try putting the following in your template before the div that contains the if condition so you can see what it outputs:

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

__________________ - security, development, exploits, vBulletin

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote