PDA

View Full Version : Add-On Releases - IBank - Simple, Flexible, Integratible bankin system for any cash system!


Blaine0002
01 Aug 2006, 17:36
Simple banking system for any points mod.

This required a cash mod to be installed! (ICash Vbux or anything else.)

To install, simply upload ibank.php to your forum root and Import the xml file.

Once installed make sure you go into the IBank options under vbulletin options and set the money row to match the one used by your cash system.

Link to the IBank in your navbar!

Works with: All current versions of vbulletin.

Craigex
01 Aug 2006, 17:57
Got any screenshots?

Blaine0002
01 Aug 2006, 18:06
nope, too lazy and too little time.
try.
http://www.gentendo.com/forum/ibank.php

chkdgate
02 Aug 2006, 00:09
Blaine, just tried to give it a shot on 3.5.4. It's a no go. I'll wait patiently and see if you'll release it for pre 3.6. Great work though. Keep it up.

Blaine0002
02 Aug 2006, 03:53
how is it a nogo. Works fine on both versions for me..

Any errors would be nice....

d8tabyte
02 Aug 2006, 05:56
how is this different than the standard bank that comes with most cash/point systems?

chkdgate
02 Aug 2006, 06:19
It doesn't show up anywhere. Plus, out of all hacks, yours are the easiest to install so I know I didn't miss anything.

Blaine0002
02 Aug 2006, 14:10
Sure you didnt miss putting a link into the navbar? :D

And its probably not any diffrent, but it can be used with anything like even vbookie and my cash hack, ICash.

Blaine0002
02 Aug 2006, 14:20
oh wait, are you using 3.5.4?

if you are you might need to edit the template, and change the version 3.6.0 to 3.5.4, not sure if it would make a diffrence tho.

JD210
05 Aug 2006, 01:17
I installed it on 3.5.4 with no problems, it works great with the ICash. The only thing I ran into is that the IBank link is invisible on the VBulletin Options in the AdminCP, there is just a blank space where it should be but when you click on it, you go right to the settings.

Blaine0002
05 Aug 2006, 02:11
Ah, strange, probably a screw up on my part. :)

adonfun
05 Aug 2006, 10:02
Question.. Where can I find the Cash Mod for 3.6 ?

I searched all mods in 3.6 but coulnd't find it.

Blaine0002
05 Aug 2006, 15:25
Located here
http://www.vbulletin.org/forum/showthread.php?p=1044926#post1044926
Though it isnt in the 3.6 hacks, it works with it :)

adonfun
05 Aug 2006, 15:48
Thanks Blaine! Will check and will install :)

chkdgate
09 Aug 2006, 06:13
Blaine, I finally got IBank to work. The problem was that I wasn't linking ibank.php to my navbar. The only issue now is that it doesn't show up in my admincp menu. It's clickable and functionable but not visible. The other part is that I see on your setup you have it to where the interest incriments in a specific time but my option is only for 24 hours (1 day). Is this right?

*installed*

chkdgate
09 Aug 2006, 06:40
I found a possible bug. Everytime I click on the IBank link the timer starts from the beginning and it grants the interest. That means that if anyone on my forum wanted to make tons of money all they would have to do is keep hitting the IBank link. Is this due to my problem above?

Blaine0002
09 Aug 2006, 20:43
so every time you click ibank you get the intrest? strange...

chkdgate
10 Aug 2006, 05:54
^^Yes. Also, is there a way you can show how much you have before depositing? Currently there's no way to see how much I have so I have to go back to any post and see my points. When I go back to deposit, that's when I noticed that the interest is flawed. Strange indeed.

MoMan
10 Aug 2006, 22:15
If you refresh the ibank page, your interest gets payed out. Thats a definite bug requiring prompt fixing...I'll go take a look at the code.

MoMan
10 Aug 2006, 22:26
I, not knowing much PHP, found the error...

Just change:

$checktime = $nowtime - $banklastvisit;

To:

$checktime = $nowtime - $lastvisit;

The variable is called 'lastvisit' and not 'banklastvisit'

chkdgate
10 Aug 2006, 23:31
Thank you MoMan. Are you referring to my problem above? Blaine do you agree?

Edit: My setting are all out of whack. Is this right?

chkdgate
11 Aug 2006, 07:40
I, not knowing much PHP, found the error...

Just change:

$checktime = $nowtime - $banklastvisit;

To:

$checktime = $nowtime - $lastvisit;

The variable is called 'lastvisit' and not 'banklastvisit'

Once again MoMan thank you for your help. I performed the above edit and it fixed my problem. Good job. I'm sure Blaine will update soon. I'm surprised no one has reported this yet.

Edit: Wow, that also fixed my count down timer as well! Btw, How do I set the intervals? I don't have this option.

Blaine0002
11 Aug 2006, 16:36
It will automaticly update every 24 hours, thanks for the fix.

I will add custom intervakls in the future.

chkdgate
11 Aug 2006, 17:46
Oh ok. The only reaason why I thought this was because when I visited your link, it shows the intervals in "days" but then I realized that it's just sample when a user is not logged in.

phonexpo
16 Aug 2006, 22:18
Installed it, but I'm confused - Does each member not have their on account? ie I want to use this system so that members can build up "money" then deposit into a main bank account (admins).

I'm using this with the ICash system. Can I do the above? or if not what would you suggest I could do to do this?

*Edit


I'm getting the hang of it now a little. :)

mwouterse
20 Aug 2006, 20:12
How can I link IBANK to the NAVBAR (it wil be helpful if you can send the code).

THANKS!

Ntfu2
30 Aug 2006, 04:30
edit your navbar template and place this where you want the link

