The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Stock Trader for vBulletin Details »» | |||||||||||||||||||||||||
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.Product Specifications
Installation Approx 2-5 mins
Upgrading/Updating
Configuration
Change History
Future Features
Official Support http://code.google.com/p/vbtrade/ PLEASE CLICK INSTALL! Show Your Support
|
Благодарность от: | ||
ivanov73 |
Comments |
#422
|
|||
|
|||
Quote:
|
#423
|
||||
|
||||
Quote:
Find Code:
case 'gallery': $userinfo['action'] = $vbphrase['viewing_gallery']; break; Code:
case 'vbtrade': $userinfo['action'] = $vbphrase['viewing_stock_trader']; break; Code:
case 'gallery.php': $userinfo['activity'] = 'gallery'; break; Code:
case 'vbtrade.php': $userinfo['activity'] = 'vbtrade'; break; Next go to your Phrase Manager and add a phrase. Phrase Type: Who's Online Product: vBulletin Varname: viewing_stock_trader Text: Viewing Stock Trader Save it and your Who's Online should now show Viewing Stock Trader. |
#424
|
||||
|
||||
Installed and working on 3.8.0 but now not so much...
I installed this 2 days ago on my forum and tested it myself, it worked fine... I made a couple of modifications- I set the cron job to run twice per hour - and I turned the postbit stock portfolio info into a hyperlink that would display that user's portfolio if you clicked on it- working well. Today is the 3rd day and now more members are using it and adding stocks to it... The stocktrader table in the database has almost 400 entries... but today things are acting screwy. The cron job runs without any errors reported, the 'top portfolio' page opens without any errors- but there are also no portfolios listed... In the postbit eveyone's portfolio value is listed as $0.000 even though many have portfolios with real values, including myself. When I click on my portfolio (or view another users) it seems to display fine/correctly- I can still buy/sell stocks and lookup symbols... it's just the calculation of portfolio value that isn't working right. I ran the cron job manually several times but the abportfolio values and gains columbs in the user table are all listed as 0.000 and the gain is all -1 (100%) since the current value is zero. I didn't make any changes to the code... it wasn't working this morning, then worked for an hour maybe? then went away again... Any ideas? |
#425
|
||||
|
||||
I returned the cron job to the middle of the night... no help.
Checked the error logs, none have been recorded. |
#426
|
||||
|
||||
Well for whatever the reason it's just not working because there are too many stocks in the stocktrader table in the database... (currently at 412 entries)... when I delete them down to about 300 or less it runs fine... somwhere are 350 entries it just doesn't run at all (or at least it just doesn't do the correct calculations). I don't think it's a bad stock symbol or such because I visually checked the table, it all looks well, and it doesn't matter which stocks I delete, as long as I get that table below a certain size it will work.
I checked the php settings on max execution time and such, but I can't change the settings on my hosting plan at the moment- but in either case ~400 stocks shouldn't really time out I don't think. I'm wondering if the cron job file can be edited to run a 100 to 200 operations at a time and repeat until its finished? I will look at it but honestly that is probably above my skill level. How many stocks do the people that have this working have in their databases? |
#427
|
|||
|
|||
I would be interested to have a copy your data. If you can supply me with that, I can take a look.
I've recently come back to this mod and am about to release a version 1.0. Support will be on a site I'm setting up. I just can't check this site all the time to keep track of the bugs. I'm also going to move this project to the 3.8 modifications. |
#428
|
|||
|
|||
Quote:
Looking forward to that :up: |
#429
|
|||
|
|||
Does this work in vB4?
|
#430
|
|||
|
|||
So has nobody tried this on VB4? This is an amazing mod that I would love to have. It'd be super sweet if somebody could make it work for 4.x. I know I'd be down to donate for it.
|
#431
|
|||
|
|||
Any word yet on whether this can be installed on vB4 ...?
Thanks!!! |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|