vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Stock Trader for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=135084)

zethon 01-06-2007 05:45 PM

Quote:

Originally Posted by Carl Anderson (Post 1151978)
Would be nice if this had its own money system I can't seem to get icash to work with it... a simple way to just give money to users as it is I won't use this... can't seem to get it to work.

Nice hack though...

I think giving this hack its own money system kinda defeats the purpose of the hack. It's not a money-system hack, it's a hack to use money systems.

And from reading the iCash documentation, it looks like this should work just fine. All you have to do is set the "Money Row" option in this hack's settings to "money" (which is the row that iCash uses).

Carl Anderson 01-06-2007 09:28 PM

Quote:

Originally Posted by zethon (Post 1152074)
I think giving this hack its own money system kinda defeats the purpose of the hack. It's not a money-system hack, it's a hack to use money systems.

And from reading the iCash documentation, it looks like this should work just fine. All you have to do is set the "Money Row" option in this hack's settings to "money" (which is the row that iCash uses).


I will say this one more time and hope this makes sense....

I set the money row to money in stock trader - this is how I can tell for sure that I am doing that right. If i set it to anything else but money it does not show up in "cash on hand" in your stock trader - so I am setting it right! what I and my users get is this error when we go to purchase stocks..

Fatal error: Field money is not defined in $validfields in class vb_datamanager_user in /includes/class_dm.php on line 485

I have set it to money from the start and I keep getting told to set it to money?


My suggestion to be able to just add the amount from your hack and not have to install a money system too I think is a good one. I looked at vbux and it adds all kinds of extra crap that I don't want. So I attempted using icash as it looked simple and it is not working.... does anyone have this working using icash? Are there other choices than vbux that are simple like icash and do not add other things?

zethon 01-07-2007 01:39 AM

Quote:

Originally Posted by Carl Anderson (Post 1152203)
I will say this one more time and hope this makes sense....

I set the money row to money in stock trader - this is how I can tell for sure that I am doing that right. If i set it to anything else but money it does not show up in "cash on hand" in your stock trader - so I am setting it right! what I and my users get is this error when we go to purchase stocks..

Fatal error: Field money is not defined in $validfields in class vb_datamanager_user in /includes/class_dm.php on line 485

I have set it to money from the start and I keep getting told to set it to money?

I would have to look at your board to see what the problem is, but it sounds to me like you're still misconfigured. Especially since other people are having no problems like yours.

The error you're seeing is what happens when vBulletin or a plugin try to set a value to a field in a data object that doesn't exist. In other words, the money field that the plugin is using DOES NOT EXIST. This is not an error in the plugin, but a misconfiguration. If you want to IM me and have me take a look at your board, I'll be more than happy to do so.

Quote:

Originally Posted by Carl Anderson (Post 1152203)
My suggestion to be able to just add the amount from your hack and not have to install a money system too I think is a good one. I looked at vbux and it adds all kinds of extra crap that I don't want. So I attempted using icash as it looked simple and it is not working.... does anyone have this working using icash? Are there other choices than vbux that are simple like icash and do not add other things?

You can do what I do on my board and use reputation, which doesn't require any money addon of any kind since it's built into vBulletin.

Carl Anderson 01-07-2007 06:05 AM

Well I just installed vbbux and your hack works with that? So the author of icash or your stock trader hack are not compatible or I may have a hack or something that conflicts with your two hacks installed..

Hope someone else gives icash a try and then we know if it is my setup or a conflict between your hacks..

Nice job by the way and Thx

I will use this now that it works with vbux - I just hate all the additional suff that comes with that money system...

kcmandava 01-07-2007 10:35 AM

Will install soon. Might wait for the beta to finish.

DannyMilner 01-07-2007 10:48 AM

Good idea, I really like it! Nice work

zethon 01-07-2007 02:37 PM

Quote:

Originally Posted by Carl Anderson (Post 1152422)
Well I just installed vbbux and your hack works with that? So the author of icash or your stock trader hack are not compatible or I may have a hack or something that conflicts with your two hacks installed..

I'm really curious to know what the problem is now. Hmm.. when I have some time I'll set up a test board and install iCash to see if I can figure out the problem.

zethon 01-07-2007 02:45 PM

Wait a minute, I just noticed that iCash is written for vBulletin 3.5.X. This Stock Trader plugin is written for 3.6.X.

Carl, are you running 3.5.X? If so, that's probably why you couldn't get this plugin to work with iCash.

TwinsForMe 01-07-2007 03:10 PM

I'm running 3.6.4, with the most recent version of ICash (3.6 compatible) and I am getting the same error when trying to make a purchase. My money is defined as money, as per instructions.

Fatal error: Field money is not defined in $validfields in class vb_datamanager_user in /includes/class_dm.php on line 485

I use a prefix on my table. Could that be the error?

Blaine0002 01-07-2007 03:25 PM

Quote:

Originally Posted by zethon (Post 1152657)
Wait a minute, I just noticed that iCash is written for vBulletin 3.5.X. This Stock Trader plugin is written for 3.6.X.

Carl, are you running 3.5.X? If so, that's probably why you couldn't get this plugin to work with iCash.

ICash works for 3.6.X, but if your modification is not backwards compatable with 3.5.X that would probably be the problem :-/


All times are GMT. The time now is 08:05 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.01485 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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