Working perfectly in Posts but I cant get it working in Profiles...
Ive been trying to get this working in the profile popup and on the profile page. Has anyone figured out the correct code. I can get it to show but it always defaults to the US.
This is the edited code. I changed (post) to (bbuserinfo) to get it to show but like I said its not working correctly.
Code:
<dl class="stats">
<dt>Country</dt>
<dd><img src="{vb:stylevar imgdir_button}/flags/{vb:raw bbuserinfo.fieldX}.GIF" alt="Users Flag" border="" /> {vb:raw bbuserinfo.fieldX}</dd>
</dl>
Also I resized all the images to only 10px tall if you want to show the flag but keep the image small. Took forever but here's the zipped file...