Attila M.
12-27-2007, 10:00 PM
So all day today I was trying to figure this out, so I decided to show it you guys as well. This is my first code or what ever you want to call it lol.
Anyways,
First make the custom profile field you want to show. To do that Admin CP > User Profile Fields > Add New User Field.
Fill out what fits right for your profile field. Just remember the field number.
Once you did that, go to Admin CP > Languages And Phrases > Phrase Manager > Add New Phrase.
Fill it out as:
Phrase Type: GLOBAL
Product: vBulletin
Varname: (What ever you want it to be)
Text: (Example: If your custom profile field was favorite athletes this should be Favorite Athletes)
Once you did that go to Admin CP > Styles and Templates > Style Manager > (Skin you're editing) > Edit Templates > Postbit Templates > Postbit Legacy
Find:
<span id="repdisplay_$post[postid]_$post">$post[reputationdisplay]</span></div></if>
[U]Below It Add:
<if condition="$post['fieldx']"><div class="postinfo">$vbphrase[varnamehere]: $post[fieldx]</div></if>
Make sure to edit the bold letters/words in the code above.
Please don't be too harsh with this lol. I know there are newbies out there like me that didn't know how to do this.
Any problems, post it in here.
Click Install, and please visit my forum.
http://sport-gods.com/forums/index.php
Anyways,
First make the custom profile field you want to show. To do that Admin CP > User Profile Fields > Add New User Field.
Fill out what fits right for your profile field. Just remember the field number.
Once you did that, go to Admin CP > Languages And Phrases > Phrase Manager > Add New Phrase.
Fill it out as:
Phrase Type: GLOBAL
Product: vBulletin
Varname: (What ever you want it to be)
Text: (Example: If your custom profile field was favorite athletes this should be Favorite Athletes)
Once you did that go to Admin CP > Styles and Templates > Style Manager > (Skin you're editing) > Edit Templates > Postbit Templates > Postbit Legacy
Find:
<span id="repdisplay_$post[postid]_$post">$post[reputationdisplay]</span></div></if>
[U]Below It Add:
<if condition="$post['fieldx']"><div class="postinfo">$vbphrase[varnamehere]: $post[fieldx]</div></if>
Make sure to edit the bold letters/words in the code above.
Please don't be too harsh with this lol. I know there are newbies out there like me that didn't know how to do this.
Any problems, post it in here.
Click Install, and please visit my forum.
http://sport-gods.com/forums/index.php