vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   uCash & uShop old support and thank you thread (https://vborg.vbsupport.ru/showthread.php?t=73736)

mrcancel 05-26-2004 04:39 AM

help me !!! when i click http://mysite.com/forum/ushop.php and error :
Quote:

Warning: Invalid argument supplied for foreach() in /home/dhpcvn/public_html/forum/ushop.php on line 149

MindTrix 05-26-2004 04:32 PM

Quote:

Originally Posted by Zachery
Odd ive never expirenced this myself on our dev forums or anywhere i am using it.

Now members are saying that when they withdraw cash from the bank that they deposited, it takes it out, but they dont get any of it.

CarlitoBrigante 05-27-2004 01:03 AM

It seems to all work fine to me. The only problem is that, if the user purchases an italics or bold username, he can't reset it... apparently, even if the italics action is displayed with cost "0.00" after the first purchase, when you click on it it asks to pay again points... like you don't have the action already active.

weaver 05-27-2004 02:03 AM

Where does the money collected for taxes go? Also, is there a way to show the richest members who have money in the bank not just what members have without depositing?

weaver 05-27-2004 02:04 AM

I went over to your site but there is a problem with your database. I'll check back there another time. :)

Zachery 05-27-2004 02:21 AM

Quote:

Originally Posted by snobbymom
I went over to your site but there is a problem with your database. I'll check back there another time. :)

Yes, our server was dossed and we had a major crash im still working on restoring it :)

CarlitoBrigante 05-27-2004 01:46 PM

The system doesn't seem to properly calculate exceptions... while it gives you the right discounts, if you don't have enough money, you have no access to that action. For example, if I buy Italics username for 500, and I have 200 gils left, and I want to reset the username to normal (cost: 0), the system doesn't let me access that action - it always controls against the "normal" full price of the action.

I think the problem is here, in ushop.php

PHP Code:

    // Run through the standard procedure...
    
$rcost calculate_discounted_price($action['cost'], $action['tax']);
    
$rcost calculate_taxed_price($rcost$action['tax']);
    
$cost uttpoints_number_format($rcost);
    
$cost uttstore_actions_cost_exceptions($cost);
    if (
$rcost $points) {
        
$message "You do not have enough points for this.";
        
uttstore_print_end_message($message);
    } 

It should check for $cost >$points - or, it should be like this:

PHP Code:

    // Run through the standard procedure...
    
$rcost calculate_discounted_price($action['cost'], $action['tax']);
    
$rcost calculate_taxed_price($rcost$action['tax']);
    
$rcost uttpoints_number_format($rcost);
    
$rcost uttstore_actions_cost_exceptions($rcost);
    if (
$rcost $points) {
        
$message "You do not have enough points for this.";
        
uttstore_print_end_message($message);
    } 

Zachery?

moonclamp 05-27-2004 02:52 PM

That just made my shop disappear

Mystictrunks03 05-27-2004 09:22 PM

thats why u do it when ppl r sure about it andd oh yeah how come the points arent counting for the posts or threads i make i set the points per post up and thread but it dont work.... only when i donate to myself it counts that

ImportPassion 05-27-2004 10:19 PM

so I guess geeky will be back in full force since the exams are over?
I want to use this, but too many problems right now.


All times are GMT. The time now is 05:32 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.03186 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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