View Full Version : How to add custom profile field below user title ?


Floris
10th August 2007, 12:44 AM
Tip of the day : How to add custom profile field below user title ?
Original thread (http://www.vbulletin.com/forum/showthread.php?t=235454&goto=newpost) posted on vBulletin.com by : riderbook on : Thu, 05 Jul 2007 07:06:13 GMT

How to add custom profile field below user title ?]What it does ?
It shows the custom profile field below the user title in post bit. There is a customization for creating a private field & using in post bit, but there is no tip for doing it below user title.

How to create private field ?
Check this thread on how to create private field : (by Jake Bunce)
http://www.vbulletin.com/forum/showthread.php?t=214234


How to add private field below user title ?
Admin CP -> Styles & Templates -> Style Manager -> « » -> Postbit Templates -> postbit or postbit_legacy (depending on which layout you use)

Find :
Code:
$post[usertitle]


Add Below :
Code:

$post[fieldX]

If you want the profile field with label, you can do the following method:

Code:

Gender: $post[fieldX]


fill the "x" with your profile field number, replace the word gender to your need


vBulletin-Fans.com hopes you learned something from this great tip and if you also have a great tip you can submit it on vBulletin-Tutorials.com here (http://www.vbulletin-tutorials.com/newthread.php?do=newthread&f=591), or on vBulletin.com here (http://www.vbulletin.com/forum/forumdisplay.php?f=109). Don't forget to subscribe to this forum (http://www.vbulletin-tutorials.com/subscription.php?do=addsubscription&f=591) to get daily tips on how to best secure, optimize, manage and operate your vBulletin powered forum.


Floris & Staff
vBulletin Fans Network
http://www.vBulletin-Tutorials.com/