<td class="vbmenu_control"><a href="ibank.php" rel="nofollow">iBank</a></td>

dubsyxxx
31 Aug 2006, 13:10
does this work with reputation and if so how???

dubsyxxx
31 Aug 2006, 13:51
i got it...great hack very good job ...goes to click install

Snake
17 Sep 2006, 19:21
Thanks. I'll check this out soon!

davidw
16 Nov 2006, 00:45
You may want to add this to the product:
<phrase name="settinggroup_Ibank"><![CDATA[Ibank]]></phrase>

Listed under
<phrasetype name="vBulletin Settings" fieldname="vbsettings">

:)

davidw
22 Nov 2006, 02:53
I've updated the ibank.php to handle the changes I've made here:

http://www.vbulletin.org/forum/showpost.php?p=1115447&postcount=172

Also, here is a screenshot of what it looks like (Shekels is what I use for money).

Blaine0002
22 Nov 2006, 17:50
Thanks for that, updating zip file now.

Though, shouldnt you have uploaded the product file? after all the changed you listed took place in the product.. I changed that and uploaded it along with your php file anyway :D

Basicly I think this version should be about bug free.

davidw
22 Nov 2006, 18:22
I'm going to make some more changes to the iBank.php file (as I did after I uploaded it last night), and I will make the changes to the product and upload them both later when I get a chance.

davidw
22 Nov 2006, 21:19
Here you go... look this over - I believe I've got it fixed.

phonexpo
23 Nov 2006, 04:11
Updated thanks.

PS: The instuctions in the file should be;

1. Upload files as is to forum directory
2. import product
3. preform file edit below (not nessecary)
4. Have fun!




In order to have cash display in postbit, open your postbit template

Find:
----------
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]



Add after:
----------
Banked $vboptions[ibank_moneyname]: $post[bankmoney]

;)

chkdgate
01 Dec 2006, 10:08
I'm not sure if this has been answered already but can it be possible to buy points through paypal?

Kat-Sybermoms
07 Dec 2006, 22:21
Thanks for an easy hack to install. For a hack-newbie, these are great.

Now, my members really like the options of being able to steal points, but leaving the banked points safe. Is this a possible upgrade/add-on that is easy to do?

Blaine0002
08 Dec 2006, 02:50
Thanks for an easy hack to install. For a hack-newbie, these are great.

Now, my members really like the options of being able to steal points, but leaving the banked points safe. Is this a possible upgrade/add-on that is easy to do?

Was answered in the Icash thread. check there :D

Kat-Sybermoms
08 Dec 2006, 17:12
Yep! Found it there. And I now have a rash of members stealing into the negatives and it's getting fun now :lol :lol

nix
10 Dec 2006, 20:35
I'm having members complaining that the bank is stealing money away from the. I looked through it and can't find anything wrong with it. Any ideas? Using it with vbookie if that helps.

davidw
10 Dec 2006, 20:59
Is it for members who have 1,000 points/$/whatever or more and then they are down to 1-10 points/$/whatever?

nix
10 Dec 2006, 21:01
Yea.

davidw
10 Dec 2006, 21:14
Curious, what version of PHP are you running? The same thing is happening to me? I'm running 5.1.2 and I am curious to see if it is a PHP issue.

nix
10 Dec 2006, 21:20
4.4.3

This is just one example.

it says i only have $1.01 in the bank when last night had $1005

davidw
10 Dec 2006, 21:26
I rewrote a bunch of the code to try to fix that issue, which I don't see how it even exists in the first place. However, I am going to work on add a cron job and have it handle the interest and that may fix the problem (crosses fingers).

nix
10 Dec 2006, 21:30
I can't remember if I downloaded the zip you posted or the main zip file. Are they both the same?

Kat-Sybermoms
11 Dec 2006, 19:09
It looks like we are having the same problem. What is the fix?

nix
11 Dec 2006, 19:42
Also if a user has more then $1000 in the bank they only get .01 for interest.

davidw
11 Dec 2006, 20:00
don't know yet

Blaine0002
11 Dec 2006, 20:23
Thanks for your continued help on this product, i have had my hands tied together by other modifications :) (plus im terrible at crons)

chkdgate
12 Dec 2006, 08:54
Blaine, you ever thought about marrying both IBank and ICash as one product?

Blaine0002
13 Dec 2006, 20:16
I prefer them individual, that way you can use only one if need be.

GSPFAN
16 Dec 2006, 01:47
any updates for this product?

GSPFAN
16 Dec 2006, 03:19
Blaine, I finally got IBank to work. The problem was that I wasn't linking ibank.php to my navbar. The only issue now is that it doesn't show up in my admincp menu. It's clickable and functionable but not visible. The other part is that I see on your setup you have it to where the interest incriments in a specific time but my option is only for 24 hours (1 day). Is this right?

*installed*


Anyone know how to link ibank.php to the navbar?

TYorke
17 Dec 2006, 08:33
Though I do have this one working on my forums, it would be helpful if the instructions were a little more clearer as to what exactly is this "money row"

I had to look in my SQL database that this row was "vbookie_cash" for my system (vbookie)

Kat-Sybermoms
19 Dec 2006, 00:13
Anyone know how to link ibank.php to the navbar?

You edit the nav template. I believe the instructions are somewhere in this thread, because I figured it out thanks to the instructions here, and I am seriously new at installing hacks.

chkdgate
20 Dec 2006, 07:06
Anyone know how to link ibank.php to the navbar?

Find this in your navbar template:
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>


