PDA

View Full Version : End-User Options - MW2 Prestige Ranks in Postbit


Khalid-B
07-10-2010, 10:00 PM
MW2 Prestige Ranks in Postbit




What does it do? Just for fun..

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 .......... (or your own Choice)



<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>

underneath add this .....

<if condition="$post[field?]"><fieldset><legend> My MW2 Prestige</legend>
<div>
<center><img src="http://yourforum.com/forum/images/mw2/$post[field?].png">
</div>
</fieldset></if>

Dont forget to change field? with user profile field ID


Now Upload contents of upload folder mw2 to your forum/images/ directory


PSD is included so you guys can change size or any thing ...

NLPLegacy
11-01-2010, 06:22 PM
Damn thanks bro. This will help with my gaming site

SpeedyHire
11-01-2010, 06:37 PM
looks good.
I done same sort of thing for Bc2 clan