Not Solved How to get username of the user?
#1
Not Solved
Hi all,

Can someone tell me what's the variable used to get the username of the user? I tried {$mybb->user[‘username’]} but it didn't return anything.

Thanks,
Combus
Reply
#2
Not Solved
I use {$mybb->user['username']} and it works perfectly for me. What templates are you trying to use it in (I use it in header and portal templates).
Need web hosting? Try MyBBWebHost!
#1 for Running MyBB Communities
The world's only premium web host dedicated to MyBB forums.

Reply
#3
Not Solved
That's what I was trying to use, but I realized I had some weird ticks instead of ' . Thanks for your fast reply Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)