For those running vB 4 (mine = 4.1.3), the template text to search for is:
HTML Code:
vb:if condition="$post['joindate']
And the code has changed in vB 4+ slightly too:
HTML Code:
<!-- / flags start -->
<div>
<vb:if condition="$post[fieldXX]"><img src="images/flags/$post[fieldXX].gif" alt="$post[fieldXX]"></vb:if>
<vb:if condition="$post[fieldXY]"><img src="images/region/$post[fieldXY].gif" alt="$post[fieldXY]"></vb:if>
</div>
<!-- / flags end -->
Assuming of course that you want to put the flags before the location text, which follows the joindate text in the default style in 4.1.3.
Hope this helps.
UPDATE: This didn't work. I just see "$post[fieldXX]" instead of the flag. It appears that this var isn't being evaluated ... I'll keep working on it.
UPDATE TO THE UPDATE: Ok I got it to work. For vB 4+ you need this:
HTML Code:
<!-- / flags start -->
<div>
<vb:if condition="$post['fieldXX']"><img src="images/flags/{vb:raw post.fieldXX}.gif" alt="{vb:raw post.fieldXX}"></vb:if>
<vb:if condition="$post['fieldXY']"><img src="images/region/{vb:raw post.fieldXY}.gif" alt="{vb:raw post.fieldXY}"></vb:if>
</div>
<!-- / flags end -->
Again, hope this helps someone.