Add this code below it:
<td class="vbmenu_control"><a href="http://www.yoursite.com/forums/ibank.php">IBank</a></td>
The url is where your IBank.php file is resting. For those users who are running cmps, I would recommend you place it in your "site navigation" module like I have it here (http://www.strugglingactor.net). I used to have it in my navbar but then it started to get cluttered. Plus, I didn't want to use double navbars anyways.

Note: This is just a basic location that will appear to the right of your User CP link that's first in line by default. Depending on your taste, you can place this anywhere you wish.

MoMan
23 Dec 2006, 07:46
To get the interest to work for amounts above 1000, simply delete this around line 60:

$bankmoney = number_format($bankmoney,2);

Turns out that this also fixes the depost/withdrawl >1000 bug :) I'm not a PHP guru, but this worked for me...

Blaine, ibank is a great script, but you really should update the release with this fix.

davidw
23 Dec 2006, 13:08
To get the interest to work for amounts above 1000, simply delete this around line 60:

$bankmoney = number_format($bankmoney,2);Turns out that this also fixes the depost/withdrawl >1000 bug :) I'm not a PHP guru, but this worked for me...

Blaine, ibank is a great script, but you really should update the release with this fix.That's weird that it would fix the bug, but if it does, great. I will test this out myself.

davidw
24 Dec 2006, 14:36
I couldn't get that to fix it for me - not on the version I'm running. In fact, after changing that, whenever I deposit 1000 into the bank, I don't actually deposit anything, yet my bankmoney goes up by 1.

Here's the one I'm using with the similar fix made.

Edit: leaving it uncommented out does the same thing.

MoMan
24 Dec 2006, 22:19
Heh, deposits don't work for me using your script. Strage...

Also, are there any fixes around for the interest payments? They really need to use crop :alien:

Edit: my version is attached. Note that I renamed it to bank.php :)

brownafroduck
28 Dec 2006, 07:58
I am experiencing the same thing that christianb is experiencing.

Other than that, thanks so much for this. Exactly what I was looking for down to the last line of code. :)

Mark Smith
01 Jan 2007, 19:46
Anything above 1,000 doesn't deposit. The Max I can deposit is 999.99
Anyone got a code which could add the users 'money' into MEMBERINFO?

shrek1609
04 Jan 2007, 13:41
I have a bit of a problem with this... when members deposit money into the bank after a few days it steals the points...

Now i use the icash points system and the points they can exchange for mobile phone accessories out of my web shop...

Well i don't mind one bit their points get stolen but the members aren't too happy :lol:

Any help would be appreciated :D

thanks

kev :D

Blaine0002
04 Jan 2007, 20:21
points in total? or points just in the bank.

shrek1609
04 Jan 2007, 20:40
points in total? or points just in the bank.

Its just the points in the bank...

thanks

kev :D

brownafroduck
04 Jan 2007, 22:18
I have had a few users that are experiencing the same thing. Someone just lost a couple thousand points from the bank. Additionally, I am still having issues with the 999 deposit. I don't know if these things are somehow related, but it seems that when users deposit over 999 points in the bank, this event is related to their points disappearing. Perhaps it is just coincidence.

Blaine0002
05 Jan 2007, 02:27
just one more question, do they loose the money when they gain intrest or when they deposit the money.

brownafroduck
05 Jan 2007, 07:41
Not sure... I'm still collecting clues about this entire thing. I don't think that it is when they deposit the money. Because a few of the members have said that they deposited the money, then the following day it was gone, I am going to assume that it is when the time rolls around for interest that the issue arises. But this is all based on assumption. I myself have not experienced issues with the bank, though there was one incidence of disappearance of my own money when I first set it up. I just blamed that on my faulty operation of the bank, though.

eNforce
05 Jan 2007, 08:14
Nice little mod.

Is it possible to transfer everyones vbux deposited points to the ibank ?

Blaine0002
05 Jan 2007, 19:57
Im sure this can easily be achieved by running a simple query, but sadly i am at school right now, so i can not look into it.

I will also look at the code that gives interest once i get home, probably just a faulty number somewhere.

Actually I have a lan party tonight, ill see what i can do during class :lol:

Blaine0002
05 Jan 2007, 20:21
updated, removed alot of unnessary stuff. try now.

brownafroduck
05 Jan 2007, 20:37
Thanks sooo much. :) I'll try it this later tonight or this weekend, depending on when I get around to it, and I'll let you know how it goes.

al7bar
08 Jan 2007, 04:02
how do we upgrade ?
I had an earlier version .

Do I just import that it

Will it loose money from members accounts by doing this ?

Blaine0002
08 Jan 2007, 04:45
nope.

nothing will be lost.

davidw
08 Jan 2007, 19:24
I got a fix :)

This fixes the 1000 point bank issue and should some others as well. I've successfully tested this a few times and it works.

Blaine0002
08 Jan 2007, 19:40
thanks! what was the problem?

davidw
08 Jan 2007, 20:03
It had to do with the interest - it was double compounded - the way it was set up, I could deposit or withdraw the money that was there - but it would display 1/1000th the amount
4.03 would actually represent 4030.00 for example. I could withdraw 1000, and it would withdraw it, but it would only add 1, and by the same token, I could deposit 1000 back but it would only take off 1 (because of the double compound).

I fixed the deposit and withdraw configurations so that it would be strict on that; if you had 4.03 in the bank, you could only take 4.03 - and then fixed the double compounding.

My next idea on this is to work a cron job to automatically handle the interest rather than the way it is set up now. It takes a refresh on the screen to recalculate it and will sometimes display things such as -14 days. A cron job should fix this. Just have the interest based on the difference between the deposit time and when the cron is run.

