MyBB Community Forums

Full Version: A quick IF END IF for profile field
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I check to see if a user entered something into the profile field? i want to display this field in the member profile, but only if it's not empty. What's an easy way to do this?

Thanks!
There are no IF conditionals for the templates. Your best bet is to write a quick plugin.

But if the field is empty what do you think it's going to display anywys? It will just be like the current profile page with lots of things empty.
If it's empty, I don't want it to do a certain function, but I do, if it's not empty.

There is no way to check if a profile field is empty without a plugin?
No, but it is an easier plugin to create.
DrPoodle Wrote:No, but it is an easier plugin to create.

DrPoodle, where would I learn how to write a plug in for this?

Thanks!