-
Posts
381 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by magicflyer
-
Hmm. Okay, well what I'm thinking is a lot of shared hosts have litespeed+Nginx installed or an equivalent software that speeds up mySQL(and a bunch of other stuff). This is usually not included with the VPS(Because of the way licensing works), so a lot of queries in a short amount of time would result in a drastic performance difference. That would explain why this skin performs better when its running on the other host. Could it just be that this skin is running more SQL queries on homepage load time? That would lead to a quick fire of SQL queries.
-
I hate to point out the obvious, but could it just be the server itself? I'm thinking there might be a runaway process on the server that's just causing it to run very slow when running PHP queries. Some hosts have a "Select PHP Version" option, go ahead and find that on cPanel and switch to another PHP version and back. There's a mechanism in there that kills PHP processes. Kind of like that ol' "Turn it off and turn it back on" trick. How many installations of phpVMS/other CMS are you running on one shared server? I've had clients in the past thinking they could get away with running multiple softwares on one shared host(Spoiler Alert: Didn't work). Other than that, your page size is 3.6mb which isn't too bad. Maybe that live flights plugin keeps querying the entire airports table(maybe the schedules table as well) and just slows everything down. Try to comment out that code and see if there's any changes.
-
I think this may be what he's looking for.
-
Been a long time since I looked at FlightAware. Their new pricing structure looks a lot more reasonable than what they had last time. Have you considered doing a chron job to get the schedules for the most popular airlines?
-
Works just fine. Make sure you have the PHP closing tags correctly....https://ideone.com/bQqklA And for your second question...you can use. Catch is I think this code will only work in PHP 7: echo $parkings[$info->destination[0]->icao_code] ?? "Some message that it does not exist";
-
Still o(N) but cleaner to read. <?php $zurich = ['Terminal 1 Dock A', 'Terminal 2 Dock B', 'Terminal 3 Dock E']; $parkings = [ 'LSZH' => $zurich[array_rand($zurich)], 'BKPR' => 'Stands 201 - 203', 'GCFV' => 'Stands 18 - 22', 'GCLP' => 'Stands T02 - T07', 'GCRR' => 'Stands T01 - T07', 'GCTS' => 'Stands F02 - F08', 'HEGN' => 'Stands 69 - 74', 'HESH' => 'Stands 26 - 33', 'KTPA' => 'Stands 85 - 89', 'LBWN' => 'Stands 15 - 19', 'LCLK' => 'Stands 22 - 26', 'LICC' => 'Stands 327 - 331', 'LPMA' => 'Stands A5 - A10', 'MUHA' => 'Stands 10 - 11', 'LEPA' => 'Stands 40 - 63', 'LIEO' => 'Gates 01 - 05', 'LEIB' => 'Stands 27P - 31P' ]; echo $parkings[$info->destination[0]->icao_code];
-
Everybody is going into the implementation, but let's start with this first: Should you launch a virtual airline? Many people drop hundreds of dollars on a VA over the course of a year only to find out they (1) Don't have the time to maintain a whole community (2) They're the only ones flying in it, in which case (3) They didn't need a virtual airline in the first place. Food for thought <3
-
iCrew v4 | Most advanced Pilot CrewCenter
magicflyer replied to LeonardIGO4036's topic in Paid Services
- -
iCrew v4 | Most advanced Pilot CrewCenter
magicflyer replied to LeonardIGO4036's topic in Paid Services
I love this. -
Probably not. This new phpVMS is based on Laravel which is a whole different framework and set of APIs. But hey...code is code. Someone's gonna find a way to copy/paste things around and make it work.
-
This probably shouldn't be in "Paid Services". *cough* *cough* Check out some HTML & CSS tutorials on W3Schools then just use a free template and learn to edit it. That's going to be higher quality than any free service you'll receive. Best of luck with Finnair Virtual - Love the Finnair livery.
-
Omer, try again. I made a mistake of not including the Auth:: class reference when accessing the $pilot var. Should be fixed. Also, Out of the blue give this a try: <?php $pilotcode = PilotData::getPilotCode(Auth::$pilot->code, Auth::$pilot->pilotid); ?> <img class="" alt="Avatar" src="<?php echo SITE_URL.AVATAR_PATH.'/'.$pilotcode.'.png';?>" height="90" />
-
Hey bud, Gonna go off of a gut feeling and guess that the variables $pilotcode or $pilotid aren't defined. So give this a try instead: <img height="50px" width="50px" style="" alt="Pilots Avatar" src="<?php echo PilotData::getPilotAvatar(PilotData::getPilotCode(Auth::$pilot->code, Auth::$pilot->pilotid));?>" /> Or a cleaner way to do it is: <?php $pilot_id = PilotData::getPilotCode(Auth::$pilot->code, Auth::$pilot->pilotid); ?> <img height="50px" width="50px" style="" alt="Pilots Avatar" src="<?php echo PilotData::getPilotAvatar($pilot_id);?>" />
-
Uh-...For someone trying to gain some business off of this forum you're not trying too hard to be "encouraging" to virtual airlines. It's a free world - Last time I checked. Some people love laid-back game-ish virtual airlines, others love serious Virtual Airlines with a touch of Roleplay. I, for one, think the contract format looks awesome and clearly there's some effort that went into formatting it right and getting the content written. Best of luck with your VA. You should indeed have a coming soon page rather the generic lorem ipsum text - That might confuse Google on the Search Engine Rankings and could penalize you down the road for having a spammy website.
-
Isn't the script on a Pastebin somewhere? I remember it being released to the community for free some time ago. Also, are you sure you want to give out your API Key? People could easily rack up thousands of dollars in charges that'll end up in collection for you, and hurt your credit score.
-
David is one of the pioneers of the modern-day virtual airline softwares. This phpVMS platform is what really got me into the world of Web Development, and you were a great example to learn from. Best of luck with your future business endeavors.
-
You'd be wasting your money. Use one of the many ACARS systems out there: SmartCars 2 - https://tfdidesign.com/smartCARS.php kACARS - http://www.fs-products.net/ CCFTracker - https://www.crazycreatives.com/ccftracker-free/ APVacars - http://baggelis.com/index.php/apvacarsm/apvacars All of these are customizable. Trust me, your pilots don't want a custom ACARS that's gonna be buggy and (probably) going to look ugly. Get them something they're familiar with. I recommend smartCARS.
-
- Side tip for Virtual Airline Owners - Generating backlinks is the one sure way of getting your VA to rank higher on Google. So, whenever you see an opportunity to get your link posted somewhere, take it.
-
If you don't know HTML, or CSS, I wouldn't want to mess with creating your own theme. There's a couple of free skins around the forums that you can place in your lib/skins folder and then activate it via the phpVMS Admin. Those are pretty good functional designs. As for a getting a custom skinned design, hehe....brace yourself for the "Check your PMs" replies.
-
My analytics are showing that a lot of people are trying to download this skin - but cannot. Just to let y'all know, you can download it from here: https://github.com/RyanHerga/Arctic This skin is no longer supported. I'll probably be releasing a newer one in the upcoming weeks.
-
You can definitely sell themes/schedules/graphics for phpVMS. You can sell installation/setup services. You can sell custom programming & modules. You cannot however sell phpVMS standalone. It's a free software, you can't resell it for money.
-
Did you notice his website doesn't exist anymore? I assume that's why the post was created.
-
http://www.savamarkovic.com/shop/ - I know it's expensive, but they're very accurate schedule. SWA has probably 50k+ schedule, DAL & AAL have roughly 40k each. http://www.world-of-ai.com/ - Tons of data manipulation, but it is free. Needless to say, it's not very accurate.