vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   anyway to move point in bank out to their cash on hand (https://vborg.vbsupport.ru/showthread.php?t=75038)

pelican 01-24-2005 10:45 PM

anyway to move point in bank out to their cash on hand
 
anyway to move point in bank out to their cash on hand.

i intend to deactivate the bank.

i think the bank point is not just store in a field in database.
it seems to store in a certain format along with other info in the field.

Link14716 01-25-2005 03:50 AM

There is a table for the bank. If you are using MySQL 4.x, I believe you could use a query like this.

[sql]UPDATE user, utt_store_bank SET user.uttpoints=user.uttpoints+utt_store_bank.amoun t WHERE user.userid=utt_store_bank.userid;[/sql]

And then to clear the bank of all accounts, use these two queries.
[sql]DELETE FROM utt_store_bank;
UPDATE user SET uttstore_bankdata='';[/sql]

pelican 01-25-2005 11:25 AM

havent tried yet. but thanks.

mindbuster 02-04-2005 07:46 PM

Anyone tried this ?

I wanna turn off bank too, just dont wanna mess anything up.

pelican 10-05-2005 02:17 AM

Quote:

Originally Posted by mindbuster
Anyone tried this ?

I wanna turn off bank too, just dont wanna mess anything up.

anyone knows how to move the amount from bank to cash on hand. i wanted to close the bank.

after about 8 months of asking, it seems like no one knows how to move the cash from bank to hand.


All times are GMT. The time now is 06:04 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.01005 seconds
  • Memory Usage 1,712KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete