MyBB-Plugins Forums

Full Version: Bank Money in welcomeblock
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

i need the code to add "Money in Bank" into welcomeblock.

i tested {bankmoney} , but don´t work

help please Shy
Check the php file, I can't look at it at the moment. Just search for something like "find" and you'll see a few things including the line that contains the variable
in "plaza_bank" template is the following entry:

PHP Code:
<tr>
            <
td class="trow1" width="30%">
                <
strong>{$lang->info}</strong>
            </
td><td class="trow1" width="70%">
                {
$lang->money_on_hand} {$mymoney}<br />
                {
$lang->money_in_bank} {$bankmoney}<br />
                {
$lang->bank_interest_rate} {$mybb->settings['bank_interest_rate']}%
                <
span id="bank_message" style="font-weight: bold;"></span>
            </
td>
        </
tr

the variable is {$bankmoney}

but if i put this variable into header_welcomeblock_member template, it dont´t work!

before:
strong>{$user_money}</strong>

after changing:
strong>{$user_money}{$bankmoney}</strong>

but don´t working!

an idea why not? Huh
Oh that. Because it's not supposed to work that way lol
another way possible?
Yes, you'll need to edit the plugin file