vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Itemshop Hack Problem (https://vborg.vbsupport.ru/showthread.php?t=44438)

Dark Shogun 10-09-2002 12:53 PM

Itemshop Hack Problem
 
Ok I know I would "normally" post this in the itemshop thread but that hack is no longer being supported so no one answers questions in there.

I installed the itemshop hack on a vbulletin ver. 2.2.8. and I get this error when I try and donate money.

Code:

Invalid SQL: SELECT field6 FROM userfield WHERE userid=Array
mysql error: Unknown column 'Array' in 'where clause'

The field number for the money is field6. I am not a php and mysql person so I really don't know how to fix. If someone can tell me what to edit I can do that much.

Dark Shogun

g-force2k2 10-09-2002 02:25 PM

Dark Shogun make sure the variable is $bbuserinfo[userid] not $bbuserinfo ;) hope that fixes it... regards...

g-force2k2

Dark Shogun 10-09-2002 05:23 PM

I checed new thread and new reply for that code you asked me to make sure was right and it is correct. Anything else I code try?

Dark Shogun

Dark Shogun 10-14-2002 11:59 PM

HELP. :(

Dark Shogun

majin gotenks 04-12-2003 04:41 AM

create a new custom field through the admin cp and call it points and make sure is not editable by users. then check the fieldid and change it to that.


All times are GMT. The time now is 08:40 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.01125 seconds
  • Memory Usage 1,711KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete