$username?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • latinO
    Senior Member
    • May 2001
    • 203
    • 2.3.2

    $username?

    Hi,

    in the redirect_postthanks template I want to insert $username, so the username is shown when you get the message "Thank you for posting bla bla bla...!"

    But it doesn't work... What am I doing wrong?

    Thanks,

    latinO
  • Trog
    Member
    • Feb 2001
    • 86

    #2
    Try this

    This may solve your problem. Instead of $username, try $bbuserinfo[username]

    Comment

    • latinO
      Senior Member
      • May 2001
      • 203
      • 2.3.2

      #3
      Re: Try this

      Originally posted by Trog
      This may solve your problem. Instead of $username, try $bbuserinfo[username]
      Yes, thank you... It worked! But what is the difference with $username?

      Comment

      • tubedogg
        Senior Member
        • Feb 2001
        • 13602

        #4
        $username might not be defined at that point. $bbuserinfo is always the current users' info - username, password, email addy, etc.

        Comment

        • latinO
          Senior Member
          • May 2001
          • 203
          • 2.3.2

          #5
          Okay,

          Thanks for your help!

          Comment

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