![]() |
Need Help - Custome Profile Fields.
I am having difficulty getting my custome user profile fields information to display correctly in the postbit.
I am using the following code: Code:
<if condition="$post['field5']"><div class="smallfont" style="background-color: #261d0c; padding: 4px; border-bottom: 2px solid #0e0b04;"><strong>Class:</strong> $post[field5]</div> For my user profile it should display: Quote:
Quote:
Is there something wrong with the way I coded it? Thanks for any help ahead of time! p.s. Here is a link to demonstrait what I am talking about IRE Recruitment Message - IRE notice right side of post bit user profile fields display. |
Try to control again the configuration of your custom user field. Maybe it contain the error.
However, if you've set your custom profile field with Options, you could use this type of code: Code:
<if condition="$post['fieldX'] & 1"> |
Sorry Triky I do not fully understand what you are trying to tell me.
edit: ok now that you have added the code in I will give it a go see what comes of it. |
With "configuration of your custom profile field", I mean: Go to -> AdminCp -> User Profile Fields -> Edit your own -> Check if it's all ok.
|
Found the problem and you were right. I had multiple line selection not single line.
Some times the most simple of things I overlook. Thanks for your help. |
No problem! :)
|
All times are GMT. The time now is 10:38 PM. |
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:
|