How do I display a username in a forum

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Trog
    Member
    • Feb 2001
    • 86

    How do I display a username in a forum

    OK. Bear with me. I know nothing about php, but I have been playing with my templates. I have been trying to get a username to display when he/she enters a forum, with this simple line in the template:

    Hello there $username

    However, it just displays "Hello there" and no username!

    Why does it do this and how can I get it to work?

    Thanks in advance
  • Mike Sullivan
    Former vBulletin Developer
    • Apr 2000
    • 13327
    • 3.6.x

    #2
    You want to use $bbuserinfo[username] instead.

    Comment

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