Blaine0002
08 Jan 2007, 20:06
Thanks for your help.
Yes i do agree with you on the cron, but that would need to run only about every 10 minutes.

davidw
08 Jan 2007, 20:42
10 minutes? I was thinking at 23 hours and 59 minutes of each day or once a week or something.

Blaine0002
08 Jan 2007, 20:46
doh! i suppose that would work lol, i was thinking 24 hours from the time of first insertion or so.

davidw
10 Jan 2007, 19:07
I have a cron job working now - I'll post details as soon as I can.

Zowners
12 Jan 2007, 01:07
hey blaine youre making a mod like the Ishop one for the 3.6 right?

Blaine0002
12 Jan 2007, 01:20
Ishop should be compatable with 3.6

Pure Dope
12 Jan 2007, 02:57
whats the diff between thisand and vbplaza. since vbp is abandoned.... i need a alt.

Blaine0002
12 Jan 2007, 19:45
No useless features.

Pure Dope
16 Jan 2007, 11:42
No useless features.

the number of useless features?

sportsoutlaw
21 Jan 2007, 06:48
Browsed through this thread, and didn't see anything about this.

When I deposit money into the bank, it redirects me to a page that says the deposit was successfull, then redirects me to a page that doesnt exist. Below is the url that it is directing me to.

http://www.sofantasyfootball.com/nfl/bank.php?do=bank

That link goes t a 404 error page. How do I get it to go to a real page?

sportsoutlaw
21 Jan 2007, 06:55
Not sure if this was the proper way to fix it, but I renamed ibank.php to bank.php and it seems to be working properly.

sinisterpain
23 Jan 2007, 06:03
Not sure if this was the proper way to fix it, but I renamed ibank.php to bank.php and it seems to be working properly.

The problem is in the ibank.php file
You must change the url for deposit, withdrawl etc to
$navbits = array("ibank.php?$session[sessionurl]&do="

through out the file right now it shows
$navbits = array("bank.php?$session[sessionurl]&do="

This will fix the 404 error

sportsoutlaw
23 Jan 2007, 06:20
Thanks!

sinisterpain
27 Jan 2007, 21:15
There appears to be a problem with the interest for the bank. If you click on withdrawl then redeposit the money it adds intrest to your bank total also noticed it doing it when I refresh the page multiple times.
I am not sure why you removed the decimal places in your code since interest will create additional places. I show .62 on hand in the lotto I have installed but in the bank I have a dollar which I can not deposit because it is actually .62.

Also I use Icash as the point system for vbookie.

phonexpo
31 Jan 2007, 00:44
I've turned my iBank system off until this is stable.

Rickeo
19 Feb 2007, 23:01
I have a problem when it shows the time till interest is paid it keeps showing in negative numbers and alot longer than 24 hours what I set it too :S

Any ideas on how to fix this thanks??

~Rick~

Rickeo
20 Feb 2007, 00:03
Thanks ur a real life saver :) you always reply to my posts

~Rick~

FIVE539
24 Feb 2007, 14:52
hey I'm having problems...I've tried almost every ibank.php that has been supplied here and all either "steal" from users, and or give points on refresh, don't display correct values and more....

which one is stable?
I'm using the default one now...but the first time you refresh, it gives you your interest....only the first time...so what can I do?
also if its possible to show decimals...like 102.21 in the bank instead of 102 that would be great aswell, can I do that?
thanks

Blaine0002
24 Feb 2007, 18:34
ibank is not my current focus mod-wise. but i will probably add some changes eventually.

FIVE539
26 Feb 2007, 03:18
ok I'll test it out

FIVE539
28 Feb 2007, 20:07
eh your fix sinister...it kinda works...but on my site killercamel.com

you input over 1000 into the bank and it changes the interest(1% which should be 10 out of 1000) from 10 to a daily interest earning of 0.01...thats not right
also..theres a left over 1.00 in the bank for my account and cant get it out :(

Blaine0002
28 Feb 2007, 22:24
there was a fix for this by christianb earlier in the thread.

FIVE539
01 Mar 2007, 03:41
ok...I'll test his fix...I have before and think I ran into another prob...

Nzarect
01 Mar 2007, 13:15
how do you open an account?

Blaine0002
01 Mar 2007, 13:22
simply insert money into the bank :)

Nzarect
01 Mar 2007, 13:24
when I try to deposit it says I don't have that much

WEBDosser
09 Mar 2007, 16:38
a lot of your code is missing the i from the links, it says bank.php and it should say ibank.php this gave me 404 error.

Blaine0002
09 Mar 2007, 16:49
my code? or code submitted by somone else.

WEBDosser
09 Mar 2007, 17:17
my code? or code submitted by somone else.

in the downloaded file there is ibank.php

in this file you need to change this:
$navbits = array("bank.php?$session[sessionurl]&do=" . $Action => "Bank");

to this:

$navbits = array("ibank.php?$session[sessionurl]&do=" . $Action => "Bank");

and there are a few more also..

at least thats what i had to edit before it would work, maybe it because i use vb 3.6.5

Blaine0002
09 Mar 2007, 18:33
nope its most likely a problem with my code, i am working on updating this product too for more stability. Thanks for the bug report!

pollon
12 Mar 2007, 22:07
when I try to deposit it says I don't have that much

in vBulletin options----> Ibank----> Ibank money row you must write the name of you currency. if you're using vbookie it should be vbookie_cash. it depends on your cash sistem. I'm not using vbookie, I tiped just "cash" and it's working.

Black Tiger
13 Mar 2007, 01:58
Well seems a nice hack to me and knowing you and your support I already clicked install, but i'll wait until the code problems are solved.

3dpirate
22 Mar 2007, 15:41
I installed it, made the required changes and put a menu tab for it up! Works great, thank you www.3dgamics.com/forum

tehPARADOX
25 Mar 2007, 04:03
This is a great addition to Icash, just hoping the refresh interest bug be fixed.

Evolution06
30 Mar 2007, 19:27
Can't wait for the update. I had a member ask if it's possible for it to give loans

sinisterpain
31 Mar 2007, 13:21
This is a great addition to Icash, just hoping the refresh interest bug be fixed.
Use christan's updated file http://www.vbulletin.org/forum/showpost.php?p=1153808&postcount=77

deezelpope
31 Mar 2007, 16:22
Ok, thanks for bumping this, but does the fix get uploaded WITH ibank.php or INSTEAD of???:confused:

Black Tiger
31 Mar 2007, 22:21
I just installed it. You don't upload the original included ibank.php but the one from Christianb. So replace the original ibank.php before installing.
Then upload ibank.php and then import the original product file. Works nice.

Suggestion for the future: would be nice if there would be another option to have a certain "forums main saldo" a bit like a real bank from which users also can loan money for a certain percentage of interest.:)
This way you can also limit the total amount of money which can be loaned, when forumsbank has no money, no loan is possible.
This could be expanded with an option like max amount of money possible per user to loan or things like that.

