MyBB-Plugins Forums
Bank Money in welcomeblock - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.4.x (http://forums.mybb-plugins.com/Forum-MyBB-1-4-x)
+---- Forum: MyPlaza Turbo (http://forums.mybb-plugins.com/Forum-MyPlaza-Turbo)
+---- Thread: Bank Money in welcomeblock (/Thread-Bank-Money-in-welcomeblock)



Bank Money in welcomeblock - Axxis - 10-02-2009

Hey,

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

i tested {bankmoney} , but don´t work

help please Shy


RE: Bank Money in welcomeblock - Diogo Parrinha - 10-02-2009

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


RE: Bank Money in welcomeblock - Axxis - 10-02-2009

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


RE: Bank Money in welcomeblock - Diogo Parrinha - 10-02-2009

Oh that. Because it's not supposed to work that way lol


RE: Bank Money in welcomeblock - Axxis - 10-02-2009

another way possible?


RE: Bank Money in welcomeblock - Diogo Parrinha - 10-02-2009

Yes, you'll need to edit the plugin file