vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   field code problem (https://vborg.vbsupport.ru/showthread.php?t=191071)

fitaholic 09-16-2008 05:59 PM

field code problem
 
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

Quote:

Originally Posted by Lynne (Post 1623519)
What template are you trying to use this in?

Im Memberinfo_block_aboutme

Opserty 09-16-2008 08:48 PM

Code:

$prepared[field19]
or
Code:

$userinfo[field19]
?

Digital Jedi 09-16-2008 09:48 PM

Isn't it:
Code:

$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

Quote:

Originally Posted by Digital Jedi (Post 1623686)
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


All times are GMT. The time now is 10:49 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
  • Page Generation 0.00980 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete