vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   RPG Integration Hack /w Battle (BETA) (https://vborg.vbsupport.ru/showthread.php?t=46417)

mli 12-16-2002 10:23 PM

Mrpolish try this:

1. Go to your admin panel
2. Go to modify user profile fields
3. Find the RPG Name profile field
4. Right click over the edit link and go to copy shortcut
6. Copy it in your browser
7. Near the end there will be a number. Remember that number
8. Go to edit the battle options
9. In the top option put in field# and replace number with the number you recorded in step 7.

It worked for me :banana:

Bitsys 12-16-2002 10:24 PM

jags2ooo:
Did you add items to the new categories?

Strider Xero 12-16-2002 10:28 PM

Bitsys, my Battle Hack is 'on' also....my settings are the exact same as MLI's..

Mrpolish 12-17-2002 02:20 AM

I get an error when i trz to replz to a post

Invalid SQL: SELECT field5 FROM userfield WHERE userid=1
mysql error: Unknown column 'field5' in 'field list'

mysql error number: 1054

jags2ooo 12-17-2002 04:00 PM

Yes I added the items to the new categories, it is all set up, but it still never shows up, contact me on AIM Bitsy at anipro69.

jags2ooo 12-17-2002 04:32 PM

fixed it

VeoMorphine 12-17-2002 05:36 PM

OK, i fixed the register bug.

Some how, for some un-known reasen the install script was trying to put a userid in the itemshop_user in that was allready there. So i replaced:

$DB_site->query("INSERT INTO items_user (userid) VALUES ($userid)");

With the user update code from the install_itemsho_items.php and it works great now.

mli 12-17-2002 05:52 PM

Quote:

Originally posted by Mrpolish
I get an error when i trz to replz to a post

Invalid SQL: SELECT field5 FROM userfield WHERE userid=1
mysql error: Unknown column 'field5' in 'field list'

mysql error number: 1054

That's from the itemsop hack. GOOD LUCK WITH THAT!!! I hate the itemshop hack because of that. In the admin panel it asks you want userfield you want the money to be stored in. The only problem is that it has to be a field from 1-9!!! And everytime you create a field a number is wasted. So if you have 5 new fields and you used to have 10 others but you deleted them you'll have to put field15 in the itemshop part of the admin panel. But that won't WORK! Well mine works :glasses:

jags2ooo 12-17-2002 08:04 PM

Hey I was wondering, can I restock items mannuelly or do I have to wait till they do automatically?

VeoMorphine 12-18-2002 11:29 AM

Quote:

Originally posted by mli

That's from the itemsop hack. GOOD LUCK WITH THAT!!! I hate the itemshop hack because of that. In the admin panel it asks you want userfield you want the money to be stored in. The only problem is that it has to be a field from 1-9!!! And everytime you create a field a number is wasted. So if you have 5 new fields and you used to have 10 others but you deleted them you'll have to put field15 in the itemshop part of the admin panel. But that won't WORK! Well mine works :glasses:

why not just do it through mysql?


All times are GMT. The time now is 07:41 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.02165 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete