Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Stocks 1.0.0 for vB 3.0.3 Details »»
vB Stocks 1.0.0 for vB 3.0.3
Version: 1.00, by AN-net AN-net is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 11-06-2004 Last Update: Never Installs: 19
DB Changes
 
No support by the author.

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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 01-27-2005, 07:23 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack! I plan on checking it out later. One suggestion that has already been said before: how about an extra text input field where you can indicate the ACTUAL name of the company next to the link?
Reply With Quote
  #43  
Old 01-27-2005, 08:25 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rajc007
Not sure if I missed something on the install but my stock info is not updating. www.hospitality-forum.com/forums/stocks.php
for some reason it is unable to connect
Reply With Quote
  #44  
Old 01-31-2005, 05:14 PM
valentine valentine is offline
 
Join Date: Jan 2005
Location: Cambridge, UK
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Neat hack.

Any idea how it can be integrated with VBAdvanced?

If I put the stocks.php file into the modules folder for VBA, and choose it as a template for a new module called "stocks" it replaces the entire front page of VBA with the stocks.php page - how might I be able to fix this?
Reply With Quote
  #45  
Old 02-02-2005, 02:36 PM
interfx interfx is offline
 
Join Date: Dec 2001
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also trying to use VBAdvanced also... Any one else make this work?
Reply With Quote
  #46  
Old 02-02-2005, 03:08 PM
rajc007 rajc007 is offline
 
Join Date: Jan 2005
Location: Ok
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AN-net
for some reason it is unable to connect
I think I found the problem. My host has the value "allow_url_fopen" set to off. Guess its time to look for a new host.
Reply With Quote
  #47  
Old 02-02-2005, 04:30 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by interfx
I am also trying to use VBAdvanced also... Any one else make this work?
i would have no clue on how to make it work with vb advanced as i do not use it
Reply With Quote
  #48  
Old 02-02-2005, 10:19 PM
rinkrat's Avatar
rinkrat rinkrat is offline
 
Join Date: Jan 2002
Location: Long Beach
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, being able to dreate your own portfolio would be the way I would want this. That would be epic!
Reply With Quote
  #49  
Old 02-04-2005, 08:22 AM
valentine valentine is offline
 
Join Date: Jan 2005
Location: Cambridge, UK
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, this is what I've tried myself to get it to integrate - but dont get too excited as it doesnt work, but you can see my line of thought.

As there seem to be a few of us interested, would anyone else like to have a stab it at? ( assuming that AN-net has no objections to this)

wherever you see this code:
Code:
fetch_template('stocks_templatename')
I changed it to:
Code:
fetch_template('adv_portal_stocks_templatename')
and also changed the first few lines of code in the stocks.php file that read:
Code:
$globaltemplates= array(
	'STOCKS',
	'stocks_quotebits',
	'stocks_getquote'
);
to:

Code:
$globaltemplates= array(
	'adv_portal_STOCKS',
	'adv_portal_stocks_quotebits',
	'adv_portal_stocks_getquote'
);
and renamed all the new VBStocks templates so that they match the above template names.

Now, I was pretty sure this would fix it... but it hasn't!

I think it may have something to do with this bit:

Code:
require_once('./global.php');
if(empty($_REQUEST['do']))
{
	$_REQUEST['do']= "index";
}

if($_REQUEST['do']=="index")
{
But I'm not sure. I'm not a coder, just playing with it to try and fix it to work with VBA.
Reply With Quote
  #50  
Old 02-08-2005, 01:40 AM
interfx interfx is offline
 
Join Date: Dec 2001
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone make this work in VBCMPS yet? I'm still trying, but have not figured it out yet...

INterfX
Reply With Quote
  #51  
Old 02-25-2005, 08:53 PM
Guest190829
Guest
 
Posts: n/a
Default

I'm working on a add-on now, my only problem is that it's pulling out only the last stock added via the admic CP, so I was wondering if AN-NET can help me out....
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 12:11 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.10337 seconds
  • Memory Usage 2,308KB
  • Queries Executed 26 (?)
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_code
  • (3)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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