vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Transactions? (uCash & uShop) (https://vborg.vbsupport.ru/showthread.php?t=67075)

Limpkinw 07-12-2004 09:35 PM

1 Attachment(s)
The modified files can be found here they all seem to work error free exchange the standard donate gives me an error Warning: Division by zero in D:\site\limpkinw\forums\uttstore\action.donate.php on line 135 It still seems to function properly. The function_ushop.php is the EXACT same as function_arade.php taken from v3arcade (ty and if this is not acceptable I will remove it). The logging is in great need of help...help from someone who knows more about this would be greatly appreciated.

Link14716 07-13-2004 02:14 PM

uCS already logs everything. All you need to do in 0.95 is add a field to the $fields array and then add it to to the log function.

PMing it isn't that difficult either.

Link14716 07-13-2004 02:21 PM

Why are you using the discount field for the reason? There is something made for things like this. ;)

This:
PHP Code:

    uttstore_add_history($action['actionid'], $action['cost'], $reason$action['tax'], $totalcost$_REQUEST['userid'], $_FIELDS['points']); 

Can become this:
PHP Code:

    uttstore_add_history($action['actionid'], $action['cost'], $userdiscount$action['tax'], $totalcost$_REQUEST['userid'], $_FIELDS['points'], $reason); 


Limpkinw 07-13-2004 02:22 PM

Works like a charm, now all i gotta do is clean up my coding a lil then i will give it to ya plat.

platnum 07-13-2004 06:54 PM

Sweet sweet :D

mariannet 08-06-2004 07:15 AM

This was just what I needed - thanks!
Works great.

Just one thing. You talk about logging, but where do I go to see these logs, espacially the logs for donations?

Limpkinw 08-06-2004 12:32 PM

Look at the action history, I have made a couple fixes since this "release" and I will be posting that as an official add-on.


All times are GMT. The time now is 12:01 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.00960 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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