-
Posts
2773 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by simpilot
-
I will look at updating the module for that fucntionality
-
REALScheduleLite beta 1.0 [DEPRECATED]
simpilot replied to simpilot's topic in Simpilot Group Addons
All code in hosted at github, the link is in my signature. -
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
-
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.
-
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.
-
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"
-
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.
-
There is a function buried in the PilotData.class.php file almost at the end; generateSignature
-
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.
-
Are your PIREPS and such showing up and nothing on the map, or is just the map not showing your flights?
-
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>
-
I am pretty sure you should be using "localhost" for your sql server address on FiveDev
-
Joeri's prices are reasonable and he delivers ontime, which in itself can be priceless.
-
@MrAmsterdam - I have an update for the flightboard letters, send me an email and I will get the files to you.
-
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.
-
Are you putting the entries in the correct places in the form and also adding the http:// to the entry?
-
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.
-
@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.
-
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.
-
nope, I was more making a note ot myself to research the "why" for this one.
-
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)
-
That is odd, we probably should look back through the code and see where and why that is happening.
-
@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)
-
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....
-
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 -->