Current time: 05-20-2012, 08:35 AM Hello There, Guest! (LoginRegister)




MySubscriptions, Donation Bar, MyDownloads, MyAchievements and support for our free and paid plugins. All that for $7!

Advertise Here!
Are you looking to advertise on this forum? Please read this announcement thread.

 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bank Money in welcomeblock
10-02-2009, 12:30 AM
Post: #1
Bank Money in welcomeblock
Hey,

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

i tested {bankmoney} , but don´t work

help please Shy
Find all posts by this user

10-02-2009, 04:11 AM
Post: #2
RE: Bank Money in welcomeblock
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

[Image: s.png]
Find all posts by this user
10-02-2009, 05:23 AM
Post: #3
RE: Bank Money in welcomeblock
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
Find all posts by this user
10-02-2009, 05:54 AM
Post: #4
RE: Bank Money in welcomeblock
Oh that. Because it's not supposed to work that way lol

[Image: s.png]
Find all posts by this user

10-02-2009, 09:15 AM
Post: #5
RE: Bank Money in welcomeblock
another way possible?
Find all posts by this user
10-02-2009, 11:37 PM
Post: #6
RE: Bank Money in welcomeblock
Yes, you'll need to edit the plugin file

[Image: s.png]
Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)