PDA

View Full Version : Custom Profile fields that show up as images in Postbit


apfparadise
01-18-2005, 02:20 AM
How can I do that? Basically I am trying to put up little banners for winners of competitions, but there will be multiple ones, so I want a few fields that only admin can put info in. The first one would be : Prize badge #1, then Prize badge #2, and so on. So when a user wins their first contest, I create the image, let's say February 2005 POTM winner, and put the link to it in the field #1 for that user, to show up on the postbit below the Avatar....
If they win another contest, I put it into field #2. But only for that user

Colin F
01-18-2005, 05:41 AM
just put something like the following code into the template: <img src="$post[fieldX]" />

then add a custom profile field with the settings you like and change the X to the fieldid.
Put the path to the image in the profile field.