deezelpope
01 Apr 2007, 12:56
Thanks BT...I appreciate that!

This install was smooth as silk! WOOT!!!:up: :D

Awesome work, Blaine!!:up: :)

hellmet
05 Apr 2007, 17:20
Great Mod.. Thanks man..
I've one doubt though. I'd like to set a minimum amount that a user MUST always have in his
account in the bank, once he's opened his account. How is this possible? I'm sorry, I'm weak at coding..

Also, how do I change the interest to operate one a time-gap greater than the default of One-Day?


Thanks..

Mys
06 Apr 2007, 18:47
Hello all,

Thank you for the update, Blaine.

Updated .xml with Christian's .php installed, then uploaded the new .php.

I still only get $1 of interest. Anyone have any clues?

Thx.

:o

SkippySkippy
06 Apr 2007, 20:52
Out of curiosity, is this integratable with Nexia's Point System?

-Skip

Queball_Beast
15 Apr 2007, 06:30
Hi,
How do I make a dropdown menu on the Navbar so members can access the Bank, shop, inventory and so on? it may be alot easier than having everything separate:)

pollon
15 Apr 2007, 09:55
Hi,
How do I make a dropdown menu on the Navbar so members can access the Bank, shop, inventory and so on? it may be alot easier than having everything separate:)

I'ts easy. See here (http://www.vbulletin.com/forum/showthread.php?t=196667). :)

Queball_Beast
15 Apr 2007, 16:54
Thanks for the info :D

Queball_Beast
15 Apr 2007, 17:11
I took a look at the info you gave me which is greate info, but it shows how to add a link to the navbar , Quick Links menu and popup menu but, what I want is add an additional menu just like the quick links menu like they had in vbplaza ( a new dropdown style menu so users can access Ishop,bank, inventory and so on ) I know how to do the others but I dont know how to add a dropdown menu even though it may be something simple i`m overlooking :D

thanks again

pollon
15 Apr 2007, 17:19
if you look at that page there are even the instructions to put a new dropdown menu.


Or to add an additional popup menu to the navbar...

Admin CP -> Styles & Templates -> Style Manager -> -> Navigation / Breadcrumb Templates -> navbar

Find this code and add the red code:

<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">

<td class="vbmenu_control"><a href="URL">TEXT</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<td id="mypopupmenu" class="vbmenu_control"><a href="#mypopupmenu">MENU TITLE</a> <script type="text/javascript"> vbmenu_register("mypopupmenu"); </script></td>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars =yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->Change the MENU TITLE appropriately.

Then in that same template, scroll to the very bottom. Add the the red code:

<!-- PAGENAV POPUP -->

<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>

<!-- mypopupmenu -->
<div class="vbmenu_popup" id="mypopupmenu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">MENU TITLE</td></tr>
<tr><td class="vbmenu_option"><a href="URL">LINKED TEXT</a></td></tr>
</table>
</div>
<!-- / mypopupmenu -->

<!-- / PAGENAV POPUP -->Change URL, LINKED TEXT and MENU TITLE appropriately.
The blue code is the link of the pop up menu. Add more blue codes (always inside the red one) to have more links on the dropdown menu.

Queball_Beast
15 Apr 2007, 17:31
Add Bank access to ishop

Go to Admin CP -> Styles & Templates -> Style Manager ->ishop template

Find Code:
<a href="ishop.php?$session[sessionurl]do=ViewMember&id={$bbuserinfo[userid]}">View Inventory</a>


Add below:
&nbsp;|&nbsp;

<a href="ibank.php?$session[sessionurl]">Bank Access</a>

Queball_Beast
15 Apr 2007, 17:35
Man how in the world did I miss that? :confused: lol I think it`s time for some zzzzz :up:
Thanks again "pollon"
if you look at that page there are even the instructions to put a new dropdown menu.

khmh06
15 Apr 2007, 18:35
Hello all,

Thank you for the update, Blaine.

Updated .xml with Christian's .php installed, then uploaded the new .php.

I still only get $1 of interest. Anyone have any clues?

Thx.

:o


Try my Update, it can fix all knowed issues ;)

Just download the attachement file then Replace your own ibank.php !

Mys
18 Apr 2007, 00:45
Try my Update, it can fix all knowed issues ;)

