The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
I tried it again and made sure everything was correct. I checked and made sure that it was field 5. and it still didnt work.
|
#12
|
||||
|
||||
your if statement is incorrect
try just using $post[field5] instead |
#13
|
||||
|
||||
Please tell me how the condition is incorrect? $post[field5] and $post['field5'] both mean the same thing, with the one with quotes being faster. When you don't have the quotes, PHP searches for the constant named field5, then searches for the array key named field5. With the quotes, PHP only searches for the array key named field5.
|
#14
|
|||
|
|||
Please post the code you are using, furthermore have you checked that this field actually contains data to be displayed? (i.e. it is not empty)
|
#15
|
||||
|
||||
Quote:
$post[field5] </if> That is the code i am using. The field is not required to be filled out at registration. It is optional. But I have it filled out and so do many members and when i put the code in it does not show up on the posts of the people who do have it filled it. Is the code wrong or something or is the field supposed to be a Required field instead of an optional field? --------------- Added [DATE]1207186313[/DATE] at [TIME]1207186313[/TIME] --------------- Update: I have been adding the code to the postbit_legacy which is listed under "postbit templates" and is also the one that is Red text. There is also a thing called "postbit" listed under "postbit templates" but it is in white text. Am i supposed to add the code to "postbit" or "postbit_legacy"? |
#16
|
||||
|
||||
You need to add it to the one you are using. If your posts have the user info on the left hand side, it is legacy. If they display on the top (like here), it is not legacy.
|
#17
|
||||
|
||||
Quote:
That must be why! I was adding to the postbit_legacy but the other fields display on the top right of the posts. That is wierd though because in the legacy i saw the code for location and join date and all of that stuff. |
#18
|
||||
|
||||
Because the legacy template also shows that information. It is used when the option to display user info in posts to the left is activated.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|