Jump to content

Artjom

Members
  • Posts

    120
  • Joined

  • Last visited

Posts posted by Artjom

  1. go to lib/skins/ObsessBlue/style.css and change all image link

    From

    /lib/skins/ObsessBlue/image/

    To

    image/

    example:

    From:

    /lib/skins/ObsessBlue/image/img_38.jpg

    To:

    image/img_38.jpg

  2. Hello all,

    I've a new idea that's after 48 hours of flight booking, the pilot is withdrawn $100 (or to be able to prescribe in the config, how much money to rent for late flight)

    Example:

    Pilot had $200 he booked a flight, but doesn't make the flight, after 48 hours, automatic removed the flight from flight bids, and withdrawn $100 from pilot! Pilot have $100!

    sorry for my english,

    Thanks

    Artjom

  3. And what encoding should be put? And then I turned and I still like this now looks áõрðфøü ÖøÃȄÂýøý!

    Thanks in advance

    This problem was lost! You must be add:

    1. Date Base to UT8

    2. All tabeles set to UTF8

    3. localhost.config.php set UTF8

    РуÑÑкий

    Проблема уже решена! еÑли что пиши в ПМ отвечу!

    1. Базу на УТФ8

    2. Ð’Ñе таблицы на УТФ8

    3. В файле localhost.config.php изменить на УТФ8

    • Like 1
  4. Sorry for the slow reply. My daughters 18th birthday party was yesterday.

    These are the Flight Phase Phrases

    Boarding

    Pushing Back

    Taxiing to Runway

    Taking Off

    Climbing

    Descending

    Level Flight

    Cruise

    On Approach

    Arrived

    Taxiing to Gate

    Paused

    That should be it

    Ok thanks! I translate this in few time! :rolleyes:

  5. Sounds good.

    It will take a bit. I will make a language setting. That way I will not have multiple versions out there. Also in the future this will make it easier to incorporate other languages when people request them.

    Can you post all the Flight Phase here please and I translate they!

    That's all???

    Boarding

    Taxi to RWY

    Taking Off

    Climbing

    Cruise

    Descending

    Landing Shortly

    On Approach

    Level Flight

    Taxiing to Gate

    Arrived

  6. Sounds good.

    It will take a bit. I will make a language setting. That way I will not have multiple versions out there. Also in the future this will make it easier to incorporate other languages when people request them.

    that's a good idea!! I save translated file in (.pptx) Microsoft Power Point, that's easier for you to find who is who!

  7. I wanted it to do the same, with the help of a friend did, but there is one drawback is that the signature is generated only when data changes, so it is not convenient, then threw the script, if I find didst lay out, but it was for the old version!

  8. I think it's SettingsData::getFieldValue - check the API docs, I can't remember off the top of my head

    Thank you,

    This code works

        <?php 
       echo '<dt>VATSIM ID</dt>
    <dd>';
       $customfield = PilotData::GetFieldValue ($userinfo->pilotid , 'VATSIM ID' ); 
       {
       echo '<input type="text" name="VATSIM ID" value="'.$customfield.'" />' ;
       }
       echo '</dd>';
       ?>

    • Like 1
  9. Hello everyone,

    how to make that conclusion was by a single field, rather than all at once each?

    core/templates/profile_edit.tpl

    <?php
    if($customfields)
    {
    	foreach($customfields as $field)
    	{
    		echo '<dt>'.$field->title.'</dt>
    			  <dd>';
    
    		if($field->type == 'dropdown')
    		{
    			$field_values = SettingsData::GetField($field->fieldid);				
    			$values = explode(',', $field_values->value);
    
    
    			echo "<select name=\"{$field->fieldname}\">";
    
    			if(is_array($values))
    			{						
    				foreach($values as $val)
    				{
    					$val = trim($val);
    
    					if($val == $field->value)
    						$sel = " selected ";
    					else
    						$sel = '';
    
    					echo "<option value=\"{$val}\" {$sel}>{$val}</option>";
    				}
    			}
    
    			echo '</select>';
    		}
    		elseif($field->type == 'textarea')
    		{
    			echo '<textarea class="customfield_textarea"></textarea>';
    		}
    		else
    		{
    			echo '<input type="text" name="'.$field->fieldname.'" value="'.$field->value.'" />';
    		}
    
    		echo '</dd>';
    	}
    }
    ?>

    Example:

    not so

    PROFILE SETTINGS

    VATSIM ID

    VATSIM NAME

    YOUR SYSTEM

    but so

    PROFILE SETTINGS

    YOUR SYSTEM

    VATSIM SETTINGS

    VATSIM ID

    VATSIM NAME

    This code isn't work...

    <?php $customfield = SettingsData::GetField ($field->fieldid , 'VATSIM_NAME' ); {echo '<input type="text" name="VATSIM_NAME" value="'.$field->value.'" />' ;}?>

  10. For some reason Kaspersky stopped the install with a report "setup.exe behaviour similar to PDM.trojan.generic" "Detected PDM.trojan.generic" any ideas why kaspersky is saying this because loads of people downloaded it fine. anyone else using kaspersky? looks good too! really want to try it :(

    Hello I use Kaspersky 2010 the last version!

    no problems!

  11. Can you paste the template into pastebin.org and put the link here? Thanks

    I've lost these problem! use this code!!!

    <?php
    $time = explode(":", $schedule->deptime);
    echo $time[0];
    echo $time[1];
    ?>

    • Like 1
  12. To get the hour/minute you can do:

    <?php
    $time = explode(':', $schedule->deptime);
    $hour = $time[0];
    $minute = $time[1];
    

    Something like that should work

    Thanks Nabeel for your Replay

    I've add your code into schedules_briefing.tpl

    but that isn't work

    <?php
    $time = explode(':', $schedule->deptime);
    $hour = $time[0];
    $minute = $time[1];
    ?>

  13. I need to at VATSIM plan was already full, here is my link:

    <a class="post" href="http://www.vatsim.net/fp/?2=<?php echo $schedule->flightnum; ?>&3=<?php echo "{$schedule->aircraft}"; ?>&4=none&5=<?php echo "$schedule->depicao"; ?>&6=<?php echo "{$schedule->deptime}"; ?>&7=<?php echo "{$schedule->flightlevel}"; ?>&8=<?php if($schedule->route == ''){echo '<br />';}else{echo strtoupper($schedule->route);}?>&9=<?php echo "$schedule->arricao"; ?>&10a=HOURTIME&10b=HOURMINUTES&11=HERELINK& target="_blank">VATSIM</a>

×
×
  • Create New...