Just download the attachement file then Replace your own ibank.php !

Thank you very much, khmh06.

I downloaded and installed your .php and the interest is being calculated and added to to the bank account balance accurately.

For whatever reason, I need to set my interest rate two decimal places to the left of my intended rate in iBank options. So to give 1% interest per day, I set the rate to .01.

Thought you might want to be aware of this.

But I am getting interest on the account balances now, so this is a great improvement! Thanks, again, very much.

:D

Blaine0002
18 Apr 2007, 03:37
yes, .01 is 1% :)

Mys
18 Apr 2007, 22:11
Thank you, Blaine

:up:

kylek
12 May 2007, 10:03
Try my Update, it can fix all knowed issues ;)

Just download the attachement file then Replace your own ibank.php !

Is this like the other one - upload ibank.php and then re-install or just upload and replace the ibank.php there now?

I just uploaded and replaced it and the interest will still not go in to the bank automatically but will if refreshed.

deezelpope
17 May 2007, 15:43
Yeah, unfortunately, it takes a refresh, but it does work!

deezelpope
17 May 2007, 15:45
Add Bank access to ishop

Go to Admin CP -> Styles & Templates -> Style Manager ->ishop template

Find Code:



Add below:
Awesome, QB!!:up:

ehsanix
04 Jun 2007, 02:44
thanks
works great on 3.6.4

Capricia
11 Jul 2007, 22:17
Does anyone have an idea how i can fix the problem that i still can't get my money to deposit in the bank, I'm using http://www.vbulletin.org/forum/showthread.php?t=151924&highlight=postbit for my money hack and in the Ibank money row i've tried to put just about anything possible for it to accept the hack, but no go.. it keeps saying that I don't have that much (yes i know others have had the same problem believe me i've read through this whole thread and no answer that fixes my problem).

Any ideas?

sinisterpain
11 Jul 2007, 23:13
Does anyone have an idea how i can fix the problem that i still can't get my money to deposit in the bank, I'm using http://www.vbulletin.org/forum/showthread.php?t=151924&highlight=postbit for my money hack and in the Ibank money row i've tried to put just about anything possible for it to accept the hack, but no go.. it keeps saying that I don't have that much (yes i know others have had the same problem believe me i've read through this whole thread and no answer that fixes my problem).

Any ideas?

The author of the points system gives the info for third party sytems:
Fully integrated with vBulletin and easily integrated with third party scripts:

However, this hack really shines when it comes to integration to other scripts, including some other hacks I am working on. If you are using a hack which allows integration with an existing points hack, use this information:
TABLE: user
COLUMN: credits

Capricia
12 Jul 2007, 06:56
Thank you so much, I totally missed that post :( you're a life saver :)

SuperTaz
12 Jul 2007, 07:50
nope, too lazy and too little time.
try.
http://www.gentendo.com/forum/ibank.php


Dead link

Capricia
14 Jul 2007, 19:25
Ok small question, the ibank is working fine, but the interest is messed up somehow, it now says i'm going to collect interest in -1 days, 20 hours, 15 minutes and 11 seconds until next payment of 147630.00 Merits

Any idea how to fix this? I have the latest version installed and the rest if working fine, any help would be wonderful.

Capricia
18 Jul 2007, 08:07
Anyone able to help me, I'm asking this because my members are becoming impatient, I've re-imported the product, uploaded the files again but i still have the same problem, any help would be greatly appreciated.

Rouzbeh1
18 Jul 2007, 10:16
hi there,
i don't know if this has been asked before.
can i use this to pay for a paid subscription on my board?
when yes, how do i do this?

btw. nice and simple hack ;)

deezelpope
18 Jul 2007, 11:58
Ok small question, the ibank is working fine, but the interest is messed up somehow, it now says i'm going to collect interest in

Any idea how to fix this? I have the latest version installed and the rest if working fine, any help would be wonderful.
If you click on the iBank link in your navbar again, or refresh, it will give you the interest.

Rouzbeh1
20 Jul 2007, 17:50
hi there,
i don't know if this has been asked before.
can i use this to pay for a paid subscription on my board?
when yes, how do i do this?

btw. nice and simple hack ;)
i have checked the whole thread, there wasn't anything about payment module...
does this support what i need???

Blaine0002
20 Jul 2007, 22:19
How would you use a bank to pay for a paid subscription?

Rouzbeh1
20 Jul 2007, 22:38
i want that people get charged an amount of points (for example 1000 points) and they get access to a certin section or get listed in another usergroup which has access to that section.
in order to do this, i'll have to use paid subscriptions, to put users in another group.
i hope i was clear enough.

thank you

Blaine0002
20 Jul 2007, 23:07
You might want to post this request in a money modification thread instead.

kylek
20 Jul 2007, 23:11
Thanks for the update fixing the interest problem, works great now.

DJ Teac
20 Jul 2007, 23:18
Can i just override the plugin/addong , or do i have to deinstall and reinstall it ?

Blaine0002
20 Jul 2007, 23:28
You may overwrite it :)

angelpie
21 Jul 2007, 17:19
how do you link ibank.php to the navbar?????

pollon
21 Jul 2007, 18:35
how do you link ibank.php to the navbar?????

