Hi
No ya didnt say that in the instructions
will try it though thanks
Code:
State Flag Mod for vb 3.5
This hack shows user's state flag (Where abouts in there country they come from) in postbit, below the user name or country flag (If installed).
As part of the Country Flag mod, State Flag mod created by Jonathan Thomas
1. Go to AdminCP => Profile Fields => Add new Profile field => Single Select Menu >
Title > Home County/State
Description > Tell people where abouts your from
Options:
[copy and paste list of countries in state_list.txt to this option field]
Set Default: Yes, none
Editable By User: Yes
Display Page: Edit Profile
Write down your field# . i.e field6
2. Open postbit(_legacy) template,
FIND:
<div>
$vbphrase[posts]: $post[posts]
</div>
BELOW, ADD:
<if condition="$post[fieldX] != ''"><div>
State/County: <img src="images/state/$post[fieldX].gif" title="$post[fieldX]" align="center">
</div></if>
<!-- Change X to the field id. -->
3. Upload /state to images/state to your forum dir.
<!--- That's it! --->