vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Stock Trader for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=135084)

ArchangelX 03-24-2008 01:17 PM

*sigh*

Same here... http://download.finance.yahoo.com/d/quotes.csv simply doesn't change anything. :(

sandt38 03-25-2008 07:56 PM

I attempted the same thing with no change in results. There is a variable missing in the string, but I can't figure it out. In searching google for the url I found it will work when you add ticker symbols to it... But how do you add the variable, which must be a part of the program?

ProAzn 03-28-2008 08:53 PM

Is there no more support for this mod? No one has a new file/code to correct the issue??

Sigh.. :(

kylek 03-29-2008 04:45 AM

I did change the link that Stamos2003 provided and it works fine, its been running since March 21 and allows us to get quotes, buy, and sell the stock, shows stock prices, etc.

Stuff we did for it:
1 - reupload the stock trader files,
2 - import the product-stocktrader.xml file and selected overwrite
3 - checked the cron, changed it to run once every hour
4 - changed the url for the feed to the one Stamos2003 provided.

After this its been working fine.

rungok 03-29-2008 11:27 AM

*deleted*

Quantnet 03-29-2008 01:57 PM

kylek
I did what you did and it didn't help. it just wipe out everything and still the same error

ArchangelX 03-31-2008 06:07 AM

Damn. Tried the same thing...no dice. This sucks.

romanticyao 03-31-2008 02:07 PM

Quote:

Originally Posted by Junkie (Post 1395956)
My 'Cash on Hand' at the moment displays as 42.7000000000007.

I use vBCredits as my money system and have the number of decimal places set to zero. Prior to the above display of cash on hand, it displayed an amount with one digit to the right of the decimal. Is there a way to display the cash on hand with no digits to the right of the decimal?


open up vbtrade.php and change

PHP Code:

$cashonhand $vbulletin->userinfo[$moneyrow]; 

to

PHP Code:

$cashonhand round($vbulletin->userinfo[$moneyrow],2); 

This will only show 42.70 . you can change 2 to 0 if you wish to show 42 only.

Quantnet 04-04-2008 12:23 AM

Anyone got any feedback from the author ?

rungok 04-04-2008 07:20 PM

My ISP har disabled the fopen-function and says that I should rewrite the code to use curl instead. Can anyone help me with this modifications?


All times are GMT. The time now is 10:59 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.01476 seconds
  • Memory Usage 1,735KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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