-
Posts
304 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Fernando
-
-
I can't even access your website.
But by the way:
There is one thing missing in these instructions. After you have followed the steps I mentioned above you have to use this else command for the one in line 74 of the index.php (phpvms root folder):
else { # It's a template sammich! if (strpos($page_content,'html { height: 100% } body { height: 100%; margin: 0; padding: 0 }') !== false) { $BaseTemplate->ShowTemplate('header2.tpl'); echo $page_content; } else { $BaseTemplate->ShowTemplate('header.tpl'); echo $page_content; $BaseTemplate->ShowTemplate('footer.tpl'); } }
Then you should get a fullscreen live map.
Happy Christmas!
I'll put it where? in index.php (he's all white)
-
Already packed the link, you can download the module.
Hugs
-
-
-
1° download the file "phpinfo.php"
2° place this file into your root folder is where your site.
3° go to the link example yourdomain.com/phpinfo.php
4° you will see all the data on your hosting, search until you find ASP_TAGS, there is this ASP_TAGS ON. See an example from my server to have with change ASP_TAGS
Disabling ASP_TAGS of your server.
1º enters the root folder of your site using an ftp program and find the file. PHP.INI
2° download the file php.ini for your PC.
3º locate the file on your computer and open the notepad or simply a double click.
4° to open change the following line.
; Allow ASP-style <%%> tags.
asp_tags = ON
Change to:
; Allow ASP-style <%%> tags.
asp_tags = off
5° to save the change.
6° send the file php.ini. your site's root folder and replace it.
7° to change now wait 5 minutes to upgrade your accommodation,
8º open the link yourdomain.com/phpinfo.php
9° now confirm that the updated APS hosting TAGS off, if so done.
now only take advantage of the map.
You will only be able to do this if you have permission,
if the contrary need to contact the hosting administrator
-
The rank system it is based only calculations of hours when you disable means that you will evaluate manuals criteria of rank change according to its charter.
The system does not manage the calculation of ranks by any other means, only sums hours.
The pilot reaches 10 hours of flights to be flown or transferred, the automatic calculation system changes the pilot's rank.
If you keep this manual disabling, you are responsible for doing this manual.
The phpvms that is distributed free of form is how it works now if you want something complex, a system to evaluate the conditions in accordance with its regulation is needed someone to do.
That's another thing, something that we are not addressing here.
You want something based on aircraft restrictions, flight hours.
to be more specific so we can create something according to your requirements.
-
I'll think of something to help you
-
Your host has asp_tags enabled in the php.ini, they have to disable that for it to work. Contact your host
-
This only appears in the program,
this seems to me an error on your server, type problem of TAG
-
like this the local.config.php file
You have disabled you ask?
You are still using the automatic calculation same time adding to its manual pilot?
-
You can try this:
<?php include ('/path/to/SSI.php'); $topics = ssi_recentTopics(5,null,'array'); ?>
$topics will be an array of all the relevant data, so you can format it however you want in your own file.
Here believe that many will not give much support, it refers to something that is out
the phpvms, I believe that would not be the correct location
however, I can help you solve, let us know.
-
What you can do is manage the hours of flights flown by their pilots, and other for hours transferred,
So are added in pilot_list, however, they have not be calculated for exchanging rank.
-
Hello Friend,
When you adciona hours for members, the system does the calculation
automatic.
I suggest you do the exchange of manually patent, for this to be resolved,
Follow the instructions below.
Yoursite.com/ core / app.config and local.config.php
Config::Set('RANKS_AUTOCALCULATE', true);
Change to
Config::Set('RANKS_AUTOCALCULATE', false);
(This will cause the system does not automatically compute the rank for the number of hours since this time to their manual inserting pilots.)
After that possibly you will need to manually change the ranks,
open the administrative site.
Yoursite.com/admin
Then locate the / Pilot & Groups / View All Pilots
Click the option / edit / locate / Current Rank option
And switch to rank the pilot should be, repeat this for all members.
-
Pako,
Any idea on the module just bring flights departing from my last arrival?
-
Where has the program to download all the links are not working.
-
Hello friends,
We are pleased to announce that we are rescuing the name of one of the major airlines already known to all and the world.
VASP and its subsidiary VASPex (Cargo Transportation)
We invite all those who wish to be part of our team riders and staff.
Helping us to keep that dream and history in the air!
Will be VASP / VASPex, come fly with our blue birds
"Here we always give you wings to fly"
-
Hello,
When a new driver registers the following error appears
Non-static method SMFRegisterData::forum_register() should not be called statically, assuming $this from incompatible context in /home/munheke/public_html/3.0/core/modules/SMFRegister/SMFRegister.php on line 24
-
Rodrigo,
In its schedule_searchform.tpl page delete any information and place the script below.
<?php /* * Coding by Luiz Fernando * www.voegolv.net * Verion 1.0 * Dated: 15/01/2014 */ $pilotid = Auth::$userinfo->pilotid; $last_location = PIREPData::getLastReports($pilotid, 1); if(!$last_location) $last_location->arricao = Auth::$userinfo->hub; $last_name = OperationsData::getAirportInfo($last_location->arricao); $equipment = OperationsData::GetAllAircraftSearchList(true); $airlines = OperationsData::getAllAirlines(true); ?> <div class="menu clearfix"> <!-- Page Dropdown Menu --> <!-- Page title --> <div> <div align="center"></div> </div> <div class="cr_pass"></div> </div> <div class="clearfix content"> <!-- Page content --> <link rel="stylesheet" media="all" type="text/css" href="<?php echo fileurl('lib/css/phpvms.css')?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::Get('PAGE_ENCODING');?>" /> <p align="center"> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.form.js');?>"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/phpvms.js');?>"></script> </p> <form id="form" action="<?php echo actionurl('/schedules/view');?>" method="post"> <input id="depicao" name="depicao" value="<?php echo $last_location->arricao?>" type="hidden" /> <center><input type="submit" name="submit" class="butDef" value="Voos Partindo de <?php echo $last_location->arricao?>" /></center> <p> <input type="hidden" name="action" value="findflight" /> </p> </form> <script type="text/javascript"> </script>
Take a test and verify that meets your needs,
Hugs You
-
Dear,
I have a problem in codeshare module,
to register a route, I restrict the aircraft to a certain rank,
but even so any member below the rank can reserve the route.
put the following script in app.config and local.confg
Config::Set('RESTRICT_AIRCRAFT_RANKS', true);
Still did not work, any ideas?
*****Script Page****
Codeshare.tpl
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/themes/base/jquery-ui.css" type="text/css" /> <script type="text/javascript"> $(function (){ $('a.ajax').click(function() { var url = this.href; // show a spinner or something via css var dialog = $('<div style="display:none" class="loading"></div>').appendTo('body'); // open the dialog dialog.dialog({ // add a close listener to prevent adding multiple divs to the document close: function(event, ui) { // remove div with all data and events dialog.remove(); }, modal: true, height: 600, width: 800, position: ['center',80], title: "Schedule details" }); // load remote content dialog.load( url, {}, // omit this param object to issue a GET request instead a POST request, otherwise you may provide post parameters within the object function (responseText, textStatus, XMLHttpRequest) { // remove the loading class dialog.removeClass('loading'); } ); //prevent the browser to follow the link return false; }); }); </script> <table width="100%" class="table-bordered">> <td>Codeshare Flights</td> </table> <h3> </h3>[/b] [b]<?php if(!$codeshares) { echo '<span style="color:red;">No Codeshares</span>'; } else {?> <table width="100%" class="table-bordered">> <thead> <tr> <th>Flight Number</th> <th>Departure</th> <th>Arrival</th> <th>Airline</th> <th>Aircraft</th> <th>Details</th> <th>Book</th> </tr> </thead> <tbody> <?php foreach($codeshares as $codeshares){ $codeshare_details = SchedulesData::getScheduleDetailed($codeshares->schedid); ?> <tr> <td><div align="center"><a class="ajax" href="<?php echo SITE_URL?>/action.php/schedules/details/<?php echo $codeshare_details->id;?>"><span class="btn"><?php echo $codeshare_details->code; ?><?php echo $codeshare_details->flightnum; ?></span></a></div></td> <td><div align="center"><?php echo $codeshare_details->depicao; ?></div></td> <td><div align="center"><?php echo $codeshare_details->arricao; ?></div></td> <td><div align="center"><img src="<?php echo $codeshares->image; ?>" alt="<?php echo $codeshares->airline; ?>" /></div></td> <td><div align="center"><span class="label label-info"><?php echo $codeshare_details->aircraft; ?></span></div></td> <td><div align="center"><a href="<?php echo SITE_URL ?>/index.php/schedules/details/<?php echo $codeshare_details->id; ?>" >Details</a></div></td> <td><div align="center"> <?php if(Auth::LoggedIn()) {?> <?php } else { echo 'Login first!'; } ?> <?php # Don't allow overlapping bids and a bid exists if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0) { ?> <a id="<?php echo $codeshare_details->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>">Book Flight</a> <?php } else { if(Auth::LoggedIn()) { if($route->aircraftlevel > Auth::$userinfo->ranklevel) { ?> <b><font color="#FF0000">Above your rank!</font></b> <?php } else { ?> <a id="<?php echo $codeshare_details->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>">Book Flight</a> <?php } } } ?> </div></td> </tr> <?php } ?></tbody> </table> <?php } ?>
-
-
Hello friends,
The Virtual webjet is a fusion of Gol brand one of the largest aviation company in Brazil.
We simulated two companies, Gol operating their flights with Boeing 737-700 and 737-800
And Webjet operating their flights with 737-300 and 737-800.
We are a group of real pilots, our goal is to create divisions, operations are not restricted only in Brazil.
We do international flights according to the actual operations of the companies mentioned above.
We would like to reach an audience of pilots residing outside Brazil, are, Brazilian or foreign.
We are dividing the operations divisions, namely, members outside the country residing example in England.
May be staff of the Division of England, are, for training, application tests, theoretical or practical, preparation of Tours;
The staff will have 100% access to the site for changes, today we have two vesões of indioma.
Portuguese and English.
And we invite you to visit us, come fly with us.
We have web store where you can use your earned money in VA, to exchange for codes with discounts on addons shopping for your simulator.
It is very interactive our company.
Come fly with us, here we give you the wings to fly.
-
You can download this module and only changes the tables, from SMF to PHPBB what changes is the tables, then change the file names.
If you have problems I do it to you, just force me information:
Name of the table that is in your server that will the information of new members Forums new.
- 1
-
Look at this
https://github.com/DavidJClark/phpVMS-SMF_Register
Tested in the version is running, you need to install the tables of your forum in the same database of phpvms tables.
-
Tom,
Thank you, already coded all the tables, but the error continues, it is only in your module others do not have these problems,
I'm posting a picture for you to see
I tried also use the encoding in the archives,
<?php ini_set('default_charset','UTF-8'); ?>
but the error continues,
in the database appears accented letters, when I open the module characters appear (?????) in each word pronounced.
detail:
When I create a topic with special characters, is only sent to the database letters before the characters.
example:
Topic (topic)
When I open my database, only the letter T was imported.
Any idea?
Money
in Support Forum
Posted
It has a pilot's flying way to win money in a non-registered route VA?