Jump to content

simpilot

Administrators
  • Posts

    2773
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by simpilot

  1. I will look at updating the module for that fucntionality
  2. All code in hosted at github, the link is in my signature.
  3. You need to set the time zone for your server in a php.ini file or you can add date_default_timezone_set('America/Los_Angeles'); to your local config. You can find the available time zones in php here -> http://php.net/manual/en/timezones.php You can change the date format for phpvms globaly in the local config file, I am not sure if I used the phpvms default date format in this addon or not, if not you will have to change it inthe template files. You can find the mages here -> https://github.com/DavidJClark/phpVMS-AirMail/tree/master/core/modules/Mail/assets
  4. I am not sure exactly what you are asking. I think you are trying to order the mail items in the inbox from newest to oldest instead of the other way around. If I am right, open /core/common/MailData.class.php and find line 21 ORDER BY date ASC"; and change it to ORDER BY date DESC"; Save the file and it should now order the mail from newest to oldest.
  5. What version are you running? I have run into the same issue with the latest beta. I am looking for the cause, When a pirep is accepted for a pilot the system recalculates the hours and pireps for that pilot correctly, it just seems to be within the maintenance functions somewhere.
  6. The error is almost always caused by introducing white space or characters into a core php file prior to the opening php tag or after the closing tag. Take a look at any of the core files that you have edited and look for white space or a random character in these locations. The error is reporting that it is in Result.php but that may not be correct as the error will carry through a few files before it is displayed sometimes. There are also a number of threads in the forum from previous posters that have had the same problem if you search "Cannot modify header information"
  7. It looks like the system is getting your data as there are PIREPS recorded today and I also see what is left of a live flight for "UFC345 Brent Lowe" towards the bottom of the list under the map. It must be something on the VACentral side I am guessing. Also moving the thread to the VaCentral forum.
  8. There is a function buried in the PilotData.class.php file almost at the end; generateSignature
  9. Drop me an email Joeri, I just intergrated a wordpress install with phpVMS. The backends are seperate but I adapted the phpVMS template I made for them to the wordpress template and you can not really tell that it is two different sites.
  10. Are your PIREPS and such showing up and nothing on the map, or is just the map not showing your flights?
  11. It is within the acarsmap.tpl file <?php /* This is the template for the little map bubble which pops up when you click on a flight Same principle as above, keep the <%=...%> tags intact. The same variables are available to use here as are available above. */ ?> <script type="text/html" id="acars_map_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a><br /> <strong>Flight <%=flight.flightnum%></strong> (<%=flight.depicao%> to <%=flight.arricao%>)<br /> <strong>Status: </strong><%=flight.phasedetail%><br /> <strong>Dist/Time Remain: </strong><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%><br /> </span> </script>
  12. I am pretty sure you should be using "localhost" for your sql server address on FiveDev
  13. Joeri's prices are reasonable and he delivers ontime, which in itself can be priceless.
  14. @MrAmsterdam - I have an update for the flightboard letters, send me an email and I will get the files to you.
  15. I just pushed an update to github. There was an error in the variable order in admin/modules/credits.php when saving a new credit. The only changes to the module were in that file.
  16. Are you putting the entries in the correct places in the form and also adding the http:// to the entry?
  17. That is something that can be integrated into the next version. Right now there is nothing to hook into the user list and start an airmail from there. Great idea though.
  18. @DAL3 Seeing as you started this thread a month ago and you seem to be more intent on bashing than actually trying to find what you are looking for I am going to lock the thread. If your member list is correct you have a self proclaimed ACARS developer within the airline anyway, which leads me to believe even more that you are here only to try and bring down an existing application. May the future bring you success with your VA.
  19. Credits 1.0 phpVMS module to create a credits and partners page for your phpVMS based virtual airline. Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License Developed by: simpilot - David Clark www.simpilotgroup.com www.david-clark.net Developed on: phpVMS v2.1.934-158 php 5.3.4 mysql 5.0.7 apache 2.2.17 Install Using Simpilotgroup Plugin Manager -Download the package -Upload the package to your site using the plugin manager -Use the auto-install from the plugin manager Install Manually: -Download the package. -Unzip the package and place the files as structured in your root phpVMS install. -Use the credits.sql file to create the tables needed in your sql database using phpmyadmin or similar. -Create a link on your site to access the credits page. <a href="<?php echo url('/credits'); ?>">Credits</a> You can add anyone you would like to credit for helping or being part of your site in the admin panel under Addons->Credits and also add partners suchs as VATSIM and IVAO. The listings will be in alphabetical order on your credits page on your site. Code hosted on github - link in signature.
  20. nope, I was more making a note ot myself to research the "why" for this one.
  21. I just tried this in a test install with a couple of adjustments and it seems to work correctly for me and returns an array of data function function favorite_dep($pilotid) { $query = "SELECT depicao ,COUNT(depicao) AS total FROM ".TABLE_PREFIX."pireps WHERE pilotid = '$pilotid' GROUP BY depicao ORDER BY total DESC"; $total = DB::get_results($query); return $total; } Returned array array 0 => object(stdClass)[57] public 'depicao' => string 'CYEG' (length=4) public 'total' => string '6' (length=1) 1 => object(stdClass)[58] public 'depicao' => string 'CYYZ' (length=4) public 'total' => string '3' (length=1) 2 => object(stdClass)[54] public 'depicao' => string 'CYYC' (length=4) public 'total' => string '3' (length=1) 3 => object(stdClass)[53] public 'depicao' => string 'CYQT' (length=4) public 'total' => string '1' (length=1) 4 => object(stdClass)[52] public 'depicao' => string 'CYHZ' (length=4) public 'total' => string '1' (length=1) 5 => object(stdClass)[51] public 'depicao' => string 'PHOG' (length=4) public 'total' => string '1' (length=1) 6 => object(stdClass)[50] public 'depicao' => string 'CYMM' (length=4) public 'total' => string '1' (length=1) 7 => object(stdClass)[49] public 'depicao' => string 'CYQR' (length=4) public 'total' => string '1' (length=1)
  22. That is odd, we probably should look back through the code and see where and why that is happening.
  23. @jon, the building, extending, or overall use of the news function is not an issue with me. If you look back through old threads about it in this forum you will see I have been asked to move the link, remove the link, and to extend the module, all without issue. I actually think SimpleNews is a rather nice extension to the phpvms system, I may even use it in the future, and after all it is governed by a visualidiot license so even I should be able to handle that. The point I am trying to make, which it seems I have not been able to convey, is that when Tom has issue with what he referred to as "vague snipes" from me, (which were not in the open forum) he should follow his own direction. It is also amusing to me that he would put claim to not wanting copyright or links on anyone's site, why put one in his own work? This all stems from another post in the forum in which I reminded a user about the license for the PopUpNews module, but if you notice I did not say a word until they themselves made an open complaint of their own work being used without permission or attribution. The work I do around phpVMS has been more of a hobby than anything, and yes, I do make a few extra dollars here and there that gives my kids the little extras they want. I have contributed to the core coding of the system, released many free modules, helped more users than I can remember, and donated to Nabeel to help pay for his server costs, for the most part free of charge and asking nothing in return. It just frustrates me that after being here for a few years why people find it necessary to try and find it necesarry to degrade both phpvms and my own work. A link back does help developers in their real world work, one of my latest projects has been for the real world Piedmont Airlines building a health and wellness tracking system (pdthealth.com) for which the connection came to me directly from the networking and attribution from my work here at phpVMS. I also find it frustrating when users here on the forum find the constant need to put anyone and everyone down about anything they can, trying to be part of the solution instead of extending the problem will take everyone much further in life. Every developer, if they are a hobbyist, student, or professional deserves at least a little respect. If you disagree with something, explain why, don't automatically make it wrong just because you feel differently. Unfortunately the open access to the web makes everyone a developer. If you go through the paid services forum you will find the vast majority of "professional developer" sites have either disappeared, restarted numerous times claiming "issues", or have complaints against them of taking money and not returning a product or service. I will apologize to Tom for this topic getting to where it is at this point, if you would like to start another one I will rename, deprecate, and lock this one if you so request. (Once again doing my best to be fair to everyone)
  24. Maybe I mis-spoke - I am meaning your phpvms site templates - one example here -> http://vdalairlines.com/ - bottom right, nice integration of popupnews by the way....
  25. funny how this is on the bottom of the html of all your templates - guess it is ok for all of them to have copyrights all over them, Design by <a href="http://www.tomsterritt.com/phpvms" target="_blank">Tom Sterritt</a></div><!-- Linkback required by license -->
×
×
  • Create New...