Support Forum
Any questions or bug reports go here.
7149 topics in this forum
-
- 5 replies
- 1.6k views
I recently switched hosts and now I've found that my briefing page has no CSS. It looks like what you'd get it you replaced index.php with action.php, although I'ev checked the URL and it's definitely index.php. I don't want to post the code and the page is locked for crew only so I can only describe it and hope that someone can offer a suggestion as to why it won't display? I've already tried looking through the code to see if there are any missing tags etc Also, I use tabs for the different parts of my briefing and it only works when I click the first two, the other three do nothing which is why I thought it was due to a missing tag.
Last reply by freshJet, -
- 3 replies
- 1.6k views
quick question. <div class="container"> <div class="row"> <div class="span4"><p>Hello</p></div> <div class="span4"><p>Hello</p></div> <div class="span4"><p>Hello</p></div> </div> </div> The code above is supposed to create 3 divs of span4 in a row, however it does not. Instead I get 3 divs under eachother. The CSS works when I edit the template files directly, but does not work when I create pages using the page creator in the admin system? I though that it could be the cms that is messing with the code so I tried this (http://david-clark.n...content-module/) and it…
Last reply by GlobalOne, -
- 2 replies
- 1.1k views
Any one know how to make a Css Roll Over? And the code to do so?
Last reply by tutmeister, -
- 5 replies
- 1.6k views
In my CSS for my website, the backround is blue and there is a white container thing that is supposed to have all the content in it. It was working then I changed a diferent div and it's not working now, the white is only around the banner. See it at http://www.canforce.org . container #container { margin-left:auto; margin-right:auto; margin-top: 0px; margin-bottom: 0px; width:760px; background-color: #FFF; padding:10px; } Code that I changed. I hadn't changed anything in the tpl, but if I completely delete the stuff inside the div, then the container will work #body { float: left; width: 405px; padding-left: 10px; }
Last reply by Aaron, -
- 3 replies
- 1.4k views
I have downloaded a Css template how do i configure it to work with phpvms?
Last reply by freshJet, -
- 5 replies
- 1.7k views
I want a background to go across my whole header, but there are multiple th's. I noticed there's a thead, is there any way I can make an image in the thead? The height is set right for the image, but the width is gonna be 100% of the width of the header (it will change)
Last reply by Aaron, -
- 4 replies
- 1.4k views
How can I position the text for the boarding pass so that it will stay in place no matter what? I can do it now, but it's a adjusted to my screen size, and on my laaptop it's way off. It's the same story when you open it in a new window. Take a look: http://www.freshjetvirtual.com/index.php/schedules/boardingpass/50 Try opening it in a new window too and you'll see what I mean...
Last reply by James142, -
- 1 reply
- 1k views
Hi, I have create a dropdown menu with CSS3 Menu, and now my question is: How to insert a dropdown menu in my website??? Thanks!
Last reply by TAV1702, -
- 2 replies
- 1.8k views
Hi all, Firstly i would like to apologise if this is in the wrong section! I have a query, my VA has over 300 aircraft and i'm going through a phase of updating certain information within the fleet etc, doing this through the php admin center is painstakingly long, so i was wondering whether it would be possible to add aircraft in a similar way of adding schedule i.e in a .CSV format?
Last reply by JakeWright, -
- 0 replies
- 1.2k views
Hi all, I've a problem in my VA future Sapiens Air Virtual (www.aircacifo.com), the currency it apears like this: You have 50 hours left until your promotion to First-Officer Your Pilot ID: SAV6002 Your Rank: Cadet Total Flights: 0 Total Hours: 0 Total Transfer Hours: 0 Total Money: € 0.00 Don't know what is wrong, so I send my code under. my app.config file code: /* This is the unit of money. For non-dollars, use : Dollars ($), enter "$" Euro (€), enter "€" Yen (�), enter "¥" Pounds (�), enter "£" For example, to set EUROS: Config::Set('MONEY_UNIT', '€'); */ Config::Set('MONEY_UNIT', '€'); /* To change the money format,…
Last reply by bteixeira, -
- 1 follower
- 9 replies
- 2.1k views
Hello, i actually test phpvms before using it for my company. All works well, i've solved several small problems but i have one to change currency from $ to €. I've try all solutions explained in phpvms files and on the forum. I've try the 3 UTF-8 codes for Euro. But nothing change on my site. Solutions i've tried in app.config.php : Config::Set('MONEY_UNIT', '&8364;'); Config::Set('MONEY_UNIT', '€'); Config::Set('MONEY_UNIT', '€'); Config::Set('MONEY_UNIT', "€"); Can someone have an idea to solve this ?
Last reply by orobouros, -
CURRENT FLIGHTS
by Guest chikolol- 3 replies
- 1.4k views
is there anyway to show on the homepage or anywhere on a div, with a php code that there is current amount of flights now and clicking on it will take you to the live map
Last reply by Nabeel, -
- 10 replies
- 2.3k views
On the current flight part of my sidebar, and the live map, more than 2 hours later it still shows a flight me and another guy did, also, it shows one of the flights in both places, at least 10 times in a row of the same thing. Any ideas?
Last reply by TAV1702, -
- 2 replies
- 1.3k views
Hi man, I would like to know if i can set the display time of the flights in the current flights map. Yesterday I made a flight and an hour after landing still saw my flight on the map .... Thanks
Last reply by kenny, -
- 7 replies
- 2.2k views
When I click on Current Flights, or try to create the recent Flights Map, I get the following error: Notice: The template file "/home/xxxxxxxxxxx/public_html//core/templates/acarsmap.php.tpl" doesn't exist in/home/xxxxxxx/public_html/core/classes/TemplateSet.class.php on line 248 Looks like it is trying to call both the .php and the .tpl files at the same time. Any suggestions?
Last reply by Steve Bartlett, -
- 1 follower
- 2 replies
- 1.2k views
Hello all! Having an issue where I'm trying to display a pilots current location based on their last PIREP, however on any page that calls for the location from their last PIREP, it still displays their hub. For example, on my profile page I'm using: <?php $lastreport = PIREPData::GetLastReports($userinfo, 1); if(!$lastreport) { $location = $userinfo->hub; } else { $location = $lastreport->arricao; } ?> <?php $airport_info = OperationsData::GetAirportInfo($location); $airportname = $airport_info->name; ?> <li><strong>Current Location: </strong><?php echo $location; ?> - <?php echo $airportname; ?>…
Last reply by Dyl1103, -
- 3 replies
- 842 views
I see the Metar service has finished with IVAO now does any body know what else i can use as im getting this error now Warning: file_get_contents(http://wx.ivao.aero/metar.php?id=EDDF): failed to open stream: HTTP request failed! HTTP/1.1
Last reply by DisposableHero, -
- 13 replies
- 3.2k views
I want to make a bar at the top of the page with the current flights online. Info I want with it: Dep Airport Arr Airport Status Pilot Name Flight Number phpVMS version 1.2.700 (will be updated in the next coming days) Thanks in advance, Mitchell Williamson Australian Frontier Virtual Airways
Last reply by Nabeel, -
- 1 reply
- 947 views
Is it possible to create a custom 404 page for phpvms?
Last reply by Nabeel, -
- 1 follower
- 5 replies
- 2.1k views
I am creating an acars for our VA and my question is I have created a new module as per API but how do i remove the banner and the pilot info so it returnes a single line ? By example <?php require_once($_SERVER['DOCUMENT_ROOT'] . '/phpvms/core/codon.config.php'); class APV extends CodonModule { public function pageone($fruit='', $orange='') { echo "The fruit is an {$fruit} and the color is {$orange}"; } public function pagetwo() { echo "The fruit is an {$this->get->fruit} and the color is {$this->get->orange}"; } } what i mean that in my browser i need only the fruit is an apple and the color is green without any visuals Thanks
Last reply by Tom, -
- 9 replies
- 3.4k views
Hello, I found this website https://www.mapbox.com for making beautiful map and i did. I add on my acarsmap.php in templates folder. I add this code to top <script src='https://api.mapbox.com/mapbox-gl-js/v0.38.0/mapbox-gl.js'></script> <link href='https://api.mapbox.com/mapbox-gl-js/v0.38.0/mapbox-gl.css' rel='stylesheet' /> and change this script to their script var acars_map_defaults = { autozoom: false, zoom: 3, center: new google.maps.LatLng("<?php echo Config::Get('MAP_CENTER_LAT'); ?>", "<?php echo Config::Get('MAP_CENTER_LNG'); ?>"), mapTypeId: google.maps.MapTypeId. HYBRID, refreshTime: 10000 }; </scr…
Last reply by Lebitek, -
- 3 replies
- 1.9k views
Thats the response I get from the server when filing a pirep using my World ACARS program. wacars.php: /** * wacars.php * World Acars * * Copyright 2010 Mitchell Williamson * * Liscence: * The GNU General Public License (GPL) * Version 2, June 1991 */ class wacars extends CodonModule { /** * Receieves PIREP * index.php/wacars/pirep */ public function pirep() { $pirep_xml = $this->post->pirepxml; $xml = simplexml_load_string($pirep); $aircraft = OperationsData::getAircraftByReg($xml->reg); /** Fill the data array with data from XML */ $pirep_data = array( 'pilotid' => $xml->pilotid, 'flightnum' => $xml-…
Last reply by Nabeel, -
- 4 replies
- 3.4k views
Hi All, I remember reading something about this when Dave created the events module but I just cannot seem to find the reference anymore. I want to create a new phpvms module that the admin part can be managed through the vms admin back-end. Currently the events module can be managed through the backed and its listed under add-ons, I want to have the same ability so that when an update takes place the module is not wiped at all. Is this at all possible?
Last reply by simpilot, -
- 8 replies
- 3.6k views
Hello i was trying to add a custom airport i have added it but seems to be way off the coordinates in the live map i have tried everything if any one can help be greatly appreciated. I though maybe i was inserting them wrong here are the coordinates: N36°02.03' W114°48.05' how would i insert that into the adding custom airport area. Kind Regards Wings Aviation CEO WA101-Allan allan@wingsonair.net http://www.wingsonair.net
Last reply by WA101-ALLAN, -
- 3 replies
- 1.4k views
Hi when a pilot joins and is approved i want to send them a mail with instructions etc in, i have been looking for the tpl but cant seem to find it, every other one apart from the approved tpl, can someone point me in the right direction, Thanks..
Last reply by mark1million, -
- 1 reply
- 1.4k views
Good day all. I have a quick question regarding the custom acars program. Our VA allows for charter flights and we are trying to figure out a way to fly them with acars running. So far all we can fly using our acars is flights that is on the schedule. Does anyone have any suggestions on how we can do this? There has been a thread at our VA in the forums and so far all we can do is manually enter the pirep once we are done the flight. All of us would rather file the flight with acars. Again if anyone got any suggestions, please let me know. Thanks, Slushie23
Last reply by mseiwald, -
- 6 replies
- 2.2k views
Okay, So I use jantorre (thanks!) custom charts database code which is: <h3>Procedures and Information</h3> <table width="98%" align="center"> <tr style="background-color: #333; color: #FFF;"> <td>Charts for <?php echo $schedule->depicao?></td> <td>Charts for <?php echo $schedule->arricao?></td> </tr> <tr align="center"> <td width="50%" valign="top"> <a href="<?php $data = OperationsData::GetAirportInfo($schedule->depicao); echo $data->chartlink; ?>" target="_blank"> …
Last reply by mark1million, -
- 1 reply
- 1.2k views
Does anyone know how I could go about customizing the email notifications from my airline (registration, acceptance, etc.)? I want them to look more professional and unique.
Last reply by flyalaska, -
- 0 replies
- 796 views
The other day one of the pilots in my VA tried to download an item from our Fleet page which ended up resulting in an Error 404 (it was removed from the server) and prior to this we had no "real" Error 404 page. Since then, I have made a new error page within the templates folder and it displays when applicable now. However, whenever that page comes up, it shows the login box in the corner of the screen rather than the user ID of the pilot logged in. As soon you go to a different page, it shows that you're logged in properly. Is there something I need to do to make sure it shows if you're logged in or not? All I did was copy files from other pages and redo code as necessa…
Last reply by JareBearPilot, -
- 12 replies
- 2.6k views
Hi Nabeel, I have created a custom field when registering "vatsimid" i want to pull all that field values in to a plain text web page, i thought the values would have been in the pilots table but the're not, i have had a poke about but any assistance would be appreciated. This is what i want, <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> Just a plain text file with all the CID's
Last reply by mark1million,