MyBB Community Forums

Full Version: understand those valuables?{$bgcolor}{$threads}{$unapproved['unapproved_threads']}
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
is there any tutorial over there who could explain those variables? and from where can i change them the defaults one?
see this thread for related guidance
(2013-05-22, 04:18 PM).m. Wrote: [ -> ]see this thread for related guidance

thanks m8te i will look into itSmile you are always here to help me out i will own you ten times?Toungue
can you tell me a variable who catches the username and only?
$mybb->user['username'] {$mybb->user['username']}
(2013-05-26, 07:10 PM).m. Wrote: [ -> ]$mybb->user['username']

Nope is not working.
Ive get this :Array['username']

I dont want to add a value there i just wanna use it for welcome box.
^ are you trying to get user name outside MyBB forum ? if so you have to include global.php file
so that you can use main variables to get required results.
i dont make it external im customise it on welcome block member.
{$mybb->user['username']}
if it's in templates. It shows username only for members as a string.
^ oh, there was a mistake (rather blunder). it is {$mybb->user['username']}
Pages: 1 2