-
Posts
217 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by HighFlyerPL185
-
Nope. Does not display anything. Any other suggestions?
-
Hi, I'm sure it was asked before, but I'd like to make it in a different form. How do I display a country flag onto a departure/arrival airport? Basically, I'm getting a list of departures from the database, and listing them one by one. Inside my foreach I have: foreach($deps as $departure) { $dep_airport = OperationsData::getAirportinfo($departure->depicao); ?> <tr> <td width="10%"><?php echo $departure->depicao; ?></td> <td width="10%"><img src="<?php echo Countries::getCountryImage($dep_airport->location); ?>" /></td> <td width="60%"><?php echo $dep_airport->name; ?></td> <td width="20%"><?php echo $departure->total; ?></td> </tr> If you look at row 2, I'm trying to generate an image for the country that the airport is in. Example: if Dublin, display Irish flag etc. I've tried depicao too beside location but it doesn't work. Any ideas? I think I have a vague idea of what it's doing, it's basically getting a full name of the country, but we'd like it only to be two chars for the file name, i.e GB etc.
-
You have to email them and ask them to unlock open_basedir restriction for you. It could however be one of the files causing the error, don't know how, but I had the error, and one plugin was partly missing, I reinstalled it and the message has disappeared.
-
Hi, Quick question, I have noticed that there is an issue with total flight times on pilot profiles, and I'm not sure how to fix it, or if it's even an issue. It might be me just miscalculating something. Let me give you an example. I have logged three flights on my profile. My total flight time shows as 3.25. Now to take the times of the three flights, these are 00:38, 01:14, 01:33, which works out after adding as 205 minutes / 60 = 3.41 hours. Is there a hidden trick I've missed or maybe some kind of an issue with my settings? I wouldn't like to leave it like that, I imagine it could cause potentially some issues later on.
-
Is there any quick way to doing this, does anyone know? Replacing 360 images in Photoshop, and trying to align them as they should be is an extremely tedious process. Maybe some kind of a 360x image generator or something along those lines is available?
-
Thank you. I guess it was getting late... :L
-
Hi, I am wondering how I can display a list of hubs that are present in the system? Probably, it's very simple, yet I can't find any clues on as to how the hubs are displayed.
-
I'm trying to display a modal box when a pilot receives a new message, however I can't get it to work, so that the button links to the unread mail message and resets the $items variable to zero, so the modal disappears. Here's the form code... <form name="loginform"> <p>You have new unread mail in your inbox. Press 'Mail' button to access your inbox.</p> <input type="hidden" name="redir" value="" /> <input type="hidden" name="action" value="mail" /> <input type="submit" name="submit" value="Mail" onclick="<?php echo url('/Mail/item/'.$mail->thread_id.'');?>" /> </form>
-
I wouldn't like for anyone to register manually when entering the forums, therefore I have disabled the forum registration, however I'm wondering whether SMFRegister will be still able to register users when they register to the site?
-
Hi, I was wondering what are the consequences of removing schedules? Are the PIREPs in any way affected as a result?
-
Sorry to bother you, but have you got any update on this?
-
I'm not sure what's wrong, but on certain schedules with this plugin, the template breaks. I have however noticed a pattern, and it seems to happen on schedules in which airports have no NOTAMs. In this case, Esbjerg has no NOTAMs to display. Any ideas how this can be fixed? EDIT:// Apologies for asking, got it sorted. If anyone has trouble with this in the future, here's how you solve it. Replace the die() function which apparently kills off the page, with an echo, followed by a return, which will terminate our given target. Replace this in notamarr.tpl and notamdep.tpl: if (!isset($xml->channel->item)) { die("Keine Items vorhanden"); } with... if (!isset($xml->channel->item)) { $message = 'There are no NOTAMs available for this airport.'; echo $message; return; }
-
Airport Information Module V2 - Looking for Data
HighFlyerPL185 replied to stuartpb's topic in Releases
I'm also wondering whether this addon is being still developed? -
Route map inside schedule briefing
HighFlyerPL185 replied to HighFlyerPL185's topic in Support Forum
Yes, I just had to change $route to $schedule. -
Route map inside schedule briefing
HighFlyerPL185 replied to HighFlyerPL185's topic in Support Forum
Thank you parkho -
How can I put a route map of the booked flight inside schedule briefing page, and how can I apply a size change of the map, only for that specific page?
-
Fantastic skin Iain! Well done! Don't mind the pun, but I suppose you've given a bit of fresh air to the other airlines with the skin
-
Any ideas?
-
I have this issue as well. The hosting claims that they have enabled GD and GD2, and told me to refer back here. It works with no issues on my localhost server however. [b]Warning[/b]: imagefontheight() expects parameter 1 to be long, string given in [b]/home/kamil/public_html/core/common/PilotData.class.php[/b] on line [b]1035[/b] [b]Warning[/b]: imagefontwidth() expects parameter 1 to be long, string given in [b]/home/kamil/public_html/core/common/PilotData.class.php[/b] on line [b]1036[/b] [b]Warning[/b]: imagestring() expects parameter 2 to be long, string given in [b]/home/kamil/public_html/core/common/PilotData.class.php[/b] on line [b]1054[/b] [b]Warning[/b]: imagestring() expects parameter 2 to be long, string given in [b]/home/kamil/public_html/core/common/PilotData.class.php[/b] on line [b]1054[/b] [b]Warning[/b]: imagestring() expects parameter 2 to be long, string given in [b]/home/kamil/public_html/core/common/PilotData.class.php[/b] on line [b]1054[/b] [b]Warning[/b]: imagestring() expects parameter 2 to be long, string given in [b]/home/kamil/public_html/core/common/PilotData.class.php[/b] on line [b]1054[/b]
-
Hi, I was wondering how would I add a 'Operates on' combo box to the schedule search, which would list days Monday-Sunday. The results would show flights on the specified day by the user via combo box input. I've made the HTML for it, but not sure where to start with the PHP side of things.
-
Any chance for a reupload? The link is missing
-
It is a big issue indeed, that's why I'd like to get rid of it. I tried CHMOD on the templates and PHP files, but either the website would break, with "Permission denied" or it would just be downloadable. It also solved the issue, thank you Now I get a 403 forbidden page.
-
Oh, right, that was the mistake. However, it still gives me the same result when I place it in lib/skins/XXX though
-
Although I'd never use this in my VA, you're onto something truely amazing here I love this system, it's definately innovative, and it will be definately worth the money. You'll earn a fair bit on this Why would I never use it for my VA? I know it is an addon adding merely entertainment to utilize the financial system, however from my point of view, the realism of the simulation is faded out of focus to concentrate on arcade-like aspects. To me, it would feel like managing a home and a family in Sims, or driving in Test Drive Unlimited 2 and spending your cash on things that can't be even used. Henceforth, it seems pointless to me, but it's a nice way to make a use of the financial system. Please don't take this in, it's just my personal opinion, and I'm sure this addon will be very successful
-
I do have cPanel, yes. In regards to index, nothing changes, I can still download templates and PHP files through the browser.