
Kishshey
Members-
Posts
81 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Kishshey
-
Yeah my configuration is the same. Please do send the files, if it's not too much to ask
-
Will that still work though?
-
Alright, great. Btw when I use that to call the Join date, it also shows the time. and if I change the code to <?php echo date(DATE_FORMAT, $pilot->joindate) ;?> It shows me 31/12/1969. (I'm sorry I am not good with php)
-
Hello, I noticed there is an option to set jumpseat costs in my app.config.php/local.config.php after updating to simpilot's version. My question is simple; How can I add a jumpseat purchase form in to a page(let's say jumpseat.php) ?
-
Thank you very much. Is there a complete db call sheet, other than this one http://pastebin.com/ERuvPcmV
-
Hi, does anyone know how to display the Date Joined, and Last Landed location of someone on their profile?
-
Hi, Nan means Not a Number. Do not include the "%" inside the progress bar count. And as Simpilot mentioned, that code should do the job for you
-
Simple math, If your goal is let's say 1000(given that its higher than the number of schedules you have), "(<?php echo StatsData::TotalSchedules(); ?>/1000)*100%" the formula format depends on the framework you use for charts
-
What exactly you want the progress bar to show? In addition, for live pilots, you can divide the online pilots by total pilots and show a percentage of which out of all the pilots, how many are flying right now. But the number of schedules you have has nothing to be shown in a progress bar, or in that case as a percentage. That's not a variable
-
Greetings, I recently updated my phpvms to simpilots version. Prior to this update, my site used to update instantly. For example, whenever someone's PIREP was approved, they could instantly see the Hours being added to the profile, or the Pilot Roster page. But now it does not update in that manner. And no, I am not running CRON.
-
Same Problem after upgrading
-
Great, thanks. I was planning to upgrade, must run a complete backup first, and I assume my custom theme needs to be updated as well?
-
Hello, My registration page shows the old(red) version of reCAPTCHA. How do i switch to the latest one? Thanks
-
First one is, however I'm still trying if second one is possible
-
Hello, I have 2 genral quesrions regarding this 1. How do I edit the IDs of individual pilots So I can give the first IDs for my staff // Found it in the Admin Panel [EDIT] 2. I have seen some airlines has custom Pilot ID Structure where each Hub starts with a different number. How to achieve that? Thanks
-
How do I safely upgrade to SimPilot's version?
-
SOLVED For those who are looking for the answer : Replace CondonRewrite.class.php in Core/Classes with this : https://github.com/DavidJClark/phpvms_5.5.x/blob/master/core/classes/CodonRewrite.class.php And add .htaccess file containing the following to the root folder # main page of the site DirectoryIndex index.php # prevent viewing of a specific file <FilesMatch "\.(htaccess|htpasswd|ini|phps|fla|psd|log|sh|tpl)$"> Order Allow,Deny Deny from all </FilesMatch> # prevent viewing of index Options +FollowSymLinks Options All -Indexes #Can give without index.php for the modules RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L]
-
Hi, This rewrites my hyperlinks, but when I go to a link (example : http://myva.com/profile) It shows the correct URL on the address bar but still loads the Homepage on every url
-
yes, thanks that is exactly what i was looking for. But reading through that, i could not find what to add on .htaccess Can you help me with that. Thanks
-
Hello, Is there a possible way to clean up the url structure of my PHPVMS site. Example : http://myva.com/index.php/profile --->>> http://myva.com/profile http://myva.com/action.php/Ops/map --->>> http://myva.com/Ops/Map Thanks
-
Is there any place to get some routes to give the VA a kick start for the testing phase? Thanks
-
in the /core/ folder you will find a file called App.config.php Open it and look for the following (usually around line 110) # ACARS options # Minutes, flights to show on the ACARS # Default is 720 minutes (12 hours) Config::Set('ACARS_LIVE_TIME', 720); Config::Set('ACARS_DEBUG', false); And change the ACARS_LIVE_TIME value to something like 5. I hope this helped. Regards, Kishshey http://skylinefsx.com
-
Include ACARS/Live Flight data in a separate page
Kishshey replied to Kishshey's topic in Support Forum
done that already, no luck, so far i noticed the acarsmap.tpl page uses js to create the body of the table, i tried the same thing I added this to my ACARS.php public function live() { $this->title = 'Live Map'; $this->set('acarsdata', ACARSData::GetACARSData()); $this->render('live.tpl'); And included this table in live.tpl, just like it is in the acarsmap.tpl for testing <table border = "0" class="table table-striped" width="100%" class="acarsmap"> <thead> <tr> <td><b>Pilot</b></td> <td><b>Flight Number</b></td> <td><b>Departure</b></td> <td><b>Arrival</b></td> <td><b>Status</b></td> <td><b>Altitude</b></td> <td><b>Speed</b></td> <td><b>Distance/Time Remain</b></td> </tr> </thead> <tbody id="pilotlist"></tbody> </table> <script type="text/javascript" src="<?php echo fileurl('/lib/js/acarsmap.js');?>"></script> <script type="text/html" id="acars_map_row"> <tr class="<%=flight.trclass%>"> <td><a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a></td> <td><%=flight.flightnum%></td> <td><%=flight.depicao%></td> <td><%=flight.arricao%></td> <td><%=flight.phasedetail%></td> <td><%=flight.alt%></td> <td><%=flight.gs%></td> <td><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%></td> </tr> </script> I'm sorry if i sound like a noob, I really am not good at this =D -
Include ACARS/Live Flight data in a separate page
Kishshey replied to Kishshey's topic in Support Forum
What I'm trying to say is I want the Live Flights data table, on a separate page, not on acarsmap.tpl, lets say live.tpl