Announcement

Collapse
No announcement yet.

$bbuserinfo just is working in templates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • $bbuserinfo just is working in templates

    I am looking for the way of get the Custom Profile Field, which is gotten in templates with $bbuserinfo[field5], but I want get it from PHP

    The array $bbuserinfo just is working for templates $userinfo[field5] seem be empty, $vbulletin->userinfo[field5] returned me "Array[field5]", then this array have into others elements, How can I select one? I thought this array just have one dimenssion

    then What is the global variable with this Custom Profile field?
    Last edited by Augustino; Thu 12 Oct '06, 5:02pm.

  • #2
    in a php file with vBulletins global.php included you need to use $vbulletin->userinfo[funstuff]

    Comment


    • #3
      You're missing the single quotes:

      $vbulletin->userinfo['field9']

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X