MyBB Community Forums

Full Version: Enabling html in profile fields
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I make HTML work in profile fields? I'm setting up a mini-shop on my board, and in the items field (field added by me, multiple selectbox, uneditable by user) I want people to see images instead of text. I tried to set the values like "<img src="image" />, but when I try to select one for me, I get "Mybb error - profile field value incorrect" (or something like that). And to be on the safe side.. is there a way to enable html in only that profile field? (fid is 4)

Thanks in advance Big Grin

yes,I used the search function.
If I understand you correctly, what you need is to enable HTML in the forum which has the id of 4:
Admin CP -> Forum Management -> Manage Forums -> Edit the forum with fid 4 -> Miscellaneous Options - > Allow HTML -> Set it YES -> Update forum.
If that is not the case, please let me know.

Regards
fid as in field ID, not forum ID Smile
There's no way to enable HTML in a profile field right now. You'll need to get a modification or plugin to do that.
Just tried some codemod, and images don't display in a multiple select box ... Although you can select a "empty" space and Update your Profile Options succesfully.