MyBB Community Forums

Full Version: Hide empty custom profile fields in postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As you know we can add custom profile fields to postbit templates and they are shown in post author info.

Example:
Quote:Posts: 463
Joined: Jun 2006
Reputation: 3
MyBB Experience: Advanced

But what's happen when we leave the field empty?

Quote:Posts: 463
Joined: Jun 2006
Reputation: 3
MyBB Experience:

"MyBB Experience:" is still there and should be hidden. What about add this to the core?
You can do this using the template conditionals plugin.
Yeah, but there's no feature in the core to auto add profile fields to the postbit anyway. It already requires a template edit.
There is a plugin for this on 1.6 as well i use it so i don't need the conditionals plugin no more.
here is the plugin http://mods.mybb.com/view/profilefields-on-postbit sure it would work on 1.8 aswell
Infact i think the fuctionality of that plugin could easily be added to the core product.
(2013-04-03, 08:45 AM)Euan T Wrote: [ -> ]You can do this using the template conditionals plugin.
Yes, I use template conditionals but that's the only reason why I use them.

(2013-04-03, 10:58 AM)adbrad Wrote: [ -> ]There is a plugin for this on 1.6 as well i use it so i don't need the conditionals plugin no more.
here is the plugin http://mods.mybb.com/view/profilefields-on-postbit sure it would work on 1.8 aswell
Thank you, I haven't seen this plugin before. Smile

(2013-04-03, 10:58 AM)adbrad Wrote: [ -> ]Infact i think the fuctionality of that plugin could easily be added to the core product.
So do I. Smile