-
Posts
2284 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by mark1million
-
Could this be it? noticed "min": 1, "max": 1, { "elements": [ { "type": "area", "width": 2, "dot-style": { "type": "solid-dot", "dot-size": 3, "halo-size": 1, "colour": "#3D5C56" }, "colour": "#3D5C56", "fill": "#3D5C56", "fill-alpha": 0.3, "on-show": { "type": "pop-up", "cascade": 2, "delay": 0.5 }, "text": "", "font-size": 10, "values": [ 1, 1 ] } ], "title": { "text": "Past 30 days PIREPs" }, "y_axis": { "min": 1, "max": 1, "steps": 1 }, "x_axis": { "labels": { "labels": [ "2010-02-21", "2010-02-23" ], "rotate": 270 } }, "bg_colour": "#FFFFFF" }
-
Just added that to my site, with a bit of modding Thanks for the addition.
-
I am on the latest beta, but i copied the chart code from another template thats on my test server which has a different release on it, has the code changed at all? This is how im using the chart, <?php /* Added in 2.0! */ $chart_width = '700'; $chart_height = '250'; /* Don't need to change anything below this here */ ?> <div align="center" style="width: 100%;"> <div align="center" id="pireps_chart"></div> </div> <script type="text/javascript" src="<?php echo fileurl('/lib/js/ofc/js/swfobject.js')?>"></script> <script type="text/javascript"> swfobject.embedSWF("<?php echo fileurl('/lib/js/ofc/open-flash-chart.swf');?>", "pireps_chart", "<?php echo $chart_width;?>", "<?php echo $chart_height;?>", "9.0.0", "expressInstall.swf", {"data-file":"<?php echo actionurl('/pilots/statsdaysdata/'.$userinfo->pilotid);?>"}); </script>
-
Hi Nabeel, i have this display problem with the pirep chart screen shot below, is there any way this can be changed to display more figures on the left ie like 1 2 3 4 then the line wouldn't be at the top
-
Nabeel, just a quick one but i have just been reading about xacars and the following is possible, QA OUT Message (engines are on and parking brakes are off) QB OFF Message (aicraft leaves the ground - takeoff) QC ON Message (aircraft reaches the ground again - landing) QD IN Message (aircraft has parking brake set and engines off) PR Position Report AR Altitude Report In addition to those messages every flightmessage can containt one or more of this data: POS Current position (format example: N11 24.9084 W69 40.7886) HDG Current heading (number) ALT Current altitude (number) IAS Current IAS (number) TAS Current TAT (number) OAT Current OAT (number) TAT Current TAT (number) FOB Fuel on board in lbs (number) WND Current wind (number, format example: 35010 = 350°, 10 kts) HDT Current track (number) TOW Take Off Weight in lbs (number) Can any of these be defined in phpvms?
-
Just ran that and no errors what so ever, still stayed as 0
-
Hi guys, im having trouble displaying todays flights or flights today this is the code that im using am i missing something somewhere? All the other stats populate except for Total Flights Today. Total Flights Today: <?php echo StatsData::totalflightstoday(); ?><br />
-
OK so i was about to post for help but some coffee and logical thinking i have this working, it might not be the right way but its working lol:) <?php if($pilot->lastpirep == 0) { echo 'No flight'; } else { $report = PIREPData::GetLastReports($pilot->pilotid, 1); echo date('d.M.Y', strtotime($report->submitdate)); } ?>
-
Nabeel, I have on the pilots page a last flight, if we have a new joiner with no flight this defaults to 01.Jan.1970 Example, http://www.easyjetva.com/index.php/pilots, if there any way to mod this out to display N/A or none as apposed to the date if no flight has been flown yet?
-
Hi, im no coder but what i do know is you can use the phpbb3 user add with a plain text password and that api will do all your work, also its possible to get the plaintext password out of the phpvms registration and feed that in to the user add function.
-
Yes i noticed that yesterday, didn't matter which direction i was heading the depiction was the same.
-
I done that earlier just reimport that fixed mine
-
My stats are ok except for the flights today are not showing, any one else got this or is it just me?
-
Im using postfix, no problems reported else where, all other mail working fine. send from console is OK as well.
-
Yes they both work with phpvms, and as a bonus so does fspassengers and flightkeeper
-
FSACARS will already work if your using phpvms, i would however recommend using XACARS, its free and more stable than FSACARS. That is also enabled in phpvms, you download the .ini files from the pilot center in your profile Hope that helps.
-
Nabeel, Im not using smtp at all, just done the update to the beta and there is was, the only change to the site was the update. Im on a Linode so not sure whats going on there, it isnt the server playing up its maybe a setting in the local config or something. As a foot note the contact page works fine with out any error outputs.
-
Even going back to the default skin and registering i get the same. Its been since smtp server selection has been built in, ill continue playing.
-
Cant duplicate on the dev site and yes its the default tpl. Will have a dig about some more. Thinking on now all i changed with that template was put a link in to my terms and conditions, ill remove and see what happens.
-
Hi Nabeel, on my test and live site when someone registers they get the following message, Invalid address: You must provide at least one recipient email address. Any ideas?
-
And off we go..... We have finally launched jetva.co.uk, After a few weeks of waiting and tweaking and a big thanks to Roger for his skin were now open for business. Come on over and have a look, feedback extremely welcome, we are of course based on easyjet
-
OMG that easy!!! i feel a right idiot now lol.... Thanks Nabeel.
-
Anyone?
-
Nabeel, I use the Forum Register module to register new accounts on my forum and teamspeak server which works great, what i need to handle now is if a pilot is retired ie inactive then their accounts are also closed on the forum, im not too bothered about the ts server but the forum one is a must. Is there a listener for account inactive / retired that i can use to handle this?
-
Does look good Nice recovery lol.....