MyBB Hacks

Full Version: Place the money info in welcomeblock?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've tried two methods already, they both didn't work. Tell me, how would I place the money info in the welcomeblock?
{$mybb->user[MYPLAZA_MONEY_COLUMN]}
?

It won't do the formatting though.

Otherwise, open global.php, find:

PHP Code:
$lang->welcome_current_time = sprintf($lang->welcome_current_time, $datenow.', '.$timenow);

And add below:

PHP Code:
$mymoney = my_format_money($mybb->user[MYPLAZA_MONEY_COLUMN]);

And add {$mymoney} to your welcomeblock templates.

Reference URL's