PDA

View Full Version : Adding custom field in postbit


Smoothie
09-16-2002, 10:20 AM
I need to add a custom field in my postbit. It needs to be a required field upon registration, but for existing users this wouldn't show up in the postbit unless it was filled in under Edit profile. The custom field would be called just OS.

Thanks for any help you can provide.

Xenon
09-16-2002, 11:31 AM
i'm not sure if i understand exactly..

just add a new field in your ACP required at registration
Edit and viewable by users

then in your postbit template add $post[fieldX]
if a users haven't entered anything, it wouldn't show up anything..

Smoothie
09-16-2002, 04:31 PM
Thats fine for new registrations. But it will show as an empty field in the postbit if the existing members don't fill it in, right?

Xenon
09-16-2002, 05:32 PM
yes it'll show up as an empty string in postbit -> nobody can see it until it's filled