How to add a link to the navbar (http://www.vbulletin.com/forum/showthread.php?t=196667&highlight=link+navbar)

How to add drop down menus to the navbar (http://www.vbulletin.com/forum/showthread.php?t=224641&highlight=link+navbar)

McCarroll21
21 Jul 2007, 23:23
When I installed the update, I lost the decimals in my forum's icash when visiting the bank. It rounds it up to the next whole dollar. Is there a way to fix that and round it DOWN to the nearest 0.01. That will fix any problems with not having enough money to deposit and withdraw from the bank.

gryffin
22 Jul 2007, 00:34
feature suggestion: time locked money

someone puts money into bank, they cant take it out to spend for 2 weeks, but as they have put it in for longer they get a higher interest rate

also a lotto system would be good for this

ColdSpirit
24 Jul 2007, 20:27
will this work with vb credits 1.3 and ibproarcade (latest)??

Memphis834@yaho
24 Jul 2007, 20:48
I'm sorry if this question has been asked already but I was curious as to if theres a way to make items that are purchase in iShop appear in users profiles? I'd like it to show up under the info that appears under their avy whent they post.

sinisterpain
24 Jul 2007, 22:09
will this work with vb credits 1.3 and ibproarcade (latest)??

Did you read both authors Instructions?
Ibank Instructions:
Once installed make sure you go into the IBank options under vbulletin options and set the money row to match the one used by your cash system.


VBCredits Instructions:
Third Party Integration
vBookie
ICash / IBank / IShop
P3tz
[AJAX] Post Thank You Hack
Inferno Quiz
Living Avatars
Use TABLE: user COLUMN: credits
More Coming Soon!

ColdSpirit
25 Jul 2007, 00:10
oops... sorry...

It can be integrated with ibproarcade? thank you and sorry once again...

Mys
25 Jul 2007, 04:06
Has anyone else noticed that since installing the iBank upgrade that cash does not display in the legacy postbit?

Is it possible a variable named was changed?

:confused:

Blaine0002
25 Jul 2007, 15:38
Are you talking about bank money? Or money in hand?

McCarroll21
27 Jul 2007, 01:57
Blaine, can you tell me where to edit this phrase:

"Next Interest Incoming: At midnight server time you will recieve your next payment of XXX"

I would like to put in the actual time and receive is spelled wrong. I searched for it and came up with nothing.

Also, do you know anything about my problem in post 154?

Thanks.

bested
30 Jul 2007, 06:33
how do you acess the bank?

Mys
01 Aug 2007, 01:00
Has anyone else noticed that since installing the iBank upgrade that cash does not display in the legacy postbit?

Is it possible a variable named was changed?

:confused:

Are you talking about bank money? Or money in hand?

It would be cash in hand. At the bottom of the legacy postbit, cash money and banked money was displayed. Since installing the update, I can still see banked money, but not cash money. The literal is their, but the system cannot seem to locate the variable reflecting the members cash amount (non-banked).

Any clue?


:)

cheat-master30
18 Aug 2007, 14:09
how do you acess the bank?

Your website.com/Your forum directory/ibank.php

Or:

Your website.com/ibank.php

iKuro
18 Aug 2007, 17:39
how i can delete all the credits stored in Ibank of an specific user?

Carlos2
27 Aug 2007, 06:46
Hi, i have one problem, about one month ago, my bank is not paying interests for users, i dont know why, but always appears a different date for paying when you enter the bank. I look in scheduled tasks and dont appear any one. Perhaps is the reason?

I see this is updated, if i update the problem will disapear??

Carlos2
27 Aug 2007, 06:50
Ok small question, the ibank is working fine, but the interest is messed up somehow, it now says i'm going to collect interest in

Any idea how to fix this? I have the latest version installed and the rest if working fine, any help would be wonderful.

If you click on the iBank link in your navbar again, or refresh, it will give you the interest.
I did it but no interest for users. My bank dont want to pay. One month with this problem. My bank crash??

deezelpope
28 Aug 2007, 10:51
Obvious question, but do they have anything in the bank?

Carlos2
28 Aug 2007, 21:27
Obvious question, but do they have anything in the bank?
Of course.

If i update the problem dissapears? Can people loose they money in the bank if i update?

Carlos2
29 Aug 2007, 19:35
Nobody knows if i re install the plugin if the money in the bank will dissapear??

Carlos2
31 Aug 2007, 09:13
Hi i saw that the bank its paying interests but it dont pay wright.

I try to explain, sorry for my english.

Actual Euros In Hand: 85614.64
Actual Euros in Bank: 3500281.00
Your Bank Account: Open
Time to have interests: 0 days, 23 hours, 50 minutes and 50 seconds until next payment of 350,028.10 Euros


If you look are a difference between the last amount, there is a coma (350,028.10 Euros) and in the bank money and money in hand there are no coma (3500281.00). This means that i have to receive interests of 350000 euros, but the bank pay me 350 euros. Anybodys knows to solve the problem?

Carlos2
03 Sep 2007, 07:27
I solve my problem with the re install, but now i want the bank pays interests once a week, not once a day. Is possible?

Blaine0002
04 Sep 2007, 18:39
it is! you can edit all times that users get income via the schedualed task manager in the admincp, should be near the bottom of the navbar, then find the task named 'ibank income' or something of the sort, and edit it :)

ColdSpirit
14 Sep 2007, 15:37
There is anyway to reset any ammount of credits/points any user has in the bank? if so how?

Thank You,
ColdSpirit

ArchangelX
27 Sep 2007, 02:31
I need to know how to reset ALL users. Thanks!

ArchangelX
27 Sep 2007, 02:37
Nevermind, I just installed and re-installed.

Blaine, is there a way to see ALL the bank accounts for users? There's not much options there...is it hard to code?

If you could add that in the future, that would be great!

Blaine0002
27 Sep 2007, 02:57
No, nothings really hard to code if you set your mind to it, but as of right now this mod is not at the top of my priority list as more people are requesting support in other mod threads :(

but i will get to it!!! :)

TheJekyll
30 Sep 2007, 14:50
mhmm when i go on the bank it says ;
Current vBCredits On Hand: 0.00
Current vBCredits In Bank: 0.00
Your Bank Account Is: Closed

i dont think its sorta conectiing with my vbcredits mod

help? lol
is it something to do with permissions atall?

forumrunt
02 Oct 2007, 01:32
Also if a user has more then $1000 in the bank they only get .01 for interest.

I'm having members complaining that the bank is stealing money away from the. I looked through it and can't find anything wrong with it.


I am still having this issue. Did I miss an update? Please let me know if this got figured out.

ArchangelX
17 Oct 2007, 01:38
No, nothings really hard to code if you set your mind to it, but as of right now this mod is not at the top of my priority list as more people are requesting support in other mod threads :(

but i will get to it!!! :)

Understood, thanks, Blaine. :D

ArchangelX
22 Oct 2007, 07:14
I've got a bug happening...

On Friday, after my RPG bot had been "outed", I left exactly 200,000 in my account. Now I have 322,445, which comes out to an interest rate of about 61.25%

If I'm causing it, I have no idea how.

Second complaint about the same thing.

--------------------------------------------------------------------------------

I've seen it happen 3 times in the last few weeks...the bank automatically doubles your pts in you account.

I dont know the reason but I think it involves the casino. If someone wins a very big bet somehow it causes the bank to double everyone's bank account.

yesterday I was at around 360,000 pts...today I am almost double with 570,000 pts.

I'm not complaining, but I am just surprised I got 200,000 pts all of a sudden.

Blaine0002
22 Oct 2007, 19:27
Heh thats odd..

Its probably cause the code is so old and hasent really been updated in awhile..

Ill get to it soon enough :D

rungok
29 Oct 2007, 01:26
I got the same problem until i changed the case of the first character from Money to money. It's case-sensitive.

jayjenxi
07 Dec 2007, 15:23
This is a great tool. I have installed it. It'll be great if users are able to take loans from the bank and they would have to pay back the amount loan plus the interest. There should be a cap as to how much a user can loan to prevent abuse.

njoker555
16 Dec 2007, 21:07
hey is there anyway to control the # of points a person has stored from admincp? i use vbcredits and that allows me to alter credits from there as penalties and etc.. and is there a way to do that here too just incase they go and hide all their points in the bank lol, cant touch that there

alessai2
24 Dec 2007, 14:07
can we make it give intrest every 30 days ??

Lombardo
07 Jan 2008, 14:19
Does this work on 3.6.8? and can you use it with vbookie? if so is it better than Icash?

deezelpope
07 Jan 2008, 14:23
Does this work on 3.6.8? and can you use it with vbookie? if so is it better than Icash?
You use IBank in conjunction with ICash.

Lombardo
07 Jan 2008, 16:49
Yeah i've installed it but i don't see what the benefits are with using vbookie?

Blaine0002
07 Jan 2008, 20:46
you dont need to use vbookie if you dont want to.

njoker555
08 Jan 2008, 00:23
i get this sql error, how can i fix it?

Database error in vBulletin 3.6.8:

Invalid SQL:
select * from user where userid>0 and bankmoney>0;

MySQL Error : Unknown column 'bankmoney' in 'where clause'
Error Number : 1054
Date : Monday, January 7th 2008 @ 07:20:56 PM
Script : http://URL/vb/ibank.php
Referrer : http://URL/vb/forum.php
IP Address : 64.131.156.191
Username : LiNuX
Classname : vB_Database

Lombardo
08 Jan 2008, 01:04
you dont need to use vbookie if you dont want to.

I want to use and im using it,just wondering what difference it makes having the bank with icash.

Blaine0002
08 Jan 2008, 01:06
i get this sql error, how can i fix it?

Where do you get this error?


@ lombardo, this will inflate the economy by adding a percent gain on points per day.

Lombardo
08 Jan 2008, 01:08
Where do you get this error?


@ lombardo, this will inflate the economy by adding a percent gain on points per day.


ok mate,thought that,it was just incase there was anything else.I'll keep it instaled,thank you. :up:

njoker555
08 Jan 2008, 17:04
Where do you get this error?


when i try to view the ibank.php file

koolasia
18 Jan 2008, 05:00
the bank balance doesnt increase more than 10,000,000,000,000

Blaine0002
18 Jan 2008, 21:10
Hmm, if you need more than that in your bank i would suggest adjusting your economy o.O

koolasia
22 Jan 2008, 15:42
lol how do i do that

koolasia
15 Feb 2008, 18:54
Can u convert it to use Arbitrary Precision

juice2u
23 Feb 2008, 06:43
Just installed and I have vbcredits. I've tried to make a deposit and I get the message:You don't have that much! when i have more than enough. How do I fix this?

kotlt99
22 Mar 2008, 15:07
is there anyway to see account of a member in the bank?
I dont want to modify the user postbit.
Just want an option for admin only

Seiyaboy
04 May 2008, 05:12
Is there anyway the admins can modify the account of currency a member has in his bank account? I currently have icash installed on my forum. Members would spam to obtain currency and then toss it in the bank for interest. At this point the admins would not be able to edit a member's bank account currency directly because there is no such option. I know this mod might not be your priority, but could you at least make it so that bank currency can also be edited in a user's profile in the acp?

lostguy
17 Nov 2008, 07:27
This support Vb3.7.4 ? Just curious safe to use this ?

isatice
16 Feb 2009, 09:23
i think not

FoW
20 Jul 2010, 02:14
4.0 support ?