![]() |
Adding Profile fieldss to Postbit
I have added conditionals that display some new profile fields in my postbit_legacy template. The problem I am having is making these fields show up when the member has not yet added any info. I know this should be easy but I am doing something wrong.
I need the field to show up so members know they can add their info. Thanks, Rich |
What is the code you are currently using?
|
Thanks, right now just the basic conditional
PHP Code:
|
Try something like this:
Code:
<vb:if condition="$post['field7'] != ''"> |
I actually tried something like that but I did not add text. I may have messed up though,
I will try this, Thanks Ozzy! #Update - ok, I see what I did before. In the else statement I put ___ thinking it would show Height___ if the info was not added. I should have just put Height in the text field. Doh Thanks again |
No problem, glad it's working now. :)
|
I had it working but alignment was messed up. I have a few fields I want members to see so they know they can enter their info. I may need to do a little more work to get it to display properly.
|
What is the alignment issue? Perhaps a link so I can see what you got going on live.
|
Sure,
https://vborg.vbsupport.ru/external/2014/02/1.bmp when filled it looks like this https://vborg.vbsupport.ru/external/2014/02/2.bmp I don't have a link because I put the standard conditional back while i figure it out. |
Here ya go:
Code:
<vb:if condition="$post['field7'] != ''"> |
All times are GMT. The time now is 09:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|