Hiding Empty Profile Fields in PubBB
Page 1 of 1
Hiding Empty Profile Fields in PubBB
Hi I'm looking for a bit of code that can hide profile fields if they haven't been filled in when in 'view profile' mode.
For example:
but
I'm working with PunBB and using the advanced profile. So far my attempts to do this with javascript haven't worked. Any takers?
For example:
wouldn't display.
Hobbies: -
but
would.
Hobbies: Music
I'm working with PunBB and using the advanced profile. So far my attempts to do this with javascript haven't worked. Any takers?
Re: Hiding Empty Profile Fields in PubBB
If you'll leave the field empty, the field doesn't show. I guess you're using this as required to registration? If yes, I can't help you because you must complete the field. If you'll complete field with a "-" you'll get this in your profile.
Guest- Guest
Re: Hiding Empty Profile Fields in PubBB
That was my original thought as well, but Forumotion by default will display a - if the field is blank or was never filled in
Regardless of if it is required or optional.
For example this is a profile on our testboard that has never been filled in.
[ Link ]
Ideally I'm after a way to control when profile fields display. Which would be easy except that getting the field values is proving to be difficult.
*EDIT: okay, so.. you're right, it only displays all of them because i was logged in as a admin.. weird. Consider it solved?
Regardless of if it is required or optional.
For example this is a profile on our testboard that has never been filled in.
[ Link ]
Ideally I'm after a way to control when profile fields display. Which would be easy except that getting the field values is proving to be difficult.
*EDIT: okay, so.. you're right, it only displays all of them because i was logged in as a admin.. weird. Consider it solved?
Similar topics
» Empty Profile Fields [HELP]
» 2 languages mixed together, and how to remove empty fields from profile ?
» Profile tabs + separated profile fields
» Profile fields, profile notifications, and system
» Profile Fields and Profile layout help.
» 2 languages mixed together, and how to remove empty fields from profile ?
» Profile tabs + separated profile fields
» Profile fields, profile notifications, and system
» Profile Fields and Profile layout help.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum