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
  #232  
Old 01-20-2007, 02:00 PM
adhari_com's Avatar
adhari_com adhari_com is offline
 
Join Date: May 2004
Location: Bahrain
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how it could be integrated to use the vB Reputation System?
Reply With Quote
  #233  
Old 01-20-2007, 05:53 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adhari_com View Post
how it could be integrated to use the vB Reputation System?
Simply enter 'reputation' in the 'Money Row' field. That's how I've got it set up.
Reply With Quote
  #234  
Old 01-20-2007, 06:36 PM
zethon zethon is offline
 
Join Date: May 2005
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xxxsaint View Post
P.S. Please add Mutual Funds , it gives us the quotes from mutual funds , but doesn't let us buy them!
Can you give me an example of a mutual fund that the system gives a quote for but won't let you buy? I'm guessing this will be an easy fix/change.
Reply With Quote
  #235  
Old 01-20-2007, 06:43 PM
zethon zethon is offline
 
Join Date: May 2005
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xxxsaint View Post
I personally do not want this to become a " stock competition " hack. If that does become the case , then notify us on when it becomes a time-set competition only thing so I can stop upgrading at that point. Nothing wrong with fun competitions , but nothing wrong with having a blast just trading stocks as this has been designed to do.
Nothing will be compulsory. I'm still working on the competition design in my head, and of course if you don't want to have competitions, you will not be required to do so.

Quote:
Originally Posted by Carl Anderson View Post
Add a table that can import the money from vbux, icash etc. In the contest set up area place the amount that can be imported into that table for the contest from vbux etc.. This will be your portfolio starting point and you can't add more than what is set in the contest set up. Have a start date for contest and end date and the one with the most bux at the end date is the winner.

You could also set it to so there is no limit for the sites that want their users to be able to use all of their bux they earn in the contest.
I'm still not sure how I want to handle the competition aspect of this add-on. I'm thinking there will be two ways the competition will initially start.

1) Users will have to pay to enter the contest. That fee will be the money that they use in the contest. Hence, if I start a contest with a 10,000 dollar/rep/vbbux/whatever fee, then each use that enters the competition will initially start out with 10,000.

2) Users will be able to join a competition for free and will be allocated X amount of dollars/rep/whatever.

I can see advantages and disadvantages to both methods. I may go with one or the other or both, I'm still undecided.

The competition portion of this plugin is still at least another month or two away. Grad school starts next week and with a fulltime job, I'm not sure how much time I'll be able to dedicate to this, aside from bug fixes.
Reply With Quote
  #236  
Old 01-20-2007, 08:24 PM
dholt's Avatar
dholt dholt is offline
 
Join Date: Aug 2006
Location: Somewere in Delaware
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed
Reply With Quote
  #237  
Old 01-20-2007, 08:47 PM
Quantnet Quantnet is offline
 
Join Date: Nov 2006
Location: NYC
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

zethon,
Thanks for your time. This has been the best mod i have on my forum in term how it fits the userbase.

Beside the 2 phrases that you have (portfolio value and gain), can you develop more phrases.

Something like the rank of a members in term of top portfolio so we can put in postbit. For example $post[rank_gain] will display the rank of that member based on the gain percentage. $post[rank_value] will display the rank of that member based on the value of the portfolio
Reply With Quote
  #238  
Old 01-20-2007, 11:31 PM
sportsoutlaw sportsoutlaw is offline
 
Join Date: Nov 2004
Location: Texas
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't buy any stock at all. I have cash on hand, but even when I try to buy just 1 share of $30 stock, is says:
You do not have enough money to make this purchase.

What am I doing wrong?
Reply With Quote
  #239  
Old 01-20-2007, 11:52 PM
sportsoutlaw sportsoutlaw is offline
 
Join Date: Nov 2004
Location: Texas
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the issue, I think.......

The cash on hand that I have is 7,120.31

I found a cheap stock that was $4.00 per share, and it will let me buy 1 share. When I try to buy 2 shares, it says I don't have enough money. For some reason, it appears to be reading 7,120.31 as 7.12031.

Any ideas how to fix this?

Edit - I removed vbux/vbplaza tonight and installed icash. This issue doesn't exist with iCash, so my problem is fixed.
Reply With Quote
  #240  
Old 01-21-2007, 02:18 AM
xxxsaint's Avatar
xxxsaint xxxsaint is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zethon View Post
Can you give me an example of a mutual fund that the system gives a quote for but won't let you buy? I'm guessing this will be an easy fix/change.
Here ya go :

CHCGX
SAUSX
DXCLX
DXZLX
FSNGX


Those types of funds Thanks for looking into it!
Reply With Quote
  #241  
Old 01-21-2007, 02:25 AM
Martyh Martyh is offline
 
Join Date: Jan 2007
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok,

I have it installed and got the green bars switched out to show numbers thanks to another thread in mod discussions ( because, I just used the rep system in VB)

, only problem I am having is after a few people have made purchases , they do not show up in the postbit "total portfolio value" they still show zero, and also when I go to the top investors page there is no info there, as if no one is in the game, no memebrs show up under any of the headings.What could I be missing, the install was pretty simple even for a newbie, any ideas ?

please let me know,

Thank you, and thanks for the mod,
it is my personal favorite,
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:55 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
  • Page Generation 0.05240 seconds
  • Memory Usage 2,322KB
  • Queries Executed 27 (?)
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
  • (5)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
  • (2)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_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
  • 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