vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - IBank - Simple, Flexible, Integratible bankin system for any cash system! (https://vborg.vbsupport.ru/showthread.php?t=122729)

eNforce 01-05-2007 06:14 AM

Nice little mod.

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

Blaine0002 01-05-2007 05:57 PM

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 01-05-2007 06:21 PM

updated, removed alot of unnessary stuff. try now.

brownafroduck 01-05-2007 06:37 PM

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 01-08-2007 02:02 AM

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 01-08-2007 02:45 AM

nope.

nothing will be lost.

davidw 01-08-2007 05:24 PM

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 01-08-2007 05:40 PM

thanks! what was the problem?

davidw 01-08-2007 06:03 PM

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 01-08-2007 06:06 PM

Thanks for your help.
Yes i do agree with you on the cron, but that would need to run only about every 10 minutes.


All times are GMT. The time now is 02:24 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
  • Page Generation 0.01081 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete