PDA

View Full Version : Profile Trouble


BigJohnson
12-29-2002, 12:36 PM
I have a new profile field i just made. I added a bit of code to the admin/functions.php and made it so if the field is not filled out then the prifle field is not visible in the postbit. But when it is filled out the field shows in the postbit. I would like to have the same thing happen in the getinfo area but I can't because there i the custom field code. And when nothing is filled out in that new profile fild it just shows a blank area next to the title of the profile field. What can I do to make the getinfo work the same way as the postbit code i inserted?

Chris M
12-29-2002, 01:09 PM
Well...

One thing you could consider is instead of using a Profile Field, you could use another row on the user table;)

It would require more template editing and a little more hacking, but for the getinfo template, you could get a variable to call the template if it has content, and not if there is none;)

Satan

BigJohnson
12-30-2002, 02:02 AM
Can u help me with that then? I dont no php and it would be great to have the code to just have the custom profile field not show in the profile if it is not filled out. There is no way to just edit $customfield to make it so that if the field is not filled out then it wont show?

BigJohnson
12-31-2002, 11:20 AM
bump