-
Posts
120 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Artjom
-
-
-
Have paid the same host for the past 5 years, its working now that you corrected the code.
Thanks very much!
no problem!
-
Guys, I think I have figured out what you are trying to do. I have created a module that creates a "status" image depending on the pilots current flight status. It is similar to the vatsim indicators function except it is tied to the phpvms system.
What I have done,
Get all pilots and check to see if there is acars data available
if there is acars data available check and see if it is more than 10 minutes old
if it is current create a "online" status indicator image with the pilot name, id , flight, and phase detail from acars
if it is more than 10 min old create a "offline" status indicator image with the pilot name, id , flight, and phase detail (should be Arrived) from acars
In the case there is no acars data look for the last pirep
if there is a pirep use the newest one to create a "offline" status indicator image with the pilot name, id , last flight, and the date it was filed as "Last Seen"
if there are no PIREPS filed for the pilot create a "offline" image showing the pilot name and pid and the text "No Flights Filed"
This is all seperate from the signature badges. Is this what you are thinking. This is what I get....
Hello simpilot!
yes this is it!
can you give us your script?
-
I've created a output Phasedetail!
here is the code
<?php     $acars = ACARSData::get_flight_by_pilot($userinfo->pilotid); ?> <?php echo $acars->phasedetail; ?>
It works perfect!
I needed the dynamic signature I've create this code:
if($status->old <> $status->new) { pilotdata::regeneratesiggy($pilot->id);}
Output working perfect in signature, but regenarating doesn't work...
here is a status (Test): http://live-mix.ath....ures/KNI001.png   (at the left bottom)
-
This is a good idia!
At the time I'm make output to signature (Phase Status)Â
And I've a question how can I maka a dynamic signature? i need the code for these.
-
Hello all,
I have an a problem with installation on a paid hosting! There is a WINDOWS HOSTING!!!
This is a site: http://www.kdavia.st...all/install.php
I getting this error: PHP Warning: fopen(E:\WorkWeb\kdaa\Web\core//local.config.php) [function.fopen]: failed to open stream: Permission denied in E:\WorkWeb\kdaa\Web\install\Installer.class.php on line 56
what can i do?
Regards
Artjom
PS. CHMOD rights are writtable, that's tell me Hosting provider.
-
Hello, Nabeel
I've problem wit Gross Revenue,...
I make a flight yesterday, look the report http://kdavia.net.ru/index.php/pireps/viewreport/1
who is a mistake?
-
Just curious, can you post the code I used and the code you used?
I am sure I copied and pasted correctly!
at the first post I've send a corrected PilotData.class.phpÂ
-
Thank you.
No problem!
Regards
Artjom
-
I am using fivedev hosting and it still isnt working.
Corrected code for you!
-
if you using free hosting, generating a signature is not working correctly, so we recommend that you use a paid hosting!
-
Go to
/admin Â
Site & Settings, Maintenance Options
than here click on "Clear Cache"
-
a conclusion in the two tables, first table of Boeing 737 and the second table all Airbus
how can I create this?
First Table is (list of all Boeing aircraft's)
Boeing B737-300
EI-CHH, total flight time 00:12:50.Â
Located at the airport Cologne Bonn (EDDK).
Second Table is (list of all Airbus aircraft's)
Airbus A319-100
VP-BBG, total flight time 01:20:15.Â
Located at the airport Munich (EDDM).
please help!!
I've created this code but, this code show all  aircraft's in list, but i needet 2 tabeles!Â
<?php foreach ($fleet as $aircraft) { ?> Â <?php $airbus = explode("EI", $aircraft->registration); echo $airbus[0];?>, Â total flight time <?php echo $aircraft->totaltime; ?>.<br> Â Located at the airport<?php $params = (array('a.registration'=>$aircraft->registration, 'p.accepted'=>PIREP_ACCEPTED)); $pirep = PIREPData::findPIREPS($params); $current_location = $pirep[0]->arricao; $current_location2 = $pirep[0]->arrname; Â Â Â Â Â Â Â Â { Â Â Â Â Â Â Â Â Â Â Â Â echo ''.$current_location2.' ('.$current_location.')'; Â Â Â Â Â Â } ?>.<br><br> <?php } ?>
-
I've no problems with 940 !! Thanks Nabeel
-
Sorry for duble! please deletethis TopicÂ
-
Hello all,
who can I change background color to my color, don't white!
Thanks!
-
 Thanks for SMFRegister !
Â
- 1
-
Oh. A debug log would have helped me track it down
I've installed the last BETA 940 all works perfect! but when I import schedules doesnt work,,,,,,, when I give all schedules self that works perfect!!!!
-
Follow 'get debug info' link my signature, and then send me the /core/logs folder, zip it and then PM me for my email
I've deleted the BETA and INSTALL 2.1 full!
-
There are some problems with the beta
ohh.. isn't good...
-
Hello all,
I've make a flight KD717 fom UMKK to LFPG on the new phpVMS 2.1.939, but I've problem's with Gross Revenue, Fuel Coast. The price is 0 why???
here you can look there http://kdavia.net.ru/index.php/pireps/viewreport/1
I make this flight with kACARS.
Please Help me with those problem!
Thank you!
PS.
the pilot have Total Money: $ 0.00 whyy???
-
Thanks Jeff! kACARS is a best for a phpVMS!
Regards,
Artjom
-
OR you can read here about all futures http://forum.phpvms.net/page/index.html?record=5
- 1
-
when cache files were deleted, it will show me this erorr
index.php/finances
Warning: file_put_contents(C:\Program Files (x86)\VertrigoServ\www\938\core\cache/phpvms_months_since_2010-05-26 00:53:17.cache) [function.file-put-contents]: failed to open stream: Invalid argument in C:\Program Files (x86)\VertrigoServ\www\938\core\classes\CodonCache.class.php on line 210
Rev 941 - VMS-325 #close fixed, PIREP file fixed, import bug and KACARS update
in Build Log
Posted
XACARS doen't work, you must to use kACARS!!!