Jump to content

maxwaldorf

Members
  • Posts

    94
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by maxwaldorf

  1. Ok found how to resolve it : In admin/index.php : Remplace line 63 to 85 by : //load the main skin $settings_file = SITE_ROOT . 'admin/lib/'.$tplname.'/'.$tplname.'.php'; if(file_exists($settings_file)) { include $settings_file; } Template::setTemplatePath(SITE_ROOT.'admin/templates'); Template::setSkinPath(SITE_ROOT.'admin/lib/'.$tplname); $BaseTemplate->template_path = SITE_ROOT.'admin/lib/'.$tplname; $BaseTemplate->skin_path = SITE_ROOT.'admin/lib/'.$tplname; $BaseTemplate->Set('title', SITE_NAME); Template::Set('MODULE_NAV_INC', $NAVBAR); Template::Set('MODULE_HEAD_INC', $HTMLHead); $BaseTemplate->show('header.php'); flush(); MainController::runAllActions(); $BaseTemplate->show('footer.php'); rename header.tpl to header.php and the same for footer... Edit : check inside header.php and footer.php there are remaining tpl sources... Edit 2 : all modules are calling for tpl files... need to change it too
  2. I corrected the index.php in the admin folder but the absolute path does not work either...
  3. Hey Nabeel ! Long time no see... I got an issue in admin section the headr / footer template are not loaded... The template file "/phpvms//admin/lib/layout/footer.php" doesn't exist in /phpvms/core/classes/TemplateSet.class.php on line 231 Notice the double slash...
  4. After a weeks of testing, the xuipc plugin makes things work correctly in xplane. The only plane not working until now is the A320 QPAC (plugin based fuel management). Could other x-plane users report bugs they could see with xuipc and kacars ? Cheers !
  5. Well, it works ok with some planes but there are still some bugs here and there... Don't know if the VS touch is working since I haven't tested it completely. Will keep posted ! Cheers !
  6. I tried that a long time ago but fuel and vs doesn't work... Only position reporting. I'll see if things changed but I have doubts... Keep you updated !
  7. Message for the dev, with X-plane growing, is there any chance to support X-Plane one day ? I might not be a coder but I know a few things about X-plane... Cheers !
  8. Ok but i think fspax is not really adapted to charter flights... Is it ?
  9. People seem to have issues with fspax... Is there a tutorial or something to help using it because I don't own it ! Cheers !!!
  10. Can someone confirm that FSPAX is working correctly with this version ? Thanks !
  11. Lorathon, You have to do something about the "run as an administrator" for your program under vista and 7... If your installer doesn't give you the possibility to remember the program status, maybe change it to "advanced installer"... Cheers !
  12. Already working on it with Nabeel, Seems that reported route fields are not correctly placed EDIT: Well, Route is entered correctly but reported as comment too... minor bug...
  13. Demo gives you access to LOWI aera... and full aerodynamics for 10min... As for terrain coverage, the 5DVD sceneries DVD cover from -90 to +90 lat and -180 to +180 long so... You have to test and see... If you have more questions, then !
  14. Ok, Give a look to this LINK... (in french) As for clouds... REX is available for X-plane now... Have you seen the project ?Anyway, I am just trying to bring info to FSX users not forcing them to go on an other sim... The choice remains theirs ! It's just I see so many people with bad convictions... Cheers !
  15. Maybe you could see this topic... SAITEK Plugin.
  16. What hardware ? TrackIR, joysticks and third party hw are working with X-Plane... Project magenta is even supported by XUIPC and X-plane...
  17. To be honest, ATC is rubbish... But there is a plugin called X-Traffic for X-plane enabling real world flights AI... But limited... So, ATC/AI is clearly not a positive aspect if you wish to fly offline !
  18. Hi everyone ! I was a FSX specialist for the French community but I switched to X-Plane 9 months ago... The main reason ? Dev discontinuity, expensive addons and lack of realism on prop aircrafts (real pilots know what I am talking about...) So, I will not take over the long pros and cons about FS and X-Plane but I'll just tell you what I usually hear and how I react : 1. If you are a scenery lover, then X-Plane is probably not for you but... X-plane is not as eye candy as FSX (terrain textures) but honestly, you have 5DVD of terrain mesh (7GB each) so pretty accurate !!! 2. Default airports don't have buildings on X-Plane but... You can find almost anything on X-plane.org and google. You can even convert sceneries from FS to X-Plane (but results are not always perfect...) 3. X-Plane don't have much good modeled planes... Totally, untrue !!! Several projects like X737 or A320 FBW are totally amazing and will cost you... NOTHING !!! 4. There is no support for Online flights... WHAT ??? Of course there is ! check out IVAO and VATSIM ! 5. X-Plane aircrafts handle weird compared to FS... Well... Stop living in wonderland... Have you ever been in a C172SP for real ? Have you never felt like in a shaker with low altitude clouds ? X-Plane simulates every bits of wind and air around your aircraft so... You're closer to reality than you ever will ! In fact, FS relies on aircraft.cfg and aircraft.air to determine how the plane is supposed to react and with a bit of crosswind, FS will tell you how the plane will react in those conditions but does not calculate any air flow (that's why you don't have turbulences and wake turbulences...) X-Plane will also rely on config parameter but also on airfoils (wings profile), it will calculate how air is behaving around the aircraft so everything environmental effects simulated will be taken into account by the sim... So, result will be more accurate as long as the aircraft model design and info are accurate ! A bad modeled plane in X-plane will be the same piece of crap as in FS... I hope my POV helped and that it will bring you objective info on X-Plane !!! Cheers !
  19. Live today like you will never be there tomorrow...

  20. Don't be too much in a hurry, there are still some admin interface bugs I have to submit... Cheers !
  21. Is there a way to import the nav table without having to go trought PHPMYADMIN or the installer ? Cheers !
  22. Hi everyone ! The auto-retire system was not enough for our VA since some people resigned and we don't want to loose their hours for the company... We had to include one more status to pilot profile : Active Inactive Resigned The hack consist of editing 3 files : /admin/templates/pilots_details.tpl Find : 156 <tr> 157 <td>Pilot active?</td> 158 <td><?php 159 if(intval($pilotinfo->retired) == 1) 160 { 161 $retsel='selected'; 162 $activesel = ''; 163 } 164 else 165 { 166 $activesel = 'selected'; 167 $retsel = ''; 168 } 169 ?> 170 <select name="retired"> 171 <option value="0" <?php echo $activesel?>>Active</option> 172 <option value="1" <?php echo $retsel?>>Inactive</option> 173 </select> 174 175 </td> 176 </tr> replace by : <tr> <td>Pilot active?</td> <td><?php if (intval($pilotinfo->retired) == 2) { $resignsel='selected'; $retsel=''; $activesel = ''; } elseif (intval($pilotinfo->retired) == 1) { $resignsel=''; $retsel='selected'; $activesel = ''; } else { $resignsel=''; $retsel=''; $activesel = 'selected'; } ?> <select name="retired"> <option value="0" <?php echo $activesel?>>Active</option> <option value="1" <?php echo $retsel?>>Inactive</option> <option value="2" <?php echo $resignsel?>>Resigned</option> </select> </td> </tr> admin/modules/PilotAdmin/PilotAdmin.php find : 107 case 'saveprofile': 108 109 if($this->post->firstname == '' || $this->post->lastname == '') 110 { 111 $this->set('message', 'The first or lastname cannot be blank!'); 112 $this->render('core_error.tpl'); 113 return; 114 } 115 116 if(intval($this->post->retired) == 1) 117 { 118 $retired = true; 119 } 120 else 121 { 122 $retired = false; 123 } Replace by : case 'saveprofile': if($this->post->firstname == '' || $this->post->lastname == '') { $this->set('message', 'The first or lastname cannot be blank!'); $this->render('core_error.tpl'); return; } if(intval($this->post->retired) == 2) { $retired = 2; } elseif(intval($this->post->retired) == 1) { $retired = 1; } else { $retired = 0; } core/templates/pilots_list.tpl find : 22 foreach($allpilots as $pilot) 23 { 24 /* 25 To include a custom field, use the following example: 26 27 <td> 28 <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> 29 </td> 30 31 For instance, if you added a field called "IVAO Callsign": 32 33 echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign'); 34 */ 35 ?> 36 <tr> Replace by : foreach($allpilots as $pilot) { if(intval($pilot->retired) > 1) { continue; } /* To include a custom field, use the following example: <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> </td> For instance, if you added a field called "IVAO Callsign": echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign'); */ ?> <tr <?php if($pilot->retired == 1) echo 'class="inactive"'; else echo 'class="active"'; ?> > If you want to hack the mass mailer to exclude "resigned or retired" pilots, you can try to use the if(intval($pilot->retired) > 1) { continue; } trick somewhere... I'll try to post the hack when finished ! Hope Nabeel will improve this ! Cheers ! ;D
×
×
  • Create New...