Development Help
For help and support for the development of addons
515 topics in this forum
-
- 1 follower
- 3 replies
- 1.7k views
I am trying to pull the number of hours for an individual hub
Last reply by StartVM, -
- 2 replies
- 1.7k views
Hi guys, has it been created by any chance? Maybe i searched badly the forum. And in case not, has anyone thought of creating a monthly assignment based also on rank and hub? Thanks, Simon
Last reply by servetas, -
- 2 replies
- 1.7k views
I have a module I am building where I have extracted the pilots current location based off of this code: $last_location = PIREPData::getLastReports($pilotid,1, PIREP_ACCEPTED); However, this will only output the ICAO of the airport and not its actual name. Is it possible to get phpvms to pull the full airport name as it is inside the airports table of the database?
Last reply by t_bergman, -
- 2 replies
- 1.7k views
I cannot find any solution to this problem: From the module: $this->set('comment', xxxData::xxxSearch($icao)); From the template (xxx_searche.tpl): <?php foreach($comment as $com) //This is line 14 { ?> <tr> <td><?php echo $com->xxx; ?></td> And in the end it gives me this error: Warning: Invalid argument supplied for foreach() in C:\AppServ\www\fss\core\templates\xxx\xxx_searche.tpl on line 14
Last reply by servetas, -
- 2 replies
- 1.7k 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, -
- 0 replies
- 1.7k views
I use PHPVMS with a normal server of fsx and i'm looking for addon that instead of let's you take a flight schedule, let's pilots file there own. Limited choices should only be available... Plane Departure Arrival Altitude Estimated Flight Time Based on that phpvms should make like a schedule for it. However we miss some info, this could be fixed in a different way like.. Price is always the same and counted per Nautical Mile (NM) Departure Time is 12 minutes afther filing the report or a departure time should be given by the pilot (either way solves it) PAX should be random Would this be possible or am i asking something impossible here ? oh and I know vatsim…
Last reply by fabrice, -
- 3 replies
- 1.7k views
is it possible somehow directly to include the notam´s to the schedule_briefing?
Last reply by hjhjhgjgjh, -
- 2 replies
- 1.7k views
Hi there! Here is a core navigation I designed for my site. Install: 1- Place the images in your site 2- Change the URL of the images. 3- Place core_navigation.tpl in your skin folder but don't forget to make a back up. 4. Enjoy Download here: CoreImage
Last reply by Parkho, -
- 1 reply
- 1.7k views
Hello how can i get the new PHPVMS with bootstrap because i don't know how PHPVMS works
Last reply by servetas, -
- 0 replies
- 1.7k views
Hello friends, Please like to know if it is possible to use the system on page IVAOFlightPlan schedules_bids.tpl; I have a rostering flight system in this case would deploy a script to run the file on the page? The files are here VAOFlightPlan http://forum.phpvms.net/topic/1710-ivaoflightplan/
Last reply by CN@ndo, -
- 2 replies
- 1.7k views
Ok, i'm trying to make a add on and i am making it only accessable for pilots but when i was logged in, i all got the red bar and my .Tpl is in the templates folder. What is wrong with this code? <?php class flightops extends CodonModule { public function index() { if(!Auth::LoggedIn()) $this->set('message', 'You must be logged in to access this feature!'); $this->render('core_error.tpl'); return; Template::Show('flightops.tpl'); } } ?> Any help would be awsome
Last reply by Kyle, -
- 1 follower
- 1 reply
- 1.7k views
[Content Removed]
Last reply by ChrisTaylor, -
- 2 replies
- 1.7k views
Hello folks. we are trying to downsize our MySQL database as the database is like 600 mb and our load times are absolute terrible. PHPVMS_SESSIONS is like 200MB alone. are we able to delete it? what will be lost
Last reply by SmarticleCo, -
- 3 replies
- 1.7k views
is it possible to create some addon so pilots can report flights which are not in our database? (like ferry flights and so on)
Last reply by Nabeel, -
- 1 reply
- 1.7k views
Hello, I'm Vincent Peters website manager of Cloud VA: www.cloudvairlines.com I'm finishing of the website but I want to make scroll down menus I did some research but did not understand it. I was wondering if there's anyone that would like to help me with making the menus? I now almost no php or CSS. Vincent
Last reply by simpilot, -
- 0 replies
- 1.7k views
Nevermind...
Last reply by xhector, -
- 0 replies
- 1.7k views
Hello, I have two questions, Is it possible to print the error message and then kill the module if and error ocurres on a Module? Right now what is happening is that if something goes wrong on a Module it only shows the error and I'd like to have something that prints the error stops that module and continue with the rest of the website. Is it possible? Second question: if ((isset($_POST['Del'])) && (PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN))) VirtualThaw2014Data::delete_mission(explode("Delete ", $_POST['Del'])[1]); this works just fine on my local server but when I move it to the host it gives me an error: Parse error: syntax erro…
Last reply by Joaogl, -
I hope one of you can help me: I am looking urgently a script which deducts the pilot a certain amount. A simple page that I e.g. add a download link and where the pilot must then confirm the download as soon as he has done so, he is redirected to the download, while the money deducted. Theoretically, it should only be mingled with a bit text (which can be changed at any time), a link which leads to a specific target (downloads, etc) and at the same time, click on the link, a preselected sum deducted. How much money could be deducted from and where the link takes you just change the script. For each link a separate file with this script. So for 10 different downloads, 1…
Last reply by BastiDE, -
Top 10 Pilots
by Guest N316EC- 1 reply
- 1.7k views
Is there a template that displays the names and total hours of the top 10 pilots based on hours? Thanks in advance for your help!
Last reply by MrAmsterdam, -
- 1 reply
- 1.6k views
Hey guys I can´t do any php so i guess i just leave this here - maybe someone likes this idear How about a randomised week or monthly flightplan for each pilot of the airline. So for example the Pilots goes into his Pilot Center Page and klicks on "my turn around plan" or whatever. After that, the script chooses X flights out of the flightplan for each Day or a whole week and presents this new plan to the pilot Thats it:-) bye bye
Last reply by mark1million, -
- 0 replies
- 1.6k views
Hello, does anyone have the code so I can place a pie chart in the pilot centre that shows the pilot the amount of time aircraft flown in percentage. regards
Last reply by david thompson, -
- 1 reply
- 1.6k views
Hi I'm currently messing around with this module on the site to make it look as clean as possible to fit the look of our site and I am happy with the results and the module is great. The only thing I would like to do is change the map which shows the booked flight route to use the google map (like the standard live acars map) Has anyone managed this. Current code looks like below. <th align="center"colspan="4">Flight Map</th> </tr> <tr> <td width="100%" colspan="4"> <?php $string = ""; $string = $string.$route->depicao.'+-+'.$route->arricao.',+'; ?> <img width="100%"…
Last reply by Soundman9, -
- 1 reply
- 1.6k views
I was wondering if it possible to do a Airport Management system, instead of the airline management. It would be the same concept, however, im thinking that you create an airport, and add airlines, and a few other changes could be done. Please help, if you think this is possible, and how it could be done Thanks!
Last reply by Nabeel, -
- 1 reply
- 1.6k views
Hi, i need some code to be made: i want to have the fspax scoring (in every flight) to be stored in the database and each pilot to have his personal score. Then, this score to be shown in pilot's profile, and in somehow in the toppilot utility if possible. This way, pilots will have to have their mind to fly "correct" as any mistake during flights will cost them points and reputation. Anyone who could provide code/template on this? thank you
Last reply by CN@ndo, -
- 1 reply
- 1.6k views
Hello, well, i put here one image to show anys statics for flights I Can get one for put in my site? here is the original website: Gol Virtual Link Here Thanks
Last reply by joeri, -
- 2 replies
- 1.6k views
hi as I can know the statistics of the pilots per month? I would like to know how I can find the different statistics of the pilots in different months. can anyone help me find this please? thanks for your help
Last reply by El Macara, -
- 1 reply
- 1.6k views
Hi all, I'm still in the process of building my website (Does it ever stop, haha ) and since you may probably know, airlines use Operational Flight Plans to brief (or pilots brief themselves basically) their crews.\ My idea: - Create a default layout for your OFP - Let a module (?) fill in ' the blanks' - let the module (?) put out a .pdf file for the pilot to download I have 0,0 experience with programming whatsoever, but I'm willing to learn. Every push in the right direction is more then welcome, or if somebody already has such a module who would be willing to share. Thanks! Stefan
Last reply by TheFlyingDutchman, -
- 1 reply
- 1.6k views
Hi am having a problem with the flight bidding add on, When i Select all it works fine and shows me the routes but if i put EG Departure airport as EGLL it says no flights found ? i try with lots off dirrent airlports and the same happens with no airports found i checked the schedule and there are defo flights from the airport Any help would be great
Last reply by MBrown, -
HELP
by FelipeAquino- 1 reply
- 1.6k views
PT-BR Bom Dia á todos, estou com extrema dificuldade em fazer uma skins para o PHPVMS, Alguem poderia me da uma ajuda ou me mostrar um tutorial? EN Good morning everyone, I'm with extreme difficulty making a skins for PHPVMS, Could someone give me a help or show me a tutorial?
Last reply by levicosta201, -
- 0 replies
- 1.6k views
Hi wanted to ask a question you may make charter flights are also paid? For example with a fixed amount or by the normal system. Thank you for your attention.
Last reply by tonkepen,