Jump to content

mark1million

Moderators
  • Posts

    2283
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. Just added that to my site, with a bit of modding Thanks for the addition.
  2. 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>
  3. 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
  4. 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?
  5. Just ran that and no errors what so ever, still stayed as 0
  6. 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 />
  7. 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)); } ?>
  8. 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?
  9. 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.
  10. Yes i noticed that yesterday, didn't matter which direction i was heading the depiction was the same.
  11. I done that earlier just reimport that fixed mine
  12. My stats are ok except for the flights today are not showing, any one else got this or is it just me?
  13. Im using postfix, no problems reported else where, all other mail working fine. send from console is OK as well.
  14. Yes they both work with phpvms, and as a bonus so does fspassengers and flightkeeper
  15. 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.
  16. 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.
  17. 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.
  18. 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.
  19. 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?
  20. 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
  21. OMG that easy!!! i feel a right idiot now lol.... Thanks Nabeel.
  22. 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?
  23. Does look good Nice recovery lol.....
  24. PHPbb3 is OK and more secure than smf, with regular development as well. IP is the most secure but you get what you pay for. I run lots of phpbb3 boards and no security problems to date.....
×
×
  • Create New...