Resource icon

[bd] Banking 1.0.4

No permission to download
I am noticing a small error on the postbit information. The transfer link is displaying to guests, so I am getting alot of 403 errors in Webmasters Tools. Is there anyway to hide this from guests?
 
You have to edit the template... add a conditional, this will do the trick ;)
You know, it is actually quite possible, I just need to extend this:
HTML:
    <dd>
        <xen:if is="{$user.user_id} != {$visitor.user_id}">
            <a href="{xen:link '{xen:helper bdBank_routePrefix}/transfer', '', 'to={$user.username}', 'rtn=ref'}" title="{xen:phrase bdbank_transfer, 'money={xen:phrase bdbank_money}'}" class="Tooltip OverlayTrigger bdBank_Balance" data-cacheOverlay="no" data-userid="{$user.user_id}" data-balance="{xen:helper bdBank_balance, $user}">{xen:helper bdBank_balanceFormat, {xen:helper bdBank_balance, $user}}</a>
        <xen:else />
            <span class="bdBank_Balance" data-userid="{$user.user_id}" data-balance="{xen:helper bdBank_balance, $user}">{xen:helper bdBank_balanceFormat, {xen:helper bdBank_balance, $user}}</span>
        </xen:if>
    </dd>

I looked at the wrong template first, then I read the conditional wrong. Not my day :(

EDIT:
2 template edits needed, in bdbank_message_user_info_extra and bdbank_member_view_info_block. In both, replace:
HTML:
<xen:if is="{$user.user_id} != {$visitor.user_id}">
With:
HTML:
<xen:if is="{$user.user_id} != {$visitor.user_id} AND {$visitor.user_id}">
info_extra is the postbit one, the other one is for your members profile page, so only edit info_extra if you don't allow guests to view member profiles.

EDIT 2:
Added in the correct second template. I hate mondays!
 
Any update on a store or a store mod that might integrate with this? My users are beginning to question what the point in earning virtual currency they can't spend is :P
 
Is there some way to utilise the cash to two decimal places, in other words include pennies or cents, please?

I'd like to use it in conjunction with the excellent Sportsbook and Stock Trader, when quite often fractions of a pound/dollar are dealt with.

Is there any easy workaround? Thanks for your time.
 
it would be nice if we could make a merchant like vbshop. the members can buy the stuff like colourful nick or signature with the money they won :rolleyes:
 
Is there some way to utilise the cash to two decimal places, in other words include pennies or cents, please?

I'd like to use it in conjunction with the excellent Sportsbook and Stock Trader, when quite often fractions of a pound/dollar are dealt with.

Is there any easy workaround? Thanks for your time.
Up!
 
There isn't a store for this yet, but I think you can use Sportsbook with it. There are also some stores that are under development that can be used with this.
 
I am now in dire need of some type of store. It seems my users are simply wondering the same thing as Vcize's users. What's the point of collecting virtual cash when you can't spend it. I hope to see some type of store for this soon, or at least an update on what's going on.
 
thank you man this is a good add-on but I have a problem,
I want users cant transfer money to each one, I want only one authorized person I set can transer money.
how can I do that??
 
Top Bottom