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
Store hack question Details »»
Store hack question
Version: , by tarantulas tarantulas is offline
Developer Last Online: Nov 2009 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-14-2005 Last Update: Never Installs: 0
 
No support by the author.

Hi people,

I've installed store hack with vB2. Now, I upgraded to vB3 and store hack is no longer working.

Can I use your script to so-called upgrade the store hack? Will this script use the point from database of the old store hack?

Please give me some advice if anyone has it. I'd be really appreciate it.

tarantulas

Show Your Support

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

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

Once installed, run these two queries:
[sql]ALTER TABLE user DROP uttpoints;
ALTER TABLE user CHANGE `storep` `uttpoints` DECIMAL(20, 2) NOT NULL;[/sql]
Reply With Quote
  #3  
Old 07-14-2005, 07:35 PM
tarantulas tarantulas is offline
 
Join Date: Jul 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Links, thanks for the reply.

um, I just installed the uShop and found out that I can specify the field used for point. so I change the field from uttponts to storep. easier than expected.
Reply With Quote
  #4  
Old 07-14-2005, 07:45 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 tarantulas
Hi Links, thanks for the reply.

um, I just installed the uShop and found out that I can specify the field used for point. so I change the field from uttponts to storep. easier than expected.
The only problem to that is the storep field doesn't support decimal numbers. Any amount that isn't an integer (like 0.25) is rounded to the nearest integer (same example means it rounds down to 0).
Reply With Quote
  #5  
Old 07-14-2005, 08:17 PM
tarantulas tarantulas is offline
 
Join Date: Jul 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
The only problem to that is the storep field doesn't support decimal numbers. Any amount that isn't an integer (like 0.25) is rounded to the nearest integer (same example means it rounds down to 0).
ic. now, i changed to what you said.

well, another question.. how do I change the word "Points" to my own currency?

store hack allowed user to set it in admin panel..
Reply With Quote
  #6  
Old 07-14-2005, 09:00 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I could be very wrong so dont 100% take it from me..just try and see if it works :P I think it is these 2 phrases

I know its a phrase that does it, but I couldnt remember which..but then found these

ucs_points
ucs_points_lower
Reply With Quote
  #7  
Old 07-14-2005, 09:09 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 bigcurt
I could be very wrong so dont 100% take it from me..just try and see if it works :P I think it is these 2 phrases

I know its a phrase that does it, but I couldnt remember which..but then found these

ucs_points
ucs_points_lower
Those are the correct phrases.
Reply With Quote
  #8  
Old 07-14-2005, 09:17 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, there is a first..I love being rite
Reply With Quote
  #9  
Old 07-14-2005, 10:14 PM
tarantulas tarantulas is offline
 
Join Date: Jul 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
Those are the correct phrases.
i changed the phrases in "phrase" table of MySQL database, but it didn't change the display in the forum.

weird..



:speechless: it works now after I edited it in the admin..


it's weird that when I used SQL to edit it directly to the table, it didn't show up correctly..
Reply With Quote
  #10  
Old 07-14-2005, 11:06 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try in admin CP? Its working fine for me.
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 09:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04719 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
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
  • (4)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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