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)

Lionel 01-16-2007 11:35 PM

Quote:

Originally Posted by Quantnet.org (Post 1161010)
Lionel,
I can't see your top profile page : Invalid action

How do you run cron manually ?

try again I just enabled unregistered

to run the cron manually, admincp/scheduled task manager and look for stock trader, then click "run"

Lionel 01-16-2007 11:45 PM

<a href="http://www.haitiwebs.com/forums/vbtrade.php?do=viewportfolio&userid=6120" target="_blank">here</a> is a portfolio that doesn't display (shows in db as -999999.999) and I just ran cron again

Lionel 01-17-2007 12:05 AM

Solved my problem: It was due to the table stocktrader where the cheaters had entered negative values (from other problem that had been solved, but negative values remained in table)

Lionel 01-17-2007 12:13 AM

But one last bug remains. If someone sells all the stocks and pulls out, the cron which should have first empty all columns before re inserting does not. Therefore, someone who is out still carries old values in user table.

Lionel 01-17-2007 12:17 AM

so what I did, before the foreach loop in the cron I did

Quote:

$vbulletin->db->query_write("UPDATE user SET ambportval = '', ambportgainamt = '', ambportgainper = '' ");
and all is well

Quantnet 01-17-2007 12:37 AM

anyone notice the file for download is still 0.9.6 ? not 0.9.7 ? or just that he didn't change the number ?

Lionel, can you upload the file with the fix ?

Lionel 01-17-2007 02:49 AM

oh well, no one wanted to do it, so I did it. If it's ok with zethon I'll post my vbadvanced module.

image1 is seen by unregistered
image2 by member without portfolio
image3 by member with portfolio

Quantnet 01-17-2007 02:58 AM

wow, that's excellent Lionel. Can't wait to get that vbadvanced module.

Lionel 01-17-2007 03:26 AM

it does look good :-)
All packaged waiting for an ok.

xxxsaint 01-17-2007 04:18 AM

Very nice how you've got it showing the different market's position on the day , can that be done without vbadvanced ?

Also , how come we can pull up values of mutual funds , but you can't purchase them ??


All times are GMT. The time now is 06:39 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.01486 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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