Sava
Members-
Posts
575 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Sava
-
It should be placed in schedule results .tpl <td> <a href="<?php echo url('/schedules/details/'.$route->id);?>"><?php echo $route->code . $route->flightnum?> ( <?php $country = OperationsData::getAirportInfo($route->depicao); $imgicao = array_search($country->country, Countries::$countries); ?> <img src="<?php echo SITE_URL;?>/lib/images/countries/<?php echo strlower($imgicao);?>.png" alt="<?php echo $imgicao;?>" /> <?php echo $route->depicao;?> - <?php $country = OperationsData::getAirportInfo($route->arricao); $imgicao = array_search($country->country, Countries::$countries); ?> <img src="<?php echo SITE_URL;?>/lib/images/countries/<?php echo strlower($imgicao);?>.png" alt="<?php echo $imgicao;?>" /> <?php echo $route->arricao;?>)</a> <br /> Change your current code that display the DEPICAO - ARRICAO to this. I can't be more specific.
-
You place it where you need the flag to show up. If you are using it somewhere else then in the schedules, you will probably need to adjust the variable passed as mentioned.
-
1. <?php $pause_count = substr_count($pirep->log, "paused"); if ($pause_count > 10) { echo '<span style="color:red">Paused '.$pause_count. ' times.</span>'; } else { echo 'Paused'. $pause_count. ' times.'; } ?>
-
The fact is that $pirep->aicraft contains the ICAO not the ID in the table so the end query looks smth like ".... WHERE `id`='B738'" which returns an empty object/array. You need to pass the aircraft ID, not the ICAO.
-
It might be that $pirep->aircraft is empty. Try doing a var_dump on that.
-
I've answered your message.
-
You have permissions for those ThomsonVA rank images?
-
Sky High Design | Web Design & Fleet Repaints
Sava replied to HighFlyerPL185's topic in Paid Services
A bit of "competition" is always welcome. Great work and good luck -
I have added several more features to the addon in the past couple of days and I am pretty much finished on writing new code. What is left to do is tidying up the current code, finishing up a bit of documentation I decided to create and deciding on how to redistribute the addon. Stay tuned guys.
-
Since many people asked I modified the code to allow for items that are not to be delivered immediately to the pilot's profile. The order will be set to pending until a staff member accepts it. This could be useful it the actual item is a special livery, access to certain parts of the site etc. Once you set up what you need (the module has no connection to any of the mentioned things - liveries, access etc.) you then proceed to confirm the order and enter a message that is sent to the pilot. I also decided that I won't be including the option for pilots to sell items to other pilots and the entire 'market' thing (where people bid, compete for something etc) at this time. It would take a long time to create increasing the cost of the addon etc. It might come as a free upgrade to all the people who buy the first version. Any other feedback/idea is still welcome for a short bit until I finish the entire code and start testing. Cheers.
-
Thanks. I will get more work done during the weekend.
-
I haven't forgot about about this. I've just continued working on it after a long brake and it should be finished real soon.
-
Virtual JagyGold Airways is Opening
Sava replied to UnitedAirlinesVirtual's topic in Virtual Airlines Discussion
I can't even describe the number of things you did wrong, so I won't even try. Looks like a 15 minute job, from the site, to the content (check your spelling, grammar, etc.), domain and everything. If you didn't put any time into it, why would pilots invest their time in flying? Also, aren't you already running a VA? What happened to that? In stead of working on that one, why start a new VA? Some food for thought. -
phpVMS Development Services (Modules, Skins and more!)
Sava replied to Sava's topic in Paid Services
Same here. As soon as I finish with my current project, I'll get back to you. -
phpVMS Development Services (Modules, Skins and more!)
Sava replied to Sava's topic in Paid Services
Thanks! -
@Strider That is why I included two solutions.
-
phpVMS Development Services (Modules, Skins and more!)
Sava replied to Sava's topic in Paid Services
My latest work http://www.canadianva.com/phpvms/index.php -
You can run this inside phpmyAdmin. INSERT INTO `phpvms_airports` (`id`, `icao`, `name`, `country`, `lat`, `lng`, `hub`, `fuelprice`, `chartlink`) VALUES (80, 'LDZA', 'Zagreb', 'Croatia', 45.7429, 16.0688, 0, 1, 'http://www.crovacc.org/dwl/charts/LDZAav.pdf'); Or just take the coordinates : LAT : 45.7429 LONG: 16.0688 Pozdrav kolega.
-
phpVMS Development Services (Modules, Skins and more!)
Sava replied to Sava's topic in Paid Services
http://www.lufthansa-virtual.com/ My latest work. Also, I am currently running a 25% discount to all new clients on all services (Modules, Skins..) for the next two weeks! Just shoot me a PM and we'll get started from there. -
1. option : by using the built in Pages module inside the Admin Panel (gives you a /index.php/pages/pagename link) 2. option : build a simple module that renders a .tpl (gives you a /index.php/pagename link) if you want you can even use custom module and then include a page made in the admin panel so you get the best of both worlds. 3. option: use for example the vFleetTracker module by Vansers. Second option would be a module like this: Make a new folder under core/modules named Fleet and add a Fleet.php file inside containing the following code: <?php class Fleet extends CodonModule { public function index () { $this->render('fleetpage.tpl'); //or you can use this include('core/pages/fleet'.PAGE_EXT); } } If you use option number one (from code above, not first part) create a fleetpage.tpl in lib/skins/yourskin/ or if you use option 2 create a page from admin panel called Fleet. Hope I am clear enough
- 1 reply
-
- 1
-
There is a black "No pireps have been filled" text on top of the latest news. The content headers could use some padding. Also the design seems not to have been thought out properly. That is just my opinion though. p.s Using the latest version of Firefox.
-
Or just create a link like this: http://www.caalair.c...pages/P1_Vatsim enabling it to the public
-
I added that to the code just minutes after initially posting, (as I also tried on a Linux server after the initial code dev on Windows) so I thought you included that but it seems you got my code before I updated it If you check, there is actually the strlower function already there
-
Glad I could help out.