MyBB Community Forums

Full Version: Custom profile field to appear under Posting profile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I'm trying to get a custom profile field to appear just below someone's profile in a post. Under The Avatar, group image, post count and reputation.

I can't seem to find the proper code to make work. Any advice?

Thanks.
Use {$post['fidX']} ; Change X with FID of the CustomField.
Thanks, do you know if there's a way to display an image instead of the text?
Like say in the custom profile someone selected "Pizza" as their favorite food of the week. How would I display the image of a pizza instead of the word?
You can try putting something like this in your template:

I picked: <img src="images/{$post['fidX']}.jpg" />

But that will require you to have an image for each option in your custom profile field, in the images folder.
Thanks guys!
Hmm one more question,
When the custom profile field was created, the Option Value was defined same as the file name. Is it possible to change the option value? To redefine it?