The Arcive of vBulletin Modifications Site. |
|
Amount in bank for all users ? Details »»
|
|||||||||||||||||||||||||
How do i see how many points each member have in the bank ?
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
[sql]SELECT bank.*, user.username FROM utt_store_bank bank LEFT JOIN user user ON (user.userid=bank.userid);[/sql]
|
|
#3
|
|||
|
|||
|
I get no results when running that query :ermm:
I kinda need 1 query that shows all users amount in the bank. |
|
#4
|
||||
|
||||
|
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? |
|
#5
|
|||
|
|||
|
Yes, several members have points in the bank.
|
|
#6
|
||||
|
||||
|
There, I changed the query a bit. Try it now.
|
|
#7
|
|||
|
|||
|
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. |
|
#8
|
|||
|
|||
|
:/
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 |
|
#9
|
||||
|
||||
|
You would need to forcibly remove parts of the bank script.
|
|
#10
|
|||
|
|||
|
Quote:
[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 |
![]() |
|
|