Announcement

Collapse
No announcement yet.

What is this global variable?

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

  • What is this global variable?

    $bbuserinfo['userid']

    Does that give the user id for the user or something else?
    Group Builder

  • #2
    Nevermind
    Group Builder

    Comment


    • #3
      bbuserinfo[] holds the information from the user browsing the page.
      the userid helps display the unique id from the user. 0 for guest and 1 and above for registered members.

      <div>Hello $bbuserinfo[username], you are member# $bbuserinfo[userid]</div>
      Hello kau, you are member# 18999

      Comment

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