smurphy
-
Posts
19 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by smurphy
-
-
What is the name of the schedule search module you are using. I cant ever remember seeing anything called scheduleaction
i not using any module for the schedule
-
ok any idea where i can find the module please and help where to put it please
-
-
no idea what the issue was as i restore from saved backup from the hosting provider which sorted it
-
i have manged to sort it by Site Backups and Restore
-
i only thing as changed on the site me adding SimBrief which im still doing
-
i have not contact them at all bout it yet
i have check mysql all the data is there with the information for the Schedules & Pilots List
-
Use of getAttributeNode() is deprecated. Use getAttribute() instead. jquery.min.js:48:120
SyntaxError: missing ) in parenthetical
-
the pages was working fine upto the other day
-
Possibly one of these issues;
checked my local.config.php nothing has changed
<?php
/**
* This is the phpVMS Main Configuration File
*
* This file won't be modified/touched by future versions
* of phpVMS, you can change your settings here
*
* There may also be additional settings in app.config.php
* To change it, copy the line into this file here, for the
* settings to take effect
*
*/
Config::Set('DEBUG_MODE', false);
Config::Set('DEBUG_LEVEL', 1); // 1 logs query errors, 2 logs all queries
Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE);
define('DBASE_USER', 'removed by servetas');
define('DBASE_PASS', 'removed by servetas');
define('DBASE_NAME', 'removed by servetas');
define('DBASE_SERVER', 'removed by servetas');
define('DBASE_TYPE', 'mysql');
define('TABLE_PREFIX', 'phpvms_');
define('SITE_URL', 'http://www.virtualbmi.co.uk');
# Page encoding options
Config::Set('PAGE_ENCODING', 'ISO-8859-1');
# Clean URLs - set this to true, and then uncomment
# the lines indicated in the .htaccess file
Config::Set('URL_REWRITE', true);
# Maintenance mode - this disables the site to non-admins
Config::Set('MAINTENANCE_MODE', false);
Config::Set('MAINTENANCE_MESSAGE', 'We are currently down for maintenance, please check back soon.');
/* Whether you have the /admin/maintenance.php script added into cron.
If you do, set this to true. This saves many DB calls since phpVMS will
have to 'fake' a cron-job
*/
Config::Set('USE_CRON', false);
Config::Set('CHECK_RELEASE_VERSION', true);
Config::Set('CHECK_BETA_VERSION', false);
# See more details about these in the docs
Config::Set('PAGE_EXT', '.htm'); # .htm is fine. You can still run PHP
Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from
Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID
Config::Set('UNITS', 'nm'); # Your units: nm, mi or km
Config::Set('LOAD_FACTOR', '82'); # %age load factor
Config::Set('CARGO_UNITS', 'lbs');
# After how long to mark a pilot inactive, in days
Config::Set('PILOT_AUTO_RETIRE', true);
Config::Set('PILOT_INACTIVE_TIME', 40);
# Automatically confirm pilots?
Config::Set('PILOT_AUTO_CONFIRM', false);
# Automatically calculate ranks?
Config::Set('RANKS_AUTOCALCULATE', true);
Config::Set('FUEL_GET_LIVE_PRICE', true);
Config::Set('FUEL_DEFAULT_PRICE', '0..82');
Config::Set('FUEL_SURCHARGE', '1.0');
/*
This is the unit of money. For non-dollars, use :
Dollars ($), enter "$"
Euro (�), enter "€"
Yen (�), enter "¥"
Pounds (�), enter "£
For example, to set EUROS:
Config::Set('MONEY_UNIT', '£');
*/
Config::Set('MONEY_UNIT', '£');
# For how many hours a pilot can edit their submitted PIREP (custom fields only)
Config::Set('PIREP_CUSTOM_FIELD_EDIT', '48');
# If someone places a bid, whether to disable that or not
Config::Set('DISABLE_SCHED_ON_BID', true);
Config::Set('DISABLE_BIDS_ON_BID', false);
# If you want to count transfer hours in rank calculations
Config::Set('TRANSFER_HOURS_IN_RANKS', false);
# The StatsData::UserOnline() function - how many minutes to check
Config::Set('USERS_ONLINE_TIME', 10);
# Google Map Options
Config::Set('MAP_WIDTH', '1100px');
Config::Set('MAP_HEIGHT', '500px');
# Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP
Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP');
Config::Set('MAP_LINE_COLOR', '#ff0000');
Config::Set('MAP_CENTER_LAT', '52.187405');
Config::Set('MAP_CENTER_LNG', '-0.878906');
Config::Set('MAP_ZOOM_LEVEL', 139);
# ACARS options
# Minutes, flights to show on the ACARS
# Default is 720 minutes (12 hours)
Config::Set('ACARS_LIVE_TIME', 5);
Config::Set('ACARS_DEBUG', false);
# This is your airline's twitter account, if it exists
Config::Set('TWITTER_AIRLINE_ACCOUNT', '');
Config::Set('TWITTER_ENABLE_PUSH', false);
Config::Set('TWITTER_CONSUMER_KEY', '');
Config::Set('TWITTER_CONSUMER_SECRET', '');
Config::Set('TWITTER_OAUTH_TOKEN', '');
Config::Set('TWITTER_OAUTH_SECRET', '');
Config::Set('PHPVMS_API_SERVER', 'http://apidev.phpvms.net');
Config::Set('VACENTRAL_ENABLED', true);
Config::Set('VACENTRAL_API_SERVER', 'http://api.vacentral.net');
Config::Set('VACENTRAL_API_KEY', '3b9c4e77b37bf3c1959be7e220003b25');
Config::Set('VACENTRAL_DEBUG_MODE', false);
Config::Set('VACENTRAL_DEBUG_DETAIL', 2);
/* Keys for recaptcha, you can change these if you want to your own but it's
a global key so it should just work */
Config::Set('RECAPTCHA_PUBLIC_KEY', '6LfyewUTAAAAADrPyFFV3lXIhKzwjm7p1MlrJmfP');
Config::Set('RECAPTCHA_PRIVATE_KEY', '6LfyewUTAAAAAPmG7_ccIZ6V_cPfpwn6eF15MyJm');
-
Go into your admin/action.php and find this line
error_reporting(E_ALL ^ E_NOTICE);
and replace it with this
ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
i done that still the same
-
-
Accepting Pilot and Staff applications
We have several management and staff vacancies available, if you think you have what we are looking for, if you have current or past experience with the phpVMS system, then we want to hear. email the CEO, ceo@virtualbmi.co.uk
-
-
thanks is there a way i can disable
-
the live map page is repeating the column name instead of the data
I've tried the stock unmodified file and it is the same
-
you can ask sava has it helped me doing mine www.savamarkovic.com
-
Welcome to
BMI virtual virtualbmi
Welcome to BMI Virtual Airlines! Our Virtual Airline is based in London, Manchester and Birmingham UK. We are a flight simulator based virtual airline for online flight simulation. We use an advanced PIREP system that has an online flight tracker, realistic fleet scheduling and dispatch center
Search Schedules
in Support Forum
Posted
schedule_results.tpl/.php file
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
<?php
if(!$schedule_list)
{
echo '<p align="center">No routes have been found!</p>';
return;
}
?>
<table id="tabledlist" class="tablesorter">
<thead>
<tr>
<th>Flight Info</th>
<th>Options</th>
</tr>
</thead>
<tbody>
<?php foreach($schedule_list as $schedule) { ?>
<tr>
<td>
<a href="<?php echo url('/schedules/details/'.$schedule->id);?>"><?php echo $schedule->code . $schedule->flightnum?>
<?php echo '('.$schedule->depicao.' - '.$schedule->arricao.')'?>
</a>
<br />
<strong>Departure: </strong><?php echo $schedule->deptime;?> <strong>Arrival: </strong><?php echo $schedule->arrtime;?><br />
<strong>Equipment: </strong><?php echo $schedule->aircraft; ?> (<?php echo $schedule->registration;?>) <strong>Distance: </strong><?php echo $schedule->distance . Config::Get('UNITS');?>
<br />
<strong>Days Flown: </strong><?php echo Util::GetDaysCompact($schedule->daysofweek); ?><br />
<?php echo ($schedule->route=='') ? '' : '<strong>Route: </strong>'.$schedule->route.'<br />' ?>
<?php echo ($schedule->notes=='') ? '' : '<strong>Notes: </strong>'.html_entity_decode($schedule->notes).'<br />' ?>
<?php
# Note: this will only show if the above code to
# skip the schedule is commented out
if($schedule->bidid != 0) {
echo 'This route has been bid on';
}
?>
</td>
<td nowrap>
<a href="<?php echo url('/schedules/details/'.$schedule->id);?>">View Details</a><br />
<a href="<?php echo url('/schedules/brief/'.$schedule->id);?>">Pilot Brief</a><br />
<?php
# Don't allow overlapping bids and a bid exists
if(Config::Get('DISABLE_SCHED_ON_BID') == true && $schedule->bidid != 0) {
?>
<a id="<?php echo $schedule->id; ?>" class="addbid"
href="<?php echo actionurl('/schedules/addbid/?id='.$schedule->id);?>">Add to Bid</a>
<?php
} else {
if(Auth::LoggedIn()) {
?>
<a id="<?php echo $schedule->id; ?>" class="addbid"
href="<?php echo url('/schedules/addbid');?>">Add to Bid</a>
<?php
}
}
?>
</td>
</tr>
<?php
/* END OF ONE TABLE ROW */
}
?>
</tbody>
</table>
<hr>