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?]"><div class="smallfont"><fieldset><legend>My MW2 Prestige</legend>
<div>
<img src="http://yourforum.com/forum/images/mw2/$post[field?].png"></div>


</if>

</fieldset>

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 ...

CharlieDelta
07-21-2010, 05:19 PM
Will this work for version 4x?

Khalid-B
07-22-2010, 08:38 AM
yes it will

CharlieDelta
07-22-2010, 06:16 PM
I tried but keep getting a path error. I made sure that the field entry was correct and changed "yourforum" to match my own.
Have you tried or are using this on version 4x?

CharlieDelta
07-24-2010, 12:19 AM
nosherwan you there??

Khalid-B
07-27-2010, 12:36 PM
yes i tried 4x and working fine for me ........... may be u are missing some thing.... can u tell me error msg that u r getting ?

CharlieDelta
07-27-2010, 07:29 PM
Here is what I get when I try to save the style change.


http://www.canadianriflesregiment.com/crrforums/images/MW2 Prestige error.png

CharlieDelta
07-29-2010, 07:41 PM
nosherwan?

Khalid-B
08-02-2010, 07:36 PM
nosherwan?

please follow this link....

https://vborg.vbsupport.ru/showthread.php?t=247827

CharlieDelta
08-02-2010, 10:24 PM
please follow this link....

https://vborg.vbsupport.ru/showthread.php?t=247827

Thank you mate.

darkie79
08-05-2010, 12:32 PM
Here's an idea, if you post images that are NSFW, have the courtesy to let people know. Thanks.

SpeedyHire
09-07-2010, 08:59 AM
works fine, just made a few small chnages.
thnak you