vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Stocks 1.0.0 for vB 3.0.3 (https://vborg.vbsupport.ru/showthread.php?t=71445)

AN-net 11-06-2004 10:00 PM

vB Stocks 1.0.0 for vB 3.0.3
 
vB Stocks 1.0.0
by Antonbomb22(Anthony Scudese)

Compatiability:
Compatiable with 3.0.x(Tested on 3.0.3)

Description:
This hack uses Yahoo Finance's external CSV feature. It converts the CSV to a readable array. This allows you to get stock quotes(not realtime but updated daily) for whatever stocks Yahoo Finance provides via stock symbols(Google = GOOG). You can also get quotes on the DowJones. Also this hack allows your users to look up stocks that you may not have already being pulled from Yahoo Finance.

Author(s):
-AN-Net
-joeaic(developed code basis)

Code Based Off Of:
http://www.phpbuilder.com/snippet/de...snippet&id=163

Live Demo:
http://www.animationation.net/community/stocks.php

Support:
Any modification to the provided files is not supportable. I also hold the right to deny support to anyone at anytime.

Where to Get Support:
-Official vB Stocks Forum
-Aim: Antonbomb22
-Email: antonbomb22@animationation.net
-this thread

Special Thanks To:
Yahoo Finance for providing the CSV and great service;)

Zip Includes:
-install.txt
-stocks.php
-stocksmanager.php

Guest190829 11-07-2004 01:49 AM

Great Job AN-NET, keep up the great hacks!

bendigo-tech 11-07-2004 02:50 AM

I have no use for this but still a very nice hack.

Good work! :)

AN-net 11-07-2004 03:01 AM

Thanks for the positive feedback:)

Ted S 11-07-2004 03:14 AM

Very nice hack, quick install (under 10 minutes) and it works great! Hopefully my users will find this as useful as I think it is.

One small suggestion/question... would it be possible to get the company name from Yahoo so a stock shows up Google - GOOG instead of just the ticker symbol? Thanks!

xware 11-07-2004 04:23 AM

can you make a virtue stock market that users can buy and sell stock by their bbs money?

Amavisca 11-07-2004 04:45 AM

I dont use this buy , but great work an

BarHopper 11-07-2004 05:57 AM

Quote:

Originally Posted by bendigo-tech
I have no use for this but still a very nice hack.

Good work! :)

dito, but very good hack.

AlexanderT 11-07-2004 12:04 PM

A nice hack, but it should really cache the stock information unless you want to hammer Yahoo.

Your example sites features 13 stocks. With the current implementation, that means every time someone accesses your stock page, your server is hitting Yahoo 13 times. Imagine 20 users accessing your stock page - your server would be hitting Yahoo 260 times. Imagine 200 users accessing your stock page - Yahoo gets hit 2600 times!

AN-net 11-07-2004 02:35 PM

Quote:

Originally Posted by AlexanderT
A nice hack, but it should really cache the stock information unless you want to hammer Yahoo.

Your example sites features 13 stocks. With the current implementation, that means every time someone accesses your stock page, your server is hitting Yahoo 13 times. Imagine 20 users accessing your stock page - your server would be hitting Yahoo 260 times. Imagine 200 users accessing your stock page - Yahoo gets hit 2600 times!

they can handle it lol! anyways maybe ill look into some caching in a future version but i was really just planning on making this a one version script


All times are GMT. The time now is 09:15 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.01211 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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