XF 1.3 Custom User Field Html


Well-known member
I was successful in adding a user custom field.

Which Type of Person are you: Pick one

So when the user goes into his profile settings and picks which personality he is. It would show up in his profile. As of now it shows up in Text only "funny" "crazy"
but instead of the text i want to show pictures for funny and crazy. I added the 2 .png pictures in /styles/default/xenforo/

How can i change the code so it shows up a photos instead of text
I dont know the html

I tried

if crazy = <{$choice}{$value}{$valueUrl}/styles/default/xenforo/crazy.png"size100x100"</>

if funny = <{$choice}{$value}{$valueUrl}/styles/default/xenforo/funny.png"size100x100"</>

But it doesnt work. I dont know how to link with photos. Help!
Last edited:


Well-known member
I will hijack this thread, hope it is ok, I guess we don't need more topics like this one.

Anyone can help me please how to display in postbit (the place below user avatar) instead of custom user field name, image selected by me? I hope it is possible and not too complicated.
Last edited: