Jump to content

maxwaldorf

Members
  • Posts

    94
  • Joined

  • Last visited

  • Days Won

    1

Posts 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. 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 !

  3. Yes Jeff,

    The mission statement from the makers were to continue to add functionality so eventually all offsets were the same as FS, from that i have tested (not extensively) its seems to be OK, the only things that are not happening is the aircraft type and the heading for the live acars, apart from that it seems to be performing OK.

    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 !

  4. 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 !

  5. It's cheap enough, so I'll take a look at it. There is a free demo, but demos never tell the whole story. The only thing I can't figure out is with scenery coverage only to the 70s, what happens if you fly a transpolar route?

    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 !

    smile.gif

  6. 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... rolleyes.gif

    Cheers !

  7. I'll stick with FSX. I've got over $1000 in hardware that won't work with X-Plane, and software...lets just say that my FSX folder is almost 140 GB in size. Much too large an investment to throw away.

    What hardware ?

    TrackIR, joysticks and third party hw are working with X-Plane...

    Project magenta is even supported by XUIPC and X-plane...

  8. What about ATC/AI Traffic?

    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 !

  9. 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 ? laugh.gif

    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 ! laugh.gif

  10. 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

    • Like 1
  11. Checking PHP version
    [OK] PHP version is 5.2.x
    
    Checking connectivity...
    [OK] Can contact outside servers
    
    Checking for SimpleXML module...
    [OK] SimpleXML module exists!
    
    Checking file hashes for corrupt or mismatched files
    [Checksum failed] /install/checkinstall.php did not match, possibly corrupt or out of date
    [Checksum failed] /install/install.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/common/PIREPData.class.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/common/PilotData.class.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/classes/ezDB.class.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/modules/XML/XML.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/modules/Profile/Profile.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/modules/ACARS/xacars.php did not match, possibly corrupt or out of date
    [Error] ../unit_test.php doesn't exist
    [Checksum failed] /admin/modules/Maintenance/Maintenance.php did not match, possibly corrupt or out of date
    [Checksum failed] /admin/modules/PIREPAdmin/PIREPAdmin.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/pireps_addcomment.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/fsfk_liveacars_config.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/registration_autoconfirm.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/fsfk_log_flightdata.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/core_navigation.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/xacars_config.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/fsfk_pirep_config.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /install/install.sql did not match, possibly corrupt or out of date
    
    -- Checked 205 files, found 19 errors

×
×
  • Create New...