Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > uCash & uShop
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
  #2052  
Old 11-03-2004, 09:26 PM
bi11i's Avatar
bi11i bi11i is offline
 
Join Date: Aug 2004
Location: Portland, OR
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks.

i wish i could figure out why i can't use the ' character. it gives me a 1064 sql error whenever an action is executed that has a ' in the post or thread or username...

Quote:
Originally Posted by Link14716
EDIT: Didn't read the first part of your post.

The first one is correct. It needs the comma.
Reply With Quote
  #2053  
Old 11-03-2004, 10:50 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 bi11i
thanks.

i wish i could figure out why i can't use the ' character. it gives me a 1064 sql error whenever an action is executed that has a ' in the post or thread or username...
Post the MySQL errors and where you got them. They should have been fixed a long time ago (before the official 0.93 release, actually).
Reply With Quote
  #2054  
Old 11-03-2004, 11:36 PM
bi11i's Avatar
bi11i bi11i is offline
 
Join Date: Aug 2004
Location: Portland, OR
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
Post the MySQL errors and where you got them. They should have been fixed a long time ago (before the official 0.93 release, actually).
Code:
Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO utt_store_history
					 (historyid, userid, timestamp, actionid, action, normalcost, discount, tax, totalcost, touserid, touser, points, newtitle)
					 VALUES
					 (NULL, '10', '1099519682', '17', 'Deny Forum Access', '5000', '2', '15', '5635', '4', 'Wolfman', '0', 'Al Gore's Top 10 Links')
					 
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 's Top 10 Links')' at line 4

mysql error number: 1064

it's because of the ' character in the name of one of my forums. a user tried to deny another user access to a forum that had a ' in the name....
Reply With Quote
  #2055  
Old 11-03-2004, 11:41 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is that the only place a ' error occurs?

Either way, fix it by changing this (in uttstore/action.denyforumaccess.php):
PHP Code:
    uttstore_add_history($action['actionid'], $action['cost'], $userdiscount$action['tax'], $totalcost$_REQUEST['userid'], '0'$forum['title']); 
To this:
PHP Code:
    uttstore_add_history($action['actionid'], $action['cost'], $userdiscount$action['tax'], $totalcost$_REQUEST['userid'], '0'addslashes($forum['title'])); 
EDIT: Fixed all instances of this locally. The fixes will be in the next release.
Reply With Quote
  #2056  
Old 11-03-2004, 11:44 PM
bigM bigM is offline
 
Join Date: Oct 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have successfully installed your hack. But there is one problem. If somebody wants to do any action, he will get this error:

Quote:
User does not exist.
What should I do? Can somebody tell me, what's wrong?

vB: 3.0.3
Reply With Quote
  #2057  
Old 11-03-2004, 11:46 PM
bi11i's Avatar
bi11i bi11i is offline
 
Join Date: Aug 2004
Location: Portland, OR
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, the only place, actually.

thanks, i'll check out the fix!
Quote:
Originally Posted by Link14716
Is that the only place a ' error occurs?

Either way, fix it by changing this (in uttstore/action.denyforumaccess.php):
PHP Code:
    uttstore_add_history($action['actionid'], $action['cost'], $userdiscount$action['tax'], $totalcost$_REQUEST['userid'], '0'$forum['title']); 
To this:
PHP Code:
    uttstore_add_history($action['actionid'], $action['cost'], $userdiscount$action['tax'], $totalcost$_REQUEST['userid'], '0'addslashes($forum['title'])); 
EDIT: Fixed all instances of this locally. The fixes will be in the next release.
Reply With Quote
  #2058  
Old 11-03-2004, 11:47 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 bigM
I have successfully installed your hack. But there is one problem. If somebody wants to do any action, he will get this error:



What should I do? Can somebody tell me, what's wrong?

vB: 3.0.3
That error can only occur in places where you are doing something relating to another user (donate, change other user's title) and means exactly what it says: the username specified does not exist.
Reply With Quote
  #2059  
Old 11-04-2004, 12:05 AM
bigM bigM is offline
 
Join Date: Oct 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that's right. I get this error everytime, when I want to use the action "Donate". The username(s) are correct. So what's wrong?
Reply With Quote
  #2060  
Old 11-04-2004, 12:32 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the usernames are correct, it should work fine.
Reply With Quote
  #2061  
Old 11-04-2004, 12:51 AM
bigM bigM is offline
 
Join Date: Oct 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it doesn't. I can give you a test account to my forum and then you can test it by yourself, okay?
Reply With Quote
Reply

Thread Tools

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 01:33 PM.


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.07500 seconds
  • Memory Usage 2,334KB
  • 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
  • (1)bbcode_code
  • (4)bbcode_php
  • (6)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
  • (4)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