![]() |
Bank Addon for Lesane store hack
This was requested on my site. and also lots of times here.
The problem was that they was a bank hack out but not one that works with the store hack. So i have reconfiged the root, mem and jessie ( https://vborg.vbsupport.ru/showthrea...threadid=38118 ) bank hack to work with Lesane's Store hack (https://vborg.vbsupport.ru/showthrea...highlight=bank ) I hope that they dont mind but i think it will be used more now anyway due the the fact that in lesanes store they is a way to make money. Big thanks out goes to the above people for making the 2 hacks I cant help but keep adding things to this hack Lesane great job you did with it ;) Another good point is becourse of the fact that once you put money in the bank it then cant be robed from other members of your board (well if you have rob addon installed) information on how to install and DB changes r in the zip below. BRING ON THE CASIO :P |
what about adding a small fee to use the bank? i mean, if everyone puts their money into the bank til neded then the rob hack is useless
would be even better if the fee was a % of how much u had in there |
if you want that its do
in Bank.php find $userbankmoney=floor($userbankmoney*(pow(1.03,$pre senttime))); under that put PHP Code:
PHP Code:
PHP Code:
note that -(pow(1.01,$presenttime)) is your % if you want atm its set at 1 % per day eg of 10% (1.1,$presenttime |
thanks so much man.....
|
Quote:
So i have a better idea i will work on it now and see what happens |
Please post description of this add-on! :D
|
how do you change the value so you can have more money in bank
it does not go any higher than 65535 |
ok due to how safe it is now once using it
i thought of this idea to add a cost of using the bank but not by a % per day not by a cost of using things. Ok in the real world you have to pay to take money out of an whole in the wall So i have made this addon take $10 off you for taking money out. also the bank is providing a service for the members. members want to use it, then they should be a cost for it. so the hack also makes you now pay $100 for invresting money into the bank :P :) |
Quote:
|
Quote:
run this ALTER TABLE user CHANGE bank bank INT(234) UNSIGNED DEFAULT '0' NOT NULL |
Great!
I have installed. Can you tell me what code to enter where to get the navigation string showing, like here you have: vBulletin.org Forum > Code Hacks > Full Releases > Bank Addon for Lesane store hack |
Great addon Blue2000, well done. I'm going to install this one later, thanks.
|
Here's some feedback:
"top 10 richest people" do not include money in the bank. Hence, I show up broke even I am not.... Is there a way to include money in the bank in the count? "the bank option" on the Store does not show any Sold# when I put money in the bank... it just stays zero. |
i just found another bug
it wouldnt allow you to take out more than 10000 find in bank.php PHP Code:
PHP Code:
|
Quote:
oh and about the bank option that was just a way of putting a link in the shop when you press the link your not buying anything so its not wrong to only display 0. |
Quote:
find PHP Code:
PHP Code:
|
Quote:
thanks for that, it works well now,, cool job |
Quote:
bankbit template find PHP Code:
PHP Code:
|
is there a way to show the amount of interest you have earned whilst moneys been in the bank
|
not at this time
|
this is a great addon.. ill have a go at installing it later.... are all the updates that you have done in the original zip file???
|
Quote:
|
Does your money grow with interest?
|
yah...does it grow with interest?
|
OK When you go to the store is says how much is needed for this item if you want to buy it and it tells you how much money you need also to buy it. KNow in order to have the bank you need 100 bucks. Now no where in the main page of the store does it say you need 100 bucks till you actually click the bank button then it says you need 100 bucks. Please tell me how to add something pon like this thanks.
|
I am creating new template for this hack because the ones now are a little reaky looking. When i am done i will create a new template look and release them here in this thread. They should be done tongiht. I am trying to figure out why this php code is not working for the avatar
$avatarimage It works on the forum home but not in the bank. but $avatarimage directs to ITEM.gif in your images dir for some odd reason. I will change this also unless someone wants to post it now. I am going to look at it now and post back. |
I replaced the code but I still show up broke....in 10 richest. No change. Any clue...
ps. looking forward to that new template release... Quote:
|
Quote:
and it gives you an eg to set the interest to what you want |
Quote:
Ok first off this link was just made for a easyer way to add the bank to the store so you didnt need antoher button in your header. It cant you show how many its sold becoz ITS NOT SELLING U ANYTHING als o if that was added then it would also be a lie coz you dont get changed to transfer and stuff link this They is however 3 ways arond this problem 1. One i can probley edited the DB so them numbers would only show as NA 2. set the bank link not to display in your forum and then add a button yourself. (personaly i liked the link in the store so thats why i added that bit) 3. U can leave it the way it is and in your admin cp edit the option for bank and add in the Description the costs for things [high]* Blue2000 likes option 3 coz its easyest :P[/high] |
Quote:
ok they r not that bad looking but i agree they do need a little tooking in ;) one of my admins is making a new set now. But if you ask me the more sets of templates the better fella. so bring them on :) Quote:
i dont have this problem at all and your the first to report such a thing. does anyone else have thing problem? |
Quote:
try redownloading the zip[i updated it] and install it from there. see what happens coz this is working on my site and 3 others i have seen. |
Quote:
https://vborg.vbsupport.ru/attachmen...&postid=246545 See the X It is only on that screen though that it does it. All the other screens are fine with the avatar showing but this one. Its only in the showroom template it doesnt work. That i find wierd. No one else is having this prob of not seeing the avatar? |
Sorry... text file in zip in first post looks the same as the old one.. without the "if 10 richest action.....". Can you attach it here?
Quote:
|
Quote:
BigJ.: I have avatars in every template.... "$avatarimage" works fine. My avatars are still in the ... /images/avatar directory. |
its hard to try and debug somthing that doesnt happen to you.
|
Quote:
Could you please attach the new zip/new txt file here because the text file in post one looks like the old one... Then I can see if I get the top 10 richest to work (ref.post above). Thanks,. |
well if you looks at th avatar images thingy lines in the PHP when u have no avatar it directs u to /board dir/item.gif So that is why. I just debugged it and fixed the prob also here are my templates i created for this addon if anyone wants to use them.
Here is a image of what it looks like. The actual TXT file is in the post below. Enjoy. Tell me what you guy think of it? It was pretty simple. I just didint like the other one but everyone has there own opinions. |
Sorry i lied. hehe. Here is another pic. The txt is below. ;)
|
Here is the actual instructions on the templates. Enjoy.
|
Thant template is very very nice :) cool bank image!
|
All times are GMT. The time now is 12:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|