-
Posts
1076 -
Joined
-
Last visited
-
Days Won
8
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Vangelis
-
Your code is correct. Try to go to go admin page - > Site and settings -> maintenance Options and clik on Clear Cache and report if it is ok
-
Thanks for you info i will look to corect them asap
-
Do you modify a template for the email or you made a new module ?
-
I can have a look at thim but i will need some time if you can wait a couple of days one fast look that i took is that if you make an iframe looking at http://charts.aero/airport/airport that you want the charts will come up
-
Hello New Version is up Curent Version of APVacars is 1.0.0.4 and module version is 1.0.0.3 --------------------------------------------------------------------------------------------------------- I would like to present you APVacars. APVacars is an opensource Log/Acars System for PHPvms. APVA is created in Visual Basic 2010 and uses FSUIPC Client DLL for .NET By Paul Henty for the comunication between APVA and Flight Simulator software. Also APVA uses a modified module created by fs-products.net for the comunication with PHPvms . Below i have some screenshots Main Form Flight Information Weather Briefing If you are an admin at your V.A and something hapened with a pilot of your's you can resend the Pirep About Box APVA is licenced under Attribution-NonCommercial-ShareAlike 3.0 Unported That means you are free to modify everything except the About Box as it hold's all referenced to all modules and DLL's that i have used and also not making a profit by selling it. Source Code can be founded on GitHub https://github.com/vangelisb/APVacars PHPvms Module https://github.com/v...s_PHPvms_Module The Installer of the software if you dont want to mess with code APVacars.zip Please tell me what you think and what else would be nice to be added All recomendadions would be acceced and if possible implemented on next versions If you find any bug please let me know so i can fix it The only thing that you have to do is Copy the module that you have donwloaded from gitHub into your phpvms setup Open the software insert your information in the settings and you are ready to bid and fly.
-
Hi i just saw your site and my eye poped on your video how to file a pirep My question is why dont you use a program in order to track your flights as there some free and paywere ?
-
Where did you put this code ? EDIT found it 2ond Edit Found the solution <?php //simpilotgroup addon module for phpVMS virtual airline system // //simpilotgroup addon modules are licenced under the following license: //Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) //To view full icense text visit http://creativecommons.org/licenses/by-nc-sa/3.0/ // //@author David Clark (simpilot) //@copyright Copyright (c) 2009-2010, David Clark //@license http://creativecommons.org/licenses/by-nc-sa/3.0/ $pagination = new Pagination(); $pagination->setLink("screenshots?page=%s"); $pagination->setPage($page); $pagination->setSize($size); $pagination->setTotalRecords($total); $screenshots = ScreenshotsData::getpagnated($pagination->getLimitSql()); ?> <table width="100%"> <tr> <td width="50%"><h4>Screenshot Gallery</h4></td> <td width="50%" align="right"> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<form method="link" action="'.SITE_URL.'/index.php/screenshots/approval_list"> <input class="mail" type="submit" value="Screenshot Approval List"></form><br />'; } echo '<form method="link" action="'.SITE_URL.'/index.php/screenshots/upload"> <input class="mail" type="submit" value="Upload A New Screenshot"></form></td>'; } else { echo 'Login to rate or upload screenshots.'; } ?> </tr> </table> <hr /> <center> <b>Click on any image to view fullsize.</b><br /><br /> <?php if (!$screenshots) {echo '<div id="error">There are no screenshots in the database!</div>'; } else { echo '<table class="profiletop">'; $tiles=0; foreach($screenshots as $screenshot) { $pilot = PilotData::getpilotdata($screenshot->pilot_id); if(!$screenshot->file_description) {$screenshot->file_description = 'Not Available';} if ($tiles == '0') { echo '<tr>'; } echo '<td width="25%" valign="top"><br /> Views: '.$screenshot->views.' - Rating: '.$screenshot->rating.'<br /><br /> <a href="'.SITE_URL.'/pics/'.$screenshot->file_name.'" rel="prettyPhoto"> <img src="'.SITE_URL.'/pics/'.$screenshot->file_name.'" border="0" width="200px" height="150px" alt="By: '.$pilot->firstname.' '.$pilot->lastname.'" /></a> <br /> <u>Submited By:</u> '.$pilot->firstname.' '.$pilot->lastname.' - '.PilotData::getpilotcode($pilot->code, $pilot->pilotid).'<br /> <u>Date:</u> '.date('m/d/Y', strtotime($screenshot->date_uploaded)).'<br /> <u>Description:</u> '.$screenshot->file_description.'<br /><br /> </td>'; $tiles++; if ($tiles == '4') { echo '</tr>'; $tiles=0; } } echo '</table>'; } $navigation = $pagination->create_links(); echo $navigation; ?> <script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $("a[rel^='prettyPhoto']").prettyPhoto(); }); </script> </center> Paste this over screenshots_viewer.tpl and you will be fine i replaced <a rel="prettyPhoto" href="'.SITE_URL.'/index.php/Screenshots/large_screenshot?id='.$screenshot->id.'"> with <a href="'.SITE_URL.'/pics/'.$screenshot->file_name.'" rel="prettyPhoto">
-
As a secondary airline do you mean ? Because i might have not understand it well please write down your thought of wy would you do something like that
-
Just do a rencount in the admin-maintenance section and see if it will work
-
Hi i hope i didnt saw it to late I created a module for you so you can use it with phpvms you can download it for here http://www.baggelis.com/chatroll.zip step 1 edit chatroll.tpl and replace my html with yours at <iframe width='450' height='350' src='http://chatroll.com/embed/chat/eglc?id=6NhhxB113LP&platform=php<?= $ssoParams ?>&w=$0' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' allowtransparency='true'></iframe> <div style='font-size:0.9em;text-align:center;'><a href="http://chatroll.com/solutions/live-chat-software">PHP Live Chat Software</a></div> step 2 save and just copy the chatroll folder into your modules folder and the tpl file into the templates folder that is located in /core/templates and make a link to http://www.yoursite....ex.php/chatroll and thats all if you still need it tell me so i can add the functionality whoever is admin to be a moderator as well or if you need any help
-
Simple readable website just 1 tip change join staff taam to team
-
I suppose you use a custom acars that is writen in vb.net c++ or something else, can you please tell us how you update the vms_acarsdata table ? For example by direct mysql or via a php module. So we can know how we will be able to help you
-
Thanks for the reply i found the answer to be honest in some of the previous post in support
-
I guess with so many likes many people would like to see a new client BTW problem is solved
-
Hi i dont seem to have understand what you exacly want can you please describe it somehow ? But still i need statistic for all passenger and cargo to be counted, any help code.
-
In the admin section under maintenance you can recalculate all hours
- 1 reply
-
- 1
-
I am trying to create a new xml with version with that link /phpvms/index.php/XML/version but i get as a return This page contains the following errors: error on line 126 at column 22: Failed to parse QName 'height:' Below is a rendering of the page up to the first error. Can anybody inform me if i do anything wrong and if yes what ? Thanks
-
I am creating an acars for our VA and my question is I have created a new module as per API but how do i remove the banner and the pilot info so it returnes a single line ? By example <?php require_once($_SERVER['DOCUMENT_ROOT'] . '/phpvms/core/codon.config.php'); class APV extends CodonModule { public function pageone($fruit='', $orange='') { echo "The fruit is an {$fruit} and the color is {$orange}"; } public function pagetwo() { echo "The fruit is an {$this->get->fruit} and the color is {$this->get->orange}"; } } what i mean that in my browser i need only the fruit is an apple and the color is green without any visuals Thanks
-
if you havent found the ways just link your site in order to see the css code
-
How bigger do you have a screenshot ?
-
So i made the changes and i altered the db table but it seems that all the data goes into the log cell Here is a screen shot of the db table phpvms_pilots http://www.baggelis.com/printscreen.bmp and a raw data of the log cell CompanyName=Greek Scouts Airways<br />nPilotName=Vangelis Boulasikis<br />nFlightId=GSA185<br />nOnlineNetworkNbr=0<br />nFlightDate=2012-12-09<br />nAircraftName=iFly 737-800 (Wide screen)<br />nAircraftType=MEJ<br />nNbrPassengers=118<br />nCargoWeight=0 kg<br />nMtow=78244 kg<br />nStartAircraftWeight=60681 kg<br />nEndAircraftWeight=53280 kg<br />nStartFuelQuantity=10446 kg<br />nEndFuelQuantity=2970 kg<br />nDepartureIcaoName=LGKV - Megas Alexandros Intl - Greece<br />nArrivalIcaoName=LGTS - Makedonia - Greece<br />nDepartureLocalHour=20:36<br />nArrivalLocalHour=21:30<br />nDepartureGmtHour=19:36:00<br />nArrivalGmtHour=20:31:00<br />nTotalBlockTime=00:55:05<br />nTotalBlockTimeNight=00:55:05<br />nTotalAirbornTime=00:48:26<br />nTotalTimeOnGround=00:11:51<br />nTotalDistance=78 Nm<br />nMaxAltitude=12260ft<br />nCruiseSpeed=307 kt<br />nCruiseMachSpeed=0.48<br />nCruiseTimeStartSec=330<br />nCruiseTimeStopSec=968<br />nCruiseFuelStart=5277 kg<br />nCruiseFuelStop=4851 kg<br />nLandingSpeed=122 kt<br />nLandingPitch=5.66<br />nTouchDownVertSpeedFt=-526.92<br />nCaptainSentMayday=0<br />nCrashFlag=0<br />nFlightResult=Perfect<br />nPassengersOpinion=100<br />nPassengersOpinionText=-Are relieved to have landed safely after the extreme weather they experienced during landing.<br>n-Wonder if they landed or if they crashed (hard landing).<br>n<br />nFailureText=<br />nCasualtiesText=<br />nPilotBonusText=Perfect Flight, no problems and very satisfied passengers. (+150)<br>nYou landed at the scheduled airport. (+30)<br>nExtreme weather conditions during approach, but a safe landing and satisfied passengers. (+100)<br>n<br />nBonusPoints=280<br />nPilotPenalityText=Flight regulations require that you have sufficient fuel reserves upon landing (45 mn); you only had reserves for 00h19 of flight. (-300)<br>n<br />nPenalityPoints=300<br />nBitsPenalityDisabled=0<br />n
-
Thank you for the file i will figure out the db fields from the script I will give it a go 2night and will post the results also 1 idea came up to explode the array field by using the n as identifier i will try that asswel and report back . Thank again for your help
-
Wow that was fast Thank you for the answer 1st are you able to send me your fspax.php in order to do it like the way you mention 2ond isnt there another way ? in order to avoid any fuss with db changes
-
Hello boys and girls I have a question regarding our new virtual airline we where using fsairliners and we decided to swith to phpvms and for that reason i am migrating the look of fsairliners to phpvms at some point everything is ok Pireps are showin in a nice table the pirep details are linkable but i have a small problem with the log i managed to explode the log file by modifing the fspax module with a custon char but in the log at the end by the comments of fspax an n i shown in front of the text example Flight Critique -Are angry because they didn't reach their destination (flight too short). n<---- You made a very smooth landing. (+50) n<---You landed at the scheduled airport. (+30) n<--- Your arrived too early at your destination airport.(13h56:24 difference) (-100) n<--- Here are the links to the tables so you can have a visual idea of what i am talking about Main Table http://www.gsairways...atestpireps.php Pirep Detail http://www.gsairways...etail.php?ID=19 and this is the code of my query <?php require 'dbcon.php'; $result1 = mysql_query("SELECT `phpvms_pireps`.`pirepid` , `phpvms_pilots`.`lastname` , `phpvms_pilots`.`firstname` , `phpvms_pireps`.`fuelused` , `phpvms_aircraft`.`name` , `phpvms_aircraft`.`registration` , `phpvms_pireps`.`fuelprice` , `phpvms_pireps`.`revenue` , `phpvms_pireps`.`log` FROM `gsairway_vms`.`phpvms_pireps` INNER JOIN `gsairway_vms`.`phpvms_pilots` ON (`phpvms_pireps`.`pilotid` = `phpvms_pilots`.`pilotid`) INNER JOIN `gsairway_vms`.`phpvms_aircraft` ON (`phpvms_aircraft`.`id` = `phpvms_pireps`.`aircraft`)WHERE phpvms_pireps.pirepid='$_GET[iD]';"); if (!$result1) { echo 'Could not run query: ' . mysql_error(); exit; } $row1 = mysql_fetch_object($result1); $splitlog = explode("$$", $row1->log); for($i = 0; $i < count($splitlog); $i++) $result = mysql_query("SELECT * FROM phpvms_pireps WHERE pirepid = '$_GET[iD]'"); if (!$result) { echo 'Could not run query: ' . mysql_error(); exit; } $row = mysql_fetch_object($result); mysql_close($link); ?> so my question is how do i get rid of the n ? Thank you in advance