MyBB Community Forums

Full Version: Edit custom profile field in postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,
I added a custom profile field in postbit using this:

In-game Name: {$post['fid5']}<br />

However I was wondering if its possible to add in some sort of if statement or other to only display that custom profile field in their postbit if the user has actually written something in there. If not, then that portion is not used in the postbit.

Possible to do this? Thanks!
Install this plugin: http://community.mybb.com/thread-31860.html

and then wrap the above code like this;
<if $post['fid5'] != "" then>
In-game Name: {$post['fid5']}<br />
</if>
Thanks a lot Yaldaram. I should be home soon to test this.
Huge help Smile