• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 country flags

ALMUSA

Active member
#1
Can someone help with adding html code to the proper template so I can add country flags under user info block

I have a customized user filed for users country of origin and location. I use to have it in my old xf before the upgrade but it seems like all the template have been replaced. I know it should be based in message_macros template (correct me if Im wrong) but Im having difficulty writing the proper html code. flags are named like flag_us.gif for each country. It used to be something like this:
Code:
<div class=extraUserInfo"></div>
<dl class="pairsJustified userField_country flag xbCustomField">
<dt>Country:</dt>
<dd>
<img src="/..../styles/default/xenforo/countryflags/us.GIF" alt"United States" title="Country: United States">
</dd>
Code:
<div class=extraUserInfo"></div>
<dl class="pairsJustified userField_country flag xbCustomField">
<dt>Location:</dt>
<dd>
<img src="/..../styles/default/xenforo/countryflags/us.GIF" alt"United States" title="Country: United States">
</dd>