Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > uCash & uShop
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
uCash & uShop old support and thank you thread Details »»
uCash & uShop old support and thank you thread
Version: , by BarHopper BarHopper is offline
Developer Last Online: Aug 2005 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-12-2004 Last Update: Never Installs: 0
 
No support by the author.

/me Installs. I'm the first for the most aniticipated hack!!1

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1192  
Old 06-27-2004, 05:41 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by House_of_Crazed
Hm, I'm starting to wonder if I'm being ingored on purpose.

And FYI - Your license hash thingy on GeekyDesigns isn't working. I verified myself last night, then checked this morning, still don't have access. O_o

HoC
You are not being ignored on purpose. And I checked in the admincp and you are marked as Licensed.

Quote:
Originally Posted by House_of_Crazed
Couple questions

1. I see in ushop.php the $points variable, however, it only takes in account for the money the users has out from the bank. What I want to do is to change it to take in account for the money that users also has in the bank. What should I change it to?

2. What is the variable that you are using for how much money the user has in the bank? I looked in the database and saw all those weird numbers in the bankdata row in the user table. I am assuming you are also using $bankdata as the variable for how much money is in the bank for the user.

3. You are aware that the database is showing more than 2 numbers after the decimal in the bank / money on hand.

4. For this, I will use A & B's. Assume those 2 are 2 different people. A has $50 on hand. If A tries to steal $100 from B, and FAILS. He will lose that amount of money, and his money on hand becomes a negative number and A will be denied access to the bank. However, A does have money in the bank, he should be able to go into the bank anyway.

HoC
1. It'd be a simple change to everywhere $points is defined, but the code below just makes a new variable - $bankmoney. $points shouldn't include what is in the bank, otherwise it'll cause weirdness all over the store. Feel free to store $points + $bankmoney in a new variable though.
PHP Code:
$bankdata unserialize($bbuserinfo['uttstore_bankdata']);
$bankmoney $bankdata['amount']; 
2. The above code should answer your question. uttstore_bankdata is a serialized array.

3. Yes, I am away of that. Not a bug in itself, but it can cause some. I'll probably round it off in future releases.

4. That shouldn't happen, as it should prevent users to steal more money then they have. But I am making 0 just mean to not check to see if they have enough money at all in the next release anyways, just incase someone does go into negatives (although they shouldn't, I've seen it happen).
Reply With Quote
  #1193  
Old 06-27-2004, 05:58 PM
House_of_Crazed House_of_Crazed is offline
 
Join Date: May 2004
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
You are not being ignored on purpose. And I checked in the admincp and you are marked as Licensed.
Oh, that's odd. Well, when I verified myself, I gave myself like 2 or 3 hours to give you guys time for whatever verification system you used, lol, to verify me. And I still could not post a thread or reply. *shrugs*

And reason why I said being ignored on purpose is because I posted this like a few days ago and I've seen you guys reply to other posts. *shrugs* I just don't like being ignored Don't take offense

Quote:
1. It'd be a simple change to everywhere $points is defined, but the code below just makes a new variable - $bankmoney. $points shouldn't include what is in the bank, otherwise it'll cause weirdness all over the store. Feel free to store $points + $bankmoney in a new variable though.
PHP Code:
$bankdata unserialize($bbuserinfo['uttstore_bankdata']);
$bankmoney $bankdata['amount']; 
2. The above code should answer your question. uttstore_bankdata is a serialized array.
Yea, it does, I'll give this a try.

Quote:
3. Yes, I am away of that. Not a bug in itself, but it can cause some. I'll probably round it off in future releases.
Excellent I'm asking because my users came to me complaining that they cannot deposit all their money (i.e., 140.30), it would tell them that they do not have enough money.

Quote:
4. That shouldn't happen, as it should prevent users to steal more money then they have. But I am making 0 just mean to not check to see if they have enough money at all in the next release anyways, just incase someone does go into negatives (although they shouldn't, I've seen it happen).
Yea, I've been sitting here trying to figure out the code, but I'll let you do it, LOL since you are more inimiate with the shop code, not I.

Thanks!

HoC
Reply With Quote
  #1194  
Old 06-27-2004, 06:23 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by House_of_Crazed
Oh, that's odd. Well, when I verified myself, I gave myself like 2 or 3 hours to give you guys time for whatever verification system you used, lol, to verify me. And I still could not post a thread or reply. *shrugs*

And reason why I said being ignored on purpose is because I posted this like a few days ago and I've seen you guys reply to other posts. *shrugs* I just don't like being ignored Don't take offense



Yea, it does, I'll give this a try.



Excellent I'm asking because my users came to me complaining that they cannot deposit all their money (i.e., 140.30), it would tell them that they do not have enough money.



Yea, I've been sitting here trying to figure out the code, but I'll let you do it, LOL since you are more inimiate with the shop code, not I.

Thanks!

HoC
Are you still having the problems? we both checked and my test licensed user is not having any problems.

If you have the time could you drop me a pm if your still having troubles
Reply With Quote
  #1195  
Old 06-27-2004, 06:53 PM
hichew hichew is offline
 
Join Date: Dec 2003
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can i see the working hack on someone forums ?
Reply With Quote
  #1196  
Old 06-27-2004, 07:05 PM
b4ne b4ne is offline
 
Join Date: Jun 2004
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to let ya know works all fine, I was lucky and had a virgin forum so I just reinstalled forum completly and made a new install of the hack.

Its fecking sweeeet

Thanks to all of you who made this hack working
Reply With Quote
  #1197  
Old 06-27-2004, 07:32 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hichew
can i see the working hack on someone forums ?
I dont think we have any offical demo sites.

However,
I wanted to announce toe veryone that the license system is now completly working i fixed that one little bug :d
Reply With Quote
  #1198  
Old 06-29-2004, 01:28 AM
Cold Steel's Avatar
Cold Steel Cold Steel is offline
 
Join Date: Nov 2001
Location: Manhattan
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me installs.

Awesome - thanks!

For anyone who's wondering, Lesane's Storehack used "storep" as the table for points.
Reply With Quote
  #1199  
Old 06-29-2004, 01:44 AM
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Location: Houston, Texas
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
I dont think we have any offical demo sites.

However,
I wanted to announce toe veryone that the license system is now completly working i fixed that one little bug :d
Well, if you'd like a "demo", without the "demo", you can check out my forums:

http://forums.wickedart.org/

Also, what is this licensing that you speak of?



-y2k-
Reply With Quote
  #1200  
Old 06-29-2004, 02:01 AM
Cold Steel's Avatar
Cold Steel Cold Steel is offline
 
Join Date: Nov 2001
Location: Manhattan
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In my postbit, $points doesn't show anything.

I used the standalone installer on 3.0.1.

I'm using the storep table from Lesane's storehack, if that makes a difference.
Reply With Quote
  #1201  
Old 06-29-2004, 02:04 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cold Steel
In my postbit, $points doesn't show anything.

I used the standalone installer on 3.0.1.

I'm using the storep table from Lesane's storehack, if that makes a difference.
It shouldnt, did you do the edits to functions showthread and showthread (if there are any)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:29 PM.


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.06246 seconds
  • Memory Usage 2,347KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete