PDA

View Full Version : Welcome [member's name] message?


HotRodKush
10-21-2006, 02:49 AM
I know this is a very basic question, so I'll keep it short. I have dynamic announcements on my forum, and I'd like one to say "welcome back [username]!"

What coding do I put in the message to display the logged-in member's name?

Thanks alot!
Aaron

nico_swd
10-21-2006, 06:38 AM
echo 'Welcome back, '. $vbulletin->userinfo['username'] .'!';