MyBB Community Forums
Show Username? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Show Username? (/thread-80491.html)



Show Username? - dev2k10 - 10-16-2010

Hi i have created a new box in my index.php, I want to write "Hello (username) welcome to the forum!" then some other text, What is the code to show their username?


RE: Show Username? - Ashley S - 10-16-2010

There's a simple plugin for this, To welcome members when they register.


RE: Show Username? - dev2k10 - 10-16-2010

yeah i dont want just the welcome message, i want to add loads of other content like latest news etc. :|


RE: Show Username? - Matt - 10-16-2010

You'll need a plugin if you want to add lots of stuff, but the code to show a username is {$mybb->user['username']}


RE: Show Username? - Akshay.S - 10-17-2010

Please go to www.mybbcentral.com and download the Header News plugin.