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)

yoyoyoyo 01-27-2005 07:23 PM

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?

AN-net 01-27-2005 08:25 PM

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

valentine 01-31-2005 05:14 PM

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?

interfx 02-02-2005 02:36 PM

I am also trying to use VBAdvanced also... Any one else make this work?

rajc007 02-02-2005 03:08 PM

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.

AN-net 02-02-2005 04:30 PM

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;)

rinkrat 02-02-2005 10:19 PM

Yeah, being able to dreate your own portfolio would be the way I would want this. That would be epic!

valentine 02-04-2005 08:22 AM

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.

interfx 02-08-2005 01:40 AM

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

INterfX

Guest190829 02-25-2005 08:53 PM

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....


All times are GMT. The time now is 07:38 AM.

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.01213 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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