Jump to content

FlyingMachine

Members
  • Posts

    160
  • Joined

  • Last visited

Everything posted by FlyingMachine

  1. Hi all, I hope you are ok, is there any module to show documents pdf or make a library inside phpvms for pdf files like SOPs and Handbooks ? Yours,
  2. Thank you web541. Works perfect! Yours,
  3. Dears, I have the code of custom field on Pilot list page, works perfect, i would like to show the same filed on pending pireps, next to full name check my code. The problem is in that template forache requests : foreach($pireps as $pirep) i would like to add pilots as pilot here. To display the custom filed. Yours,
  4. Hi all, I am trying to show cutom filed in Pending PIREPS, using the following code, any help in foreach code ? I got one issue where to put this and correct way to add it : <?php foreach($pilot_list as $pilot) { ?> <?php } ?> Because in pending PIREPs i call for : foreach ( pireps as pirep ! Thank you <tbody> <?php foreach($pireps as $pirep) { if($pirep->accepted == PIREP_PENDING) $td_class = 'pending'; else $td_class = ''; $error = false; ?> <tr class="<?php echo $class?> pirep_list" id="row<?php echo $pirep->pirepid;?>"> <td align="center" valign="top" nowrap="nowrap" style="width: 27px;" class="<?php echo $td_class;?>"> <img height="25px" width="25px" src="<?php echo PilotData::GetPilotAvatar($pirep->pilotid);?>" align="left" /> </td> <td align="left" valign="top" nowrap class="<?php echo $td_class;?>"> <strong><a href="<?php echo SITE_URL?>/admin/index.php/pilotadmin/viewpilots?action=viewoptions&pilotid=<?php echo $pirep->pilotid;?>"> <?php echo PilotData::GetPilotCode($pirep->pcode, $pirep->pilotid) . ' - ' .$pirep->firstname .' ' . $pirep->lastname;?></a> <!-- Here i would like to show VATSIM or IVAO ID using the following code --> l <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM CID or IVAO VID'); ?> </strong> <strong>Flight:</strong> <?php echo $pirep->code . $pirep->flightnum; ?></div> <strong>Dep/Arr: </strong><?php echo $pirep->depicao; ?>/<?php echo $pirep->arricao; ?> <strong>Flight Time: </strong><?php echo $pirep->flighttime; ?> <br /> <strong>Submit Date: </strong><?php echo date(DATE_FORMAT, $pirep->submitdate); ?> <strong>Current Status: </strong> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM CID or IVAO VID');?> <?php if($pirep->accepted == PIREP_ACCEPTED) echo 'Accepted'; elseif($pirep->accepted == PIREP_REJECTED) echo 'Rejected'; elseif($pirep->accepted == PIREP_PENDING) echo 'Approval Pending'; ?> <?php # If there was an error, don't allow the PIREP to go through if($pirep->aircraft == '') { $error = true; } ?> <table width="100%" style="border: none;">
  5. Thank you ProAvia, i will try that. Yours,
  6. Dear @Nabeel I tried to set 1234567 in the db, but when exporting the schedules, i do not have (Sunday 7) Any suggestions !
  7. Hello sir, i do use Realbooking system. Yours,
  8. Hi all, I am using a module of CrazyCreatives, however couple of months ago, there is no support anymore, I would like to know if you can help to fix an issue with Event center. The event center closes event at 00 Midnight of the day of the event, ex: if my event starts today at 14:00z, normally in the same day people still can book and see the event as upcoming event before 14:00z. However, the module recognize the event as past event early morning at 00:00 of the same day before the event starts yet. Thank you in advance,
  9. Thank you ProAvia and Leonardl. What i meant something totally different example: i am a pilot KLM100 if already i have a booking, when ever i try to book a 2nd flight, the website redirects me to the bid i have already booked. It does not allow me to book 2nd booking. I would like to allow pilots to book more than 1 flight at once. the same pilot can book many flights without restrictions. thank you,
  10. Hi all, Currently when i have already 1 bid in my bids, i cannot to proceed to make 2nd booking, is there any option to allow 2 booking or more ? Yours,
  11. Dear all, I have the following code show the flights, i would like to change to something better. Like google or something more beautiful if available. <div><img src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=wls2&MR=60&MX=700x330&PM=b:ringb4:red&PC=%23ffa500"/></div>
  12. Thank you Servetas, It worked perfect. Yours,
  13. Hi all, After updating the navdata on PHPVMs Version 5.5.2.72 the navdata table keeps updating every 2-3 seconds causing the mysql server to load very slow, therefore website is running very low. How to reduce sending those info ? Thank you
  14. Hi all, I've just installed phpvms 7.0, the installation process went well, I am now trying to import the data from phpvms 5 simpilot. The import process starts and I get some data into my new database, but the pireps are missing: [2020-04-12T05:19:40.428021+00:00] prod.INFO: --- PIREP IMPORT --- [] [] [2020-04-12T05:19:40.436016+00:00] prod.INFO: Found 15724 rows in pireps [] [] [2020-04-12T05:19:40.436576+00:00] prod.INFO: Imported 0 pireps [] [] [2020-04-12T05:19:40.436823+00:00] prod.INFO: Using DSN: mysql:host=localhost;port=;dbname=mydbnamexxxx [] [] [2020-04-12T05:19:40.436923+00:00] prod.INFO: --- PIREP IMPORT --- [] [] [2020-04-12T05:19:40.443979+00:00] prod.INFO: Found 15724 rows in pireps [] [] [2020-04-12T05:19:40.444461+00:00] prod.INFO: Imported 0 pireps [] [] [2020-04-12T05:19:40.444681+00:00] prod.INFO: Using DSN: mysql:host=localhost;port=;dbname=mydbnamexxxx [] [] [2020-04-12T05:19:40.444774+00:00] prod.INFO: --- PIREP IMPORT --- [] [] [2020-04-12T05:19:40.452084+00:00] prod.INFO: Found 15724 rows in pireps [] [] [2020-04-12T05:19:40.452532+00:00] prod.INFO: Imported 0 pireps [] [] [2020-04-12T05:19:40.452761+00:00] prod.INFO: Using DSN: mysql:host=localhost;port=;dbname=mydbnamexxxx [] [] [2020-04-12T05:19:40.452869+00:00] prod.INFO: --- PIREP IMPORT --- [] [] [2020-04-12T05:19:40.460096+00:00] prod.INFO: Found 15724 rows in pireps [] [] [2020-04-12T05:19:40.460420+00:00] prod.INFO: Imported 0 pireps [] [] [2020-04-12T05:19:40.460658+00:00] prod.INFO: Using DSN: mysql:host=localhost;port=;dbname=mydbnamexxxx [] [] [2020-04-12T05:19:40.460748+00:00] prod.INFO: --- PIREP IMPORT --- [] [] [2020-04-12T05:19:40.467972+00:00] prod.INFO: Found 15724 rows in pireps [] [] [2020-04-12T05:19:40.468188+00:00] prod.INFO: Imported 0 pireps [] [] [2020-04-12T05:19:40.468409+00:00] prod.INFO: Using DSN: mysql:host=localhost;port=;dbname=mydbnamexxxx [] [] [2020-04-12T05:19:40.468504+00:00] prod.INFO: --- RECALCULATING USER STATS --- [] [] [2020-04-12T05:19:40.508306+00:00] prod.INFO: User RAM0001 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] [2020-04-12T05:19:40.519813+00:00] prod.INFO: User RAM0002 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] [2020-04-12T05:19:40.540115+00:00] prod.INFO: User RAM0004 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] [2020-04-12T05:19:40.552260+00:00] prod.INFO: User RAM0005 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] [2020-04-12T05:19:40.572913+00:00] prod.INFO: User RAM0007 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] [2020-04-12T05:19:40.591792+00:00] prod.INFO: User RAM0008 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] [2020-04-12T05:19:40.611283+00:00] prod.INFO: User RAM0010 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] [2020-04-12T05:19:40.645049+00:00] prod.INFO: User RAM0011 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] [2020-04-12T05:19:40.656523+00:00] prod.INFO: User RAM0012 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] [2020-04-12T05:19:40.683673+00:00] prod.INFO: User RAM0013 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] [2020-04-12T05:19:40.698594+00:00] prod.INFO: User RAM0014 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] [2020-04-12T05:19:40.728909+00:00] prod.INFO: User RAM0015 updated; pirep count=0, rank=myRank HQ Staff, flight_time=0 minutes [] [] The output is not complete, because it's too long, the prod.info found 15724 rows in pireps, but nothing imported anyway! Any suggestions ?
  15. Hi all, i am running the phpvms simpilot 5.5.2 i would like to upgrade to version 7, but it's been a while that i was checking the the wiki of phpvms here : http://docs.phpvms.net/setup/upgrading So far nothing yet released any tuto ? i am still running version oh php 5.6.40 which alread outdated, even tried 7.1 doesn't work. Yours,
  16. Only in domain.com/index.php other pages like domain.com/index.php/xxx or domain.com/index.php/yyy works perfect
  17. Hey Servetas i hope you're doing well so far, my provider i guess just changed something with php 5.6.30 i have many php versions to select but i didn't change anything with that, the critical error arises suddenly without any intervene. yours,
  18. Dear sirs, I am running a phpvms simpilot 5.5.2 version, months ago, with php v 5.6.30 everything normal, but now my provider hosing i guess made an update in that php version, the index.php always hows error " This page isn’t working xxxxxxxxxxxxxxx.com is currently unable to handle this request. HTTP ERROR 500 " But if i proceed to index.php/login it works perfectly also all functions except when visiting domain.com/index.php Any ideas ? Yours,
  19. Hi Nabeel, I got phpvms Version simpilot 5.5.2 This changes can work on that version mentioned above ? Thanks,
  20. Thank you dear George, You're the one who knows every pieces in my virtual Worked perfectly. Yours,
×
×
  • Create New...