Log in

View Full Version : How do you use a custom profile field in a template?


JPhantom
04-16-2006, 10:33 PM
I know how to use them in the postbit templates, but I'm trying to modify the avatar page to include a custom field, but I cannot find out how to display them in the style manager. Any help would be highly appreciated. Thanks.

Adrian Schneider
04-17-2006, 12:25 AM
$bbuserinfo contains the userinfo for the current user
$post contains the userinfo / postinfo for the current post/author

So field 8 would be $bbuserinfo[field8]

Another common one is $userinfo for viewing a user's profile.

JPhantom
04-17-2006, 12:54 AM
$bbuserinfo worked. Thanks a bunch. =)