![]() |
sorry to sound dense Lionel, but where and how would i implement this? I see no reference to it in the product file.
|
Quote:
Quote:
|
The top portfolio view should be fixed now for people using a table prefix.
|
Quote:
|
can you please post your postbit where you display the portfolio value ? thanks
Just notice that the file still shows as 0.9.6 |
Works great now, THANK YOU!!!
|
that fixed it :)
|
I've been patiently waiting for midnight, I've been running that cron manually, no matter what
1-portfolio value is different from top portfolio and actual portfolio (I just ran cron again) here 2-It only displays one portfolio. There supposed to be 3 of them. The cron is still inserting -999999 for the other ones. |
Lionel,
I can't see your top profile page : Invalid action How do you run cron manually ? |
Woo hoooo,
Thank you, working a treat. I can now see that my users are smarter investors than me lol. Keep up the good work regards |
Quote:
to run the cron manually, admincp/scheduled task manager and look for stock trader, then click "run" |
<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
|
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)
|
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.
|
so what I did, before the foreach loop in the cron I did
Quote:
|
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 ? |
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 |
wow, that's excellent Lionel. Can't wait to get that vbadvanced module.
|
it does look good :-)
All packaged waiting for an ok. |
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 ?? |
ok, I released it https://vborg.vbsupport.ru/showthread.php?p=1161159
|
thanks, Lionel. My modules are not populated. You can check out from my site. I posted on your mod thread.
|
when going to: /vbtrade.php?do=topportfolios
Quote:
|
Quote:
|
Quote:
|
it's there, you need to cache it
|
This is not the proper way to cache templates, but I am too lazy to do the plugin, so in vbtrade.php I did in red
Quote:
|
Quote:
I have added the portfolio value in postbit. It will only get update once a day when the cron job is run. Anyone is doing this more frequently ? |
You're welcome. If zethon incorporates it, then you good, won't have to do it every update.
|
vbtrade.php opens only a search option 'Get Stock Quote' without displaying stocks. Only after a search they show the result. Is this how it works or do we have to change something to have an overlook of available stocks?
|
I added the code to the navbar but I have no link showing to get to this MOD.
|
under which condition the amount i give to each member shows up on postbit ? I gave a dozen member 100K to start but only 2 members have the portfolio shown up on postbit even after i manually do the cron job.
Do they have to trade before the portfolio amount got added into the table ? |
Excellent Hack!
Thanks! |
Cool! My add-on has an add-on! ;)
|
I will add this to the code.
Code:
$globaltemplates = array('vbtrade_main','forumdisplay_sortarrow'); |
One thing I want to have is an option of how long a stock must be held before it can be sold.. I want people to think of this as investing and learn from it..
In the real world my broker will not allow me to buy a stock and sell it the same day and then use the funds again to buy the same day.. It takes three days for stocks to clear for me - I use Fidelity brokerage account.. Thanks my users love this ............. I plan to have investing contests with this... |
Quote:
Quote:
|
should i download this now or wait ?
|
Quote:
Ideally, the user would see where he is ranked in the contest. The cron job is updated during business hour, some thing like every 2 hours...(4 times a day) I still try to find a way to put top 10 gainers on forum home. |
Quote:
|
All times are GMT. The time now is 03:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|