vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   Amount in bank for all users ? (https://vborg.vbsupport.ru/showthread.php?t=75737)

mindbuster 02-04-2005 07:47 PM

Amount in bank for all users ?
 
How do i see how many points each member have in the bank ?

Link14716 02-04-2005 08:51 PM

[sql]SELECT bank.*, user.username FROM utt_store_bank bank LEFT JOIN user user ON (user.userid=bank.userid);[/sql]

mindbuster 02-04-2005 11:08 PM

I get no results when running that query :ermm:

I kinda need 1 query that shows all users amount in the bank.

Link14716 02-05-2005 12:36 AM

Well, I can't test that further, since no one has anything in the bank where I tested it. ;)

Are you sure there is someone with anything in the bank?

mindbuster 02-05-2005 01:34 AM

Yes, several members have points in the bank.

Link14716 02-05-2005 01:42 AM

There, I changed the query a bit. Try it now.

mindbuster 02-05-2005 09:58 AM

Still no worky :/

Also need a way to put all members bank points back in their pocket so i can close the bank.

I wanted the above as security, to have a list of what the members had in bank before closing it down.

mindbuster 02-07-2005 05:15 PM

:/

umm, how about this then....

Where can i remove the link "Deposit" so only withdraw is left, so ppl only can withdraw but NOT deposit ?

thnx

Link14716 02-07-2005 07:01 PM

You would need to forcibly remove parts of the bank script.

fly 02-24-2005 03:17 PM

Quote:

Originally Posted by Link14716
There, I changed the query a bit. Try it now.

Just this gives nothing:

[sql]SELECT * FROM utt_store_bank;[/sql]
iirc, its stored in an array in the user table, not in the utt_store_bank table...

edit: yeah, its in uttstore_bankdata in the user table, but I have no idea how to get it out of an array. LOL


All times are GMT. The time now is 07:05 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.00951 seconds
  • Memory Usage 1,726KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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