Jump to content

bunoire14

Members
  • Posts

    57
  • Joined

  • Last visited

Everything posted by bunoire14

  1. Hi Mark, how far did you get with it? I have got as far as creating a database for Course and Lessons related to course. and Displaying courses and Associated Lessons on the Template (Mainly so I can see its working). But then got taken off task to do something else :roll eyes: I'm happy to collaborate as this is probably one of the few add ons i'm looking into that has more universal appeal than just the military oriented ones I'm doing. Olly
  2. Hi TAV1702, Thanks for that, Ill be sure to post any BETA versions of my modifications up for testing. This one has taken a back burner due to some other more important modifications i want to/have to make because of the unique VA we are trying to offer! Can any of the PHPvms/PHP Gurus on here offer any tips on modifying the admin panel? So far my mods have all been done front end and managed by myself in the database, however moving forward this will become impractical, so i need my staff to be able to update the mods in the admin panel. I haven't got as far as looking into it yet, but wondered if theres any pitfalls i should be aware of before starting? All the best,
  3. Nice spot Tom, Those pesky " always sneak through!
  4. Hi, post a link to the page in question and I may be able to help, it should be a simple change in your skin style sheet. All the best,
  5. Hi, Could you accept an array of proposed email addresses and loop through them assigning them to $email and do something with them at the same time? something like: foreach ($address as $email) { Do Your Stuff... Send Email etc... } Just a suggestion, I am assuming you mean you want to send a single email to multiple addresses? Cheers,
  6. Hi The problem looks like your actually echoing method call as a string, Try changing this: echo '<td align=center> <a href='.SITE_URL.'/index.php/pireps/view/'.$pirep->pirepid.'/>$pirep->code$pirep->flightnum </a> </td>'; To This: echo '<td align=center> <a href='.SITE_URL.'/index.php/pireps/view/'.$pirep->pirepid.'/>'.$pirep->code$pirep->flightnum.'</a> </td>'; Lemmie know if it works,
  7. Thanks, If those types on anomalys are few and far between i guess its not a big job to just jump on the database and correct the logn and alt, which i assume is what would be causing that error? I'm just trying to upload the file now but my Server keeps stalling on the SQL file, I have tried to get the points installed inot my local db here on my development environment, and managed to get 45,000 of them on At present my Mac is working hard to open the Sql file in Textmate so i can manually run the querys a section at a time!
  8. Ahhh brilliant, thanks for that. Is the db fully loaded or can it be added to?
  9. Hi Guys, i tried searching on this but haven't found anything relevant, I have seen on the database theres a table for holding navigation waypoints, Can any one advise me on how this works, what they effect, and what info each field should hold. Majority of them are obvious but some are not. Also if anyone has a compiled list of points available for share, id be interested in getting hold of one, Thanks in advance!
  10. Hi, I need some help with the finances of my VA. We are a Military VA, however have decided to try and use the finances options for the Squadrons (Airlines) that do roles involving Heavy Lift or Transport, the combat oriented Sqns simply wont earn any revenue.. only spend it! I have setup the Ranks pay levels based on Annual Salarys at the given Rank within the service, plus an extra hourly rate for Flying Pay. My main question is about Schedules pricing for PAX and Cargo... I really dont know where to start? One of my Pilots did a 20 Minute flight (Cargo) and earned £250,000!!! so i dont tihnk we have the right pricing setup yet. I would be interested to know what the generally accepted price for Cargo and PAX would be? Also in terms of associated expenses, I have a few in mind, but again wouldnt know where to peg their values... 1. Landing Fees 2. Aircraft Leasing 3. Maintenance 4. Expended Ordinance (Including Countermeasures) I would appreciate any suggested values on any of these items, or any other expenses to add to our list, because at the moment we will be turning over millions within ten hours! Thanks in advance!
  11. Hi Guys, With work in progress on my new project (www.milairsim.com) I have plans to devise a few additions to PHP VMS to try and cater for the military side of this hobby. I have just started work on a Training Center Module. The idea of this will be to have a user group of Instructors, who can then create training courses. These courses in turn will have lessons which will have the content and any documents/downloads required. Pilots can book a place on a course, as long as there are free places left, and once accepted by the Instructor they gain access to the training material. The instructor can then mark each lesson as complete for a student, and hopefully if i can figure it out... :-) this will then begin to build a Training record for Pilots. In the first instance i am working on getting this basic functionality in place, and if it would be of any interest to the wider community id be happy to upload it, but given its my first module, this thread serves two purposes... 1. to layout the concept, and gauge community interest, comments 2. To check the procedure for getting add on modules approved? Is it just a case of uploading them and letting the community run wild and ultimate break them, report bugs and improve them? or is there a pre-determined procedure to follow to get them authorised? Any help appreciated All the best,
  12. bunoire14

    kACARS_Free 1.0.1.0

    I do now, not sure at the time of testing though, will retest and report back.
  13. bunoire14

    kACARS_Free 1.0.1.0

    Hi Jeffrey, Not sure if you still need these reporting but I had this error pop up while testing my new site setup, It allowed me to continue with the flight and filed my PIREP correctly. Cheers,
  14. Hi Guys, I think i have sussed it. I Changed the PHP Setup from CGI Application to FastCGI in my Server Control Panel and the site jumped into life. All the best,
  15. Hi Guys, Just a quick addition to this thread, I was looking for something Similar, however as I am running a Military Sqn System using multiple Airlines, I wanted to List the Rosters for each Airline in Turn. Heres what I changed in the Pilot.php index method to allow it. // Get all of our Airlines/Squadrons, and list pilots by Airline or Sqn $allairlines = OperationsData::GetAllAirlines(); if(!$allairlines) $allairlines = array(); foreach($allairlines as $airline) { $this->set('title', $airline->name); $this->set('code', $airline->code); $this->set('allpilots', PilotData::findPilots(array('p.code'=>$airline->code))); $this->render('pilots_list.tpl'); } $noairline = PilotData::findPilots(array('p.code'=>'')); if(!$noairline) { return; } $this->set('title', 'Un-Assigned Pilots'); $this->set('code', ''); $this->set('allpilots', $noairline); $this->render('pilots_list.tpl'); Not sure if its good practice to modify the core classes really, I assume they would be overwritten on update? But its a quick fix for this. Hopefully this is useful for those looking for a similar way of displaying rosters, Apologies if this has been posted previously. All the best,
  16. Hi Nabeel, Yeah thought as uch, didnt know if they would help debugging the browsing error? Any thoughts? see www.milairsim.com Cheers,
  17. Hi Guys, Can't seem to find anything about this error posted so far, I have installed the system onto a windows server (IIS7), it installs fine and fires up the home screen. From this point though I cant navigate to any other page, the URL changes but the Homepage remains, and it wont let me login? It just takes my username and password and then remains on the homepage. I have checked my permissions and even opened them right up, still get the same response. Its almost as if the URL rewrite isnt working, but I dont think its required is it? Any help or advice welcomed, Update: Aftter Tuirning Debug mode on I get the following Warnings: Notice: Use of undefined constant OBJECT - assumed 'OBJECT' in D:\inetpub\wwwroot\vhosts\domain\httpdocs\core\codon.config.php on line 86 Notice: Undefined variable: session_data in D:\inetpub\wwwroot\vhosts\domain\httpdocs\core\common\Auth.class.php on line 149 Notice: Trying to get property of non-object in D:\inetpub\wwwroot\vhosts\domain\httpdocs\core\common\Auth.class.php on line 149 Notice: Undefined index: REQUEST_URI in D:\inetpub\wwwroot\vhosts\domain\httpdocs\core\classes\CodonRewrite.class.php on line 61 Notice: Undefined offset: 1 in D:\inetpub\wwwroot\vhosts\domain\httpdocs\core\classes\CodonRewrite.class.php on line 65 Notice: Undefined offset: 1 in D:\inetpub\wwwroot\vhosts\domain\httpdocs\core\classes\CodonRewrite.class.php on line 90 Notice: Undefined property: stdClass::$page in D:\inetpub\wwwroot\vhosts\domain\httpdocs\core\modules\Registration\Registration.php on line 25
  18. Thanks Mate, Is ther a way of finding out the cost of different airport charges? I assume ill want to put that in as a re-occuring monthly expense? Also does the system decide how many PAx or how much Cargo was flown on a given flight? I've not seen a option to set these on the schedules? And finally... LOL I wondered if there was a way to find out what the lease cost of particular aircraft are so i can reflect these in my expenses. Cheers,
  19. Hey Guys, I'm in the process of finalising my site and operations, (www.aura-airlines.com) but I have a question about ticket prices for schedules. I've flown two test flights and suddenly my VA has got £16M in the bank ;D as much as I wouldnt mind my personal bank account to reflect this sort of amount, It seems I may have set my ticket prices a tad high. Can anyone advise what an average ticket price would be? My airline is based around Specialist Charters to parts of the Globe that are considered generally highly dangerous flying areas/airports. Obviously its easier to work out ticket prices for General Airline flying into holiday destinations as they can reflect real world prices, but im stuck to place a realistic figure for what im trying to do. Any help greatly appreciated!
  20. Hi Nabeel, Another couple of features I thought about today which I personally would like to see.. not sure how they woudl work though. Id like to see Fleet tracking of some description.. so a way to track where the aircraft in your fleet are. So if someone flys a route from London to Paris for example, the aircraft they flew is in Paris, and could be seen on a Map or something as In Paris so Pilots would know that the aircraft would need to fly the return leg to london prior to being used on other taskings. Also there doesent seem to be much...if anything in the way of fleet interaction. I.e. would it be possible to have like a fleet roster? so people can see what sort of aircraft you have, how many hours they've flown etc etc? Just ideas mate wether you tihnk they are worth while is up to you ;D Cheers,
  21. Thanks Nabeel ill check it out.
  22. Hey Guys, I'm in the process of creating a "Job Center" module for PHPvms. The idea beign that the admin can insert jobs available within the VA and have people browse and apply for them right through the website. Its still early doors and MVC approach to PHPvms is new to me... my experience thus far has been in procedural PHP. So far what Ive done is referenced both the built in "News" module and the "Exam Center" module availbe for download here on the forums as examples to follow. I have created a JobsData.class.php which is handling all my calls to the database to retireve data (and eventually will input/edit and delete). I have made jobs.php which is inside the module directory and is dealing with calling the functions from the Jobsdata.php , and I have two .tpl files.. one designed to just list the currently available jobs and a further one to display the job details as a user clicks on a heading from the Job List. I think im halfway there to getting this sussed, however im getting this error: Warning: Invalid argument supplied for foreach() in C:Usersbunoire14DesktopDevVMScorecommonJobsData.class.php on line 19 now heres my script: public function GetJobs($count='') { $sql='SELECT job_ref, job_title,date_posted, posted_by FROM new_jobs ORDER BY postdate DESC LIMIT '.$count; $result = DB::get_results($sql); foreach($result as $row) { $this->set('jobref', $row->job_ref); $this->set('title', $row->job_title); $this->set('postedby', $row->posted_by); $this->set('postdate', date('d/m/Y', $row->date_posted)); } } } I have read the API and it says that the DB::get_results() returns an array but it seems im not handling that array correctly, can anyone shed any light on this as I'm lost! Cheers,
  23. Simpilot, I managed to get it sorted... turns out id downloaded an older version of the application... re-installed the 2.1 beta and all works
  24. Awesome addition mate! thanks very much!
  25. Hey Simpilot, Ive installed this addon into the latest beta and added the menu links as described. When i log in and click on the Airmail link it just loads a blank page nothing else... no errors... just nothing? Any ideas? Cheers,
×
×
  • Create New...