Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Place the money info in welcomeblock?
StingReay Offline
Junior Member
**
Posts: 1
Joined: Jul 2008
Post: #1
Place the money info in welcomeblock?
I've tried two methods already, they both didn't work. Tell me, how would I place the money info in the welcomeblock?
07-16-2008 08:13 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Place the money info in 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.


My Blog
07-16-2008 09:02 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: