Khalid-B
08-01-2010, 10:00 PM
Installation
Make a profile field through ACP > User profile Fields > Add new user profile field
Single-Line Text Box
Title: What Prestige you are now?
Description: Tell us your level prestige you are now.
<BR>For Example...<BR>
prestige1 for 1st prestige10 for 10th
Field Required: your choice
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Which page displays this option? Edit Your Details
Now edit your postbit_legacy templet and search for .
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
underneath add this code.....
<!-- MW2 Prestige in postbit Start -->
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['field?']"><dt><font color="red" size= "2">MW2 Prestige</font></dt>
<dd><img src="http://yoursite.com/Forums/images/mw2/{vb:raw post.field?}.png" alt="" /></dd></vb:if>
</dl>
</vb:if>
<!-- MW2 Prestige in postbit End -->
change field? with user profile field ID and site url as well
Now upload MW2@ folder in images site/forum/images directory
Make a profile field through ACP > User profile Fields > Add new user profile field
Single-Line Text Box
Title: What Prestige you are now?
Description: Tell us your level prestige you are now.
<BR>For Example...<BR>
prestige1 for 1st prestige10 for 10th
Field Required: your choice
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Which page displays this option? Edit Your Details
Now edit your postbit_legacy templet and search for .
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
underneath add this code.....
<!-- MW2 Prestige in postbit Start -->
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['field?']"><dt><font color="red" size= "2">MW2 Prestige</font></dt>
<dd><img src="http://yoursite.com/Forums/images/mw2/{vb:raw post.field?}.png" alt="" /></dd></vb:if>
</dl>
</vb:if>
<!-- MW2 Prestige in postbit End -->
change field? with user profile field ID and site url as well
Now upload MW2@ folder in images site/forum/images directory