This is possibly a simple thing to figure out, but I'm not having any luck searching for it. I wanted to give my users the option to show or hide some of the user information in the postbit template based on what they checked or unchecked in a custom profile field I set up. At first I did something like this, using the first checkbox in the custom profile field to check it:
Then I realized that this code doesn't control the display of what I'm seeing, but rather what the users are providing to be seen. In other words, if that option was unchecked in my settings, no one would see that info on my posts, but everyone else's posts would look the same. I'm wanting to make it work like the avatar check box - uncheck it once and avatars disappear from everyone's posts. I tried <if condition="$show[field18] & 1"> but that didn't seem to work.
Thanks in advance for any advice!
HTML Code:
<if condition="$post[field18] & 1"> Info to be shown/hidden </if>
Thanks in advance for any advice!
Comment