Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vbBux / vbPlaza
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
integration with RPG Inferno Details »»
integration with RPG Inferno
Version: , by creedmaniac creedmaniac is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-11-2006 Last Update: Never Installs: 0
 
No support by the author.

has anyone integrated this with RPG inferno...?

if so can you tell me what you did?...or how to figure out what field the rpg uses to store points so i can manually change it?

so far this is what i've done...

inferno used inferno_user as table, money as points field and bankmoney as bank field...so i set all that up...

when i try to give points though this is the error i get

Code:
Database error in vBulletin 3.5.4:

Invalid SQL:

		UPDATE vbinferno_user
		SET
			money = money + 1523, bankmoney = bankmoney + 87;

MySQL Error  : Table 'fdgdfsg_vb.vbinferno_user' doesn't exist
Error Number : 1146
Date         : Saturday, March 11th 2006 @ 01:38:31 PM
Script       : /home/admincp/vbplaza.php
Referrer     : home/admincp/vbplaza.php?do=massgiveaway
IP Address   : dfsgsdfgsdfg
Username     : gffgf
Classname    : vb_database
apparently vbplaza adds a 'vb' to the front of the user field?...how can i remove that?

lol, i just realized that the reason this is happening is because vbplaza adds the vbulletin prefix used in the vbtable....but inferno doesn't use the vbprefix...

so i guess i just need to know how and in what vbplaza file the 'vb' prefix is added to the usertable field?...i've been looking for almost 2 hours now...gues it would be easier if i knew more about php

Show Your Support

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

Comments
  #2  
Old 03-11-2006, 09:04 PM
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vbPlaza only adds TABLE_PREFIX like every single other vBulletin PHP file, that is definitely not the issue, I can assure u.

What is your TABLE_PREFIX inside of config.php? its probably vb judging from the above code. The problem is to be more "compatible" the vbPlaza uses table prefixes just like vBulletin. So the problem is really in fact with RPG Inferno not being compatible with TABLE_PREFIX's.

The only way you could get around this is to manually remove all of the " . TABLE_PREFIX . " from all of the php files that vbPlaza uses for the "points table".

-CMX
Reply With Quote
  #3  
Old 03-11-2006, 10:00 PM
creedmaniac creedmaniac is offline
 
Join Date: Jan 2006
Location: South Carolina
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so does that mean i have to change this in everysingle file...or just a select few?

all i want this for is the points...i won't be using the store at all for this site...
Reply With Quote
  #4  
Old 03-12-2006, 12:38 AM
Ski-Whiz's Avatar
Ski-Whiz Ski-Whiz is offline
 
Join Date: May 2003
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You sure you mean Inferno's RPG, or the RPG Integrated (by Revan)??

Or are you trying to integrate this with Inferno's RPG?? Last time I knew, his point system was self contained in the RPG, meaning he didn't set it up to use ebux or any other...
Reply With Quote
  #5  
Old 03-12-2006, 10:47 AM
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If u r talking about RPG Inferno, the problem exists where the money is not stored inside the user table. SO it gets very tricky to add support for it. You could try to set the vbBux options and change the user tablename to RPG Inferno's, as well as the money/bank fields and see what happens...

And disable the vbPlaza store from the vbPlaza Settings at the top with Enabled, Yes/No.

-CMX
Reply With Quote
  #6  
Old 04-02-2006, 03:38 PM
creedmaniac creedmaniac is offline
 
Join Date: Jan 2006
Location: South Carolina
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cmx...i could do that...the problem that is happening though is that in the vbplaze ACP...where you set the name of the user table and field...vbplaze automatically adds the mysql vb prefix to the front of that table...(i.e...on my forum...if i put user as the field...it actually sets it to vbuser which is the actual name of the field...

rpg inferno doesn't user vbinferno_user...it uses inferno_user...so as you can see...if i type in inferno_user as the table...it changes it to vbinferno_user...

is there a way to keep this from adding that perfix?
Reply With Quote
  #7  
Old 04-03-2006, 10:14 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[Removed - Wrong Thread - Sorry, had one too many windows open, it was supposed to be in the other one. Apologies!]
Reply With Quote
  #8  
Old 04-04-2006, 01:49 PM
creedmaniac creedmaniac is offline
 
Join Date: Jan 2006
Location: South Carolina
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why'd you put that in this thread?
Reply With Quote
  #9  
Old 04-08-2006, 04:21 PM
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually it's not that easy to add support because of that reason alone. It would be easier for the RPG Inferno guy to add TABLE_PREFIX's to his hack than for me to try to support it without it.

-CMX
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 04:57 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.04139 seconds
  • Memory Usage 2,276KB
  • Queries Executed 24 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete