MyBB Community Forums

Full Version: [solved] if/then statement with $userfields?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
^ As the title asks. Is it possible to use if/then statements on the $userfields in the member profiles?

for example, say I have a field for Bio. IF the user puts something in that field, I would like it to display <this coding> (like a header or title or something), and if the user has nothing entered in the Bio field, then I would like <this coding> to not be displayed. I hope that makes sense, lol.

Is it possible, or would it have to be coded into the script?
You can do this via editing templates and using this plugin:
http://community.mybb.com/thread-31860.html
thank you very much! I'll have to try it out. Big Grin