vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   uCash & uShop v2.0.0 (https://vborg.vbsupport.ru/showthread.php?t=107233)

Snake 02-08-2006 08:01 PM

Haha that was just a little joke by me. Sorry. :p

JohnnyClark 02-08-2006 08:36 PM

cant wait

Snake 02-08-2006 08:47 PM

Who can't?

Red Blaze 02-08-2006 09:04 PM

I can. Mine's working quite well. I do have a question, however.
How does the interest work, and where can we change it?

NuclioN 02-08-2006 09:14 PM

The quick fix for the bank works only for one deposit, after that we see 'you don't have enough points' which is ridiculous ofcourse :d

Red Blaze 02-08-2006 09:16 PM

Nope, works just fine for me. I can deposit and withdraw all I have.

NuclioN 02-08-2006 09:19 PM

Then i don't understand what code snippet to change. :(

Red Blaze 02-08-2006 09:22 PM

In ushop/action.bank.php

Find:
Code:

while ($time >= $nextinterest) {
        $amount = (($amount * ($action['interestpercent'] / 100)) + $amount);
        $nextinterest = ($nextinterest + $action['interestincrement']);
    }

Replace with:
Code:

$amount = (($amount * ($action['interestpercent'] / 100)) + $amount);
    $nextinterest = ($nextinterest + $action['interestincrement']);


NuclioN 02-08-2006 09:24 PM

Ok tnx :) That worked ok. There must be something else wrong to with the points system because i had to set the costs of the bank to 0 otherwise it gives the 'no points' error. It looks if it doesn't recognize how many points you have. Also the bank overall total stays on 0.

Red Blaze 02-08-2006 09:29 PM

You mean the Forum Bank or the uShop bank?


All times are GMT. The time now is 04:34 PM.

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.03016 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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