PDA

View Full Version : field code problem


fitaholic
09-16-2008, 05:59 PM
What is wrong with this code???

<strong>Height:</strong> $post[field19]<br><br>

I am trying to make field19 be posted after HEIGHT

Lynne
09-16-2008, 06:03 PM
What template are you trying to use this in?

fitaholic
09-16-2008, 06:05 PM
What template are you trying to use this in?

Im Memberinfo_block_aboutme

Opserty
09-16-2008, 08:48 PM
$prepared[field19]
or
$userinfo[field19]
?

Digital Jedi
09-16-2008, 09:48 PM
Isn't it: $bbuserinfo[field19]now?

Lynne
09-16-2008, 09:51 PM
It depends. $bbuserinfo will get the viewers info - yours. $userinfo will get the posters info (or the persons who's profile you are viewing - not necessarily your profile/post).

Digital Jedi
09-16-2008, 09:57 PM
Hrm, didn't realize that. I though it always pulled viewers info.

Lynne
09-16-2008, 10:10 PM
Hrm, didn't realize that. I though it always pulled viewers info.
Don't mix up $userinfo with $vbulletin->userinfo. $vbulletin->userinfo is just another way of saying $bbuserinfo. I think using such similar names is confusing.

fitaholic
09-17-2008, 12:25 AM
userinfo worked perfectly...thank you Opserity