Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Stock Trader for vBulletin Details »»
Stock Trader for vBulletin
Version: 0.9.9, by zethon zethon is offline
Developer Last Online: Oct 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.4 Rating:
Released: 12-29-2006 Last Update: 02-22-2007 Installs: 132
DB Changes Uses Plugins Template Edits
Code Changes Additional Files Is in Beta Stage  
No support by the author.

Stock Trader

Summary
This add-on gives your users the ability to use the money system on your board to "invest" in stock. Users can purchase and sell stock at market values. This plugin uses a stock feed from Yahoo to get real time stock quotes.
Release Notes
This product is considered to still be in Beta.This should be ending by the end of January.

This add-on is known to be compatible with vBulletin's built-in reputation system, vbBux and iCash.
Product Specifications
  1. two plugins
  2. one cron job
  3. file uploads
  4. one new DB table
  5. one template
  6. several phrases

Installation
Approx 2-5 mins
  1. As always: Back up your Database!
  2. upload the files in the "upload" directory, preserving the directory structure
  3. Go into AdminCP and import the product-stocktrader.xml file.
  4. (OPTIONAL) add a link in the navbar template or wherever your users can find it!

Upgrading/Updating
  1. upload all files in the upload directory, overwriting any existing files
  2. re-import the XML file, setting "Overwrite" to "Yes"

Configuration
  1. vBulletin Options -> Stock Trader Options

Change History
  • 0.9.9 (07-25-01) - fixed problem with trading mutual funds, fixed cheat with buying off hours (I think)
  • 0.9.8 (07-18-01) - added new options and fixed bug with purchasing really cheap stock
  • 0.9.7 (07-15-01) - fixed bug in top portfolios when using a table prefix
  • 0.9.6 (07-15-01) - fixed table prefix issues, fixed portfolio.gif problem
  • 0.9.5 (07-14-01) - added statistics page, ability to view other user portfolios, and postbit friendly variables
  • 0.9.4 (07-09-01) - added a Capital Gains Tax option
  • 0.9.3 (07-02-01) - fixed error with purchasing negative stock, fixed compatibility with iCash
  • 0.9.2 (07-05-01) - bug fixes
  • 0.9.1 (06-30-12) - added AJAX stock info lookup
  • 0.9.0 (06-29-12) - initial Beta release

Future Features
  • stock ticker marquee for users

Official Support
http://code.google.com/p/vbtrade/
PLEASE CLICK INSTALL!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
ivanov73

Comments
  #82  
Old 01-06-2007, 05:45 PM
zethon zethon is offline
 
Join Date: May 2005
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Carl Anderson View Post
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).
Reply With Quote
  #83  
Old 01-06-2007, 09:28 PM
Carl Anderson's Avatar
Carl Anderson Carl Anderson is offline
 
Join Date: Apr 2003
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zethon View Post
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?
Reply With Quote
  #84  
Old 01-07-2007, 01:39 AM
zethon zethon is offline
 
Join Date: May 2005
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Carl Anderson View Post
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 View Post
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.
Reply With Quote
  #85  
Old 01-07-2007, 06:05 AM
Carl Anderson's Avatar
Carl Anderson Carl Anderson is offline
 
Join Date: Apr 2003
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #86  
Old 01-07-2007, 10:35 AM
kcmandava kcmandava is offline
 
Join Date: Jan 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will install soon. Might wait for the beta to finish.
Reply With Quote
  #87  
Old 01-07-2007, 10:48 AM
DannyMilner DannyMilner is offline
 
Join Date: Aug 2005
Location: Leeds, UK
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea, I really like it! Nice work
Reply With Quote
  #88  
Old 01-07-2007, 02:37 PM
zethon zethon is offline
 
Join Date: May 2005
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Carl Anderson View Post
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.
Reply With Quote
  #89  
Old 01-07-2007, 02:45 PM
zethon zethon is offline
 
Join Date: May 2005
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #90  
Old 01-07-2007, 03:10 PM
TwinsForMe TwinsForMe is offline
 
Join Date: Oct 2004
Location: Canada
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #91  
Old 01-07-2007, 03:25 PM
Blaine0002's Avatar
Blaine0002 Blaine0002 is offline
 
Join Date: Jul 2003
Location: Wisconsin.
Posts: 1,350
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zethon View Post
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 :-/
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 08:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10420 seconds
  • Memory Usage 2,327KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete