![]() |
Quote:
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). |
Quote:
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? |
Quote:
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:
|
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... |
Will install soon. Might wait for the beta to finish.
|
Good idea, I really like it! Nice work
|
Quote:
|
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. |
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? |
Quote:
|
Try this... Open vbtrade.php
find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
Hope this works for you.. |
That new file did the trick.
Thanks. :) |
Quote:
|
Quote:
|
a member discovered a major bug.
Try purchasing some stocks and for amount of shares put in -500 (negative). That will increase your points amount. In one case, the guy who had 2900 points ended with 10 billions!!!!!! |
|
Quote:
Quote:
|
try this, i simply added a check where each preview was and it puts an error if the stocks entered was less than 1
|
Quote:
PHP Code:
|
no i also stuck one in there when you sell stocks, OH! and i also added the phrase to the XML file.
|
Quote:
|
glad it worked for you! :D
|
Quote:
1-display the major indice to all 2-a register to play message 3-click here to play for registered non participant 4-A list of participant stocks (5 or more) plus a link to their full portfolio. That will be super cool |
Quote:
Quote:
|
All updates have been added to the distribution, and I've bumped up the version number.
Thanks to Blaine0002 for finding the fix to get this to work with iCash! |
glad to help!
|
This is awesome! Great work
*clicks install* |
Great hack and I got it working fine using vbux at last.. I had already started a contest using vbux and when it is over I will uninstall it and switch to icash...
Here is your list of future features.. Future Features
I would like you to consider a top ten list of % gained. Or most money in portfiolio? Something to see to compare and have contests on... Also a stocks sold (or history) whatever you want to name it so you can view the winners and losers in your portfolio. Maybe at the time of sale it just moves them into another table for storage that can be brought up by a history or sold link? This hack is great and I love it as people can learn to trade stocks and I run an investing site so I am a bit biased.. Voted it hack of the month......... Thank you so much! |
A few people on my board requested the plugin charge a capital gains tax, instead of a commissions for selling stock. I implemented this as another setting in the add-on's setting page.
Upgrade as normal |
Is there anyway you can create a virtual money system for this hack?
|
Is stock the only underlying asset in this mod ? Can we trade options, futures, forward contracts, etc ?
Thanks |
Quote:
You can find out more about the service the plugin uses here: http://www.gummy-stuff.org/Yahoo-data.htm |
i just installed this and it works as far as I can see. I did the template edit where i add the Stock Trader link on navbar. Where I click this, it just links to User CP, but i have to link directly to vbtrade.php to do the trading.
What is the purpose of Stock Trader navbar ? |
after last update it no longer deduct the points after purchase
|
Ok, here is a question you probably haven't heard before. I run a board for a news site. We have a business publication that runs a contest where readers build hypothetical stock portfolio and they compete against a chimp. Pretty much the finance version of the classic Out Pick... sports contest. Would this system allow for the ability for users to set up their own portfolios, but have them visible to the overall group in some sort of comparative table as well as the ability for the public to view the portfolio distributions? Or is everything pretty well privatized?
Just wondering. |
Is there any way to just have it display your total portfolio value in your postbit ??
|
Quote:
|
Installed and clicked
I'm using user reputations which was off. now its on and thats how we're purchasing. Before I tell my users about it. Is this portfolio private. Ie. no one can see what you bought, its value, etc...??? Was hoping we could check each others portfolios out or at least values. good hack! |
whoops second question.
I'm trying to use reputation as my money system. but its not working. (reputations are on) I'm trying to find the "user tabel" point system you reffered to but in my admin cp under users. there is no money or point section?? probably something dumb i'm missing here. |
Quote:
https://vborg.vbsupport.ru/attachmen...8&d=1167441300 does yours look like this ^ |
All times are GMT. The time now is 12:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|