phpvms / phpvms_v2 Goto Github PK
View Code? Open in Web Editor NEWVirtual Airline Management (not maintained)
Home Page: http://www.phpvms.net
License: BSD 3-Clause "New" or "Revised" License
Virtual Airline Management (not maintained)
Home Page: http://www.phpvms.net
License: BSD 3-Clause "New" or "Revised" License
Nabeel, Pilots next rank code doesn't seem to be working any more, this is what i have,
<?php
if($nextrank)
{
?>
<td colspan="2"><p align="center"><strong>You have</strong> <?php echo ($nextrank->minhours - $pilot_hours)?> <strong>hours left until your promotion to <?php echo $nextrank->rank?></strong></p></td>
<?php
}
?>
Some templates are using $userinfo, some are $pilotinfo, some are $user........ normalize all of these, which are available in templates and the usage within controllers:
For pilots:
$pilot - The current pilot this template refers to
$pilot_list - A list of pilots
For PIREPs:
$pirep - A single PIREP
$pirep_list - A list of PIREPs
For schedules:
$schedule - A single schedule
$schedule_list - A list of Schedules
And any other variables used have to follow the same naming schema. Loops are changed to something like:
foreach($pirep_list as $pirep)
and
foreach($pilot_list as $pilot)
Etc, to keep them consistent with the single-row templates. Both are depending on context. Profile template (for viewing and the current user) should use $pilot... etc.
The old variables will still work. This is for new people as of 3.0, or those who are starting from scratch. Should reduce confusion...
hello Nabeel as requested
follow this link to the tread
http://forum.phpvms.net/topic/4947-pilot-status-advanced/page__gopid__33092#entry33092
gr joeri
Change the tabs to load via AJAX
So the 0 in front doesn't get truncated...
ditto
Nabeel can you add a link to the site for approving new pireps to the PIREP.data.class.php when a email is sent. core/common/pirepData.class.php LINE 760 (its easier to then accept directly from the link)
http://forum.phpvms.net/topic/4112-acars-map/
Hey Guys,
I have done some searching and couldn't find if anyone else has had this problem
On our ACARS map the "Status" and the "Distance/Time Remaing" information is not displaying correctly. I thought it was working at one time....
It always show the status as "enroute" and the D/TR as "0"
I have went back to the original template and copied it back over to the skins folder to start from scratch, and it still does not work properly. I go to the VA Central page and our info
is correct on their live map, so I know the information being sent is correct, just not on our page.....any suggestions??
Thanks
Build new queries to display for pilots active, inactive and annual leave / holiday.
Going to Pilot Profile in Admin Aera > Pilot List > Pilot PIREP > Editing PIREP > Saving PIREP
It jumps back to "Pending PIREP" page instead of staying under Pilot PIREP Page...
Scotland and Wales dont show up as test edit is needed,
line 79 'SCOTLAND' => 'Scotland',
line 94 'WALES' => 'Wales',
I created a couple of custom PIREP fields, both of which are drop downs as follows:
I decided to edit the accepted (existing) PIREP and entered the missing values of the PIREP, i.e. IVAO and FSX. Then I clicked on the Save Report button and it was "successfully" saved.
Out of curiosity (yes, I am a thorough tester :-) I decided to open up the same PIREP again and verify that it contained the values I had set for the custom fields. Unfortunately the edit form was NOT showing the values I had selected, instead it was showing the first value in the list for each of the custom fields.
I think your template simply renders the values of the drop downs without actually setting the "selected" attribute when the value matches the actual value on the database. Or it could be that it is simply NOT saving it and not reporting the error.
In any case it is a bug which I hope gets fixed in the next release. Love the system BTW.
Hey Nabeel,
This was in my mind...
What if you could add a feature like phpBB that where you can download the database or back up the database and the ability to restore it.
Hope this is clear.
Like say, if the flight dispacther goes to the pilot profile in the admin and goes to assgin flight tabs, and then he can add a flight assignment to the bids.
That would sound awsome to phpVMS.
Alright... I have renamed and added several ranks to my airline however when a new pilot signs up with the airline, they receive "New Hire" as their rank when that rank isn't even a rank! I think it has something 2 do with the default settings on when they are entered into the database for the first time, but im not a expert so. Anyways Thanks!
Add a button in the pilot admin profile to resend the welcome email
the total flight count is way off
For gmail, etc
Did a fresh Beta install to 112 and anytime since that point when a PIREP has been accepted the respective pilot's total hour count resets to 0, however pilot pay and total flights updates correctly.
core/common/Awards_Data.class.php line 30
class AwardsData extends CodonData {
/**
* Get all awards
*
* @return mixed array of objects
*
*/
public static function GetAllAwards() {
$sql = 'SELECT * FROM ' . TABLE_PREFIX . 'awards ORDER BY name ASC';
return DB::get_results($sql);
}
the registration accepted email isn't send from the lib/skins folder i have on in my skin and al went fine until now i had to change the one in the core/templates to be correct
Airports and Schedules pages both show no airports and no schedules.
Ex. 58.54 returns 34:48
This is how time counter for the new rank to achieve interprets hours.
pirep count showing 0 in the maint tab but showing ok in the rest off the site
http://i512.photobucket.com/albums/t329/joeriDGV083/sshot-36.png
Right now it's scattered around or in several different functions - create several streamlined functions which update specific stats in specific conditions, so resources are not wasted when stats are aggregated when not needed
hello Nabel!
in the admin panel the function "view inactive schedules" doesn't work also shows all the active routes.
Allow schedules to be restricted to a certain rank or above it, same as aircraft restrictions
As Nabeel Requested to add into the bug.
What would if you could put a feature like a Account History for per pilots.
Like for Example, you change the pilot's hub from KLGA to KLAS, the log data will be logged to the pilot's profile and it will display like this....
12.21.10
Hub Changed From KLGA to KLAS
VA0001 Kyle S.
And it will show who changed the pilot's hub from the staff and what date. Just like DeltaVA.
I'm kinda feeling it would be little hard but it's a great feature to have though. I'm interested to have that. It helps to keep track to what changes were made to the pilot's account
edit/add airports,add /edit airlines not working look at screens
http://i512.photobucket.com/albums/t329/joeriDGV083/sshot-34.png
http://i512.photobucket.com/albums/t329/joeriDGV083/sshot-35.png
When inputting a schedule, also create the return flight
would there be the abilaty to have something like the skins folder but then for the admin now i need to first delete lots off files from the new beta's.
gr joeri
Since XACARS and other online reporting systems have cargo values reported, could it be possible to insert a new column and give possibility to users doing cargo or mixed flights to report cargo values ?
In my case specifically Simpilot's Event Booking module....my events manager can modify events but can't create them
pilot pay not showing
http://i512.photobucket.com/albums/t329/joeriDGV083/sshot-37.png
I have modded the PIREPData.class.php to show the landing rate in the email as i have a maximum, could you add it to the general release please.
Line 761
."Landing Rate: {$pirepdata['landingrate']}\n\n"
Instead of:
SEC_TO_TIME(SUM(TIME_TO_SEC(*)))
Use:
SUM(TIME_TO_SEC(*))
Then convert the time to HH:MM:SS in PHP. Convertions needed for: PilotStats, StatsData
Have the ability to bump a previous news item to the top of the page without reposting.
edit button dissapeared on the pilot group section all are now This group cannot be renamed or deleted
It's a problem
when adding a pilot to a sertain group the admin will go stylles
http://i512.photobucket.com/albums/t329/joeriDGV083/sshot-38.png
When filing a pirep using anything BUT KACARS from as far as I can tell, records the wrong flight type. The pireps are filed as passenger flights and not cargo. I have not tried with a charter flight yet.
The pilot pay and ticket price are charged correct for the pirep. The only thing I can find effected is the flight type. If fixed in the database, the stats adjust accordingly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.