-
Posts
2773 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by simpilot
-
Is this when an existing phpVMS member is trying to create an account, or when a new member to the phpVMS site is trying to register? Is the pilot confirmed in the phpVMS system? Have any pilots been able to connect to the forum, or is it everyone? Were you able to connect when you initially set up the bridge?
-
phpVMS Vanilla Forum Bridge phpVMS module to login users from your phpVMS based virtual airline to a Vanilla Forum install. Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License ---------------------------------------------- A visible link to http://www.simpilotgroup.com must be provided on any site utilizing this script for the license to be valid. ---------------------------------------------- Developed by: simpilot - David Clark www.simpilotgroup.com www.david-clark.net Developed on: phpVMS 2.0.874 php 5.2.11 mysql 5.0.51 apache 2.2.11 Install Instructions: http://www.simpilotgroup.com/home/vanilla_bridge
-
Schedule Search (Airline, Aircraft, Arrival, Departure)
simpilot replied to simpilot's topic in Simpilot Group Addons
It has been added to Github. -
I just updated the code on Github to correct that problem.
-
I added a index file to the uploads folder here on the local repo so Github will create the directory and pushed the update, I forgot that Githgub will not show an empty directory in a repo. Also added a tutorial on how the admin side of the module works.
-
Plugin Manager 1.0 Developed by: simpilot - David Clark www.simpilotgroup.com www.david-clark.net Developed using phpVMS ver 2.1.934-164 Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License --------------------------------------------------------------------------------- Features Creates admin interface for uploading, installing, un-installing, and deleting phpVMS Plugin's. --------------------------------------------------------------------------------- Installation 1 - Download the zip package 2 - Unzip the package and upload all the contents of the admin folder to the admin folder of your site. 3 - Goto your admin panel and there will be a link for the Plugin Manager under Addon's. Code hosted on Github - Link In Signature. Pilot Manager Tutorial Note: As of 3/4/2012 - AirMail 3.0 and PopUpNews on Github are the only compatiable modules for the plugin manager. I am updating all the code this week for my modules to be usable within the plugin manager. Plugin Structure for developers ------------------------------- config.txt ------------------------------- A plugin must have a config.txt file with the basic structure from below; plugin=Your Plugin Name author=Your Name email=Your Email version=1.0 published=3/1/2012 license=Your License Type link=Link To Your Site ------------------------------- sql file ------------------------------- Any sql database file must be included in the root of the plugin folder. ------------------------------- readme file ------------------------------- A readme.txt file can be structured something similar to below and is placed in the root of the folder. AirMail 3.0 phpVMS module to create a messaging system your phpVMS based virtual airline. Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License ---------------------------------------------- A visible link to http://www.simpilotgroup.com must be provided on any site utilizing this script for the license to be valid. ---------------------------------------------- Developed by: simpilot - David Clark www.simpilotgroup.com www.david-clark.net Developed on: phpVMS v2.1.934-158 php 5.3.4 mysql 5.0.7 apache 2.2.17 This system is not compatible with any earlier versions of AirMail New Features: -Delete All function in inbox and all message folders -Individual pilot setting to have email sent to pilot when new message is received -Threaded messages Install Using Simpilotgroup Plugin Manager -Download the package -Upload the package to your site using the plugin manager -Use the auto-install from the plugin manager Install Manually: -Download the package. -Unzip the package and place the files as structured in your root phpVMS install. -Use the airmail.sql file to create the tables needed in your sql database using phpmyadmin or similar. Options: To Use the "You Have Mail" function place the following code where you would like the notice to appear, it will only appear if the pilot is logged in. <?php MainController::Run('Mail', 'checkmail'); ?> -Create a link on your site for your pilots to access their AIRMail <a href="<?php echo url('/Mail'); ?>">AIRMail</a> ------------------------------- phpVMS files ------------------------------- All the module files for the plugin must be in a file tree just as the system is structured If you have assets that need to be used by the module - ie images, js files, etc.. create an assets folder within your module folder. (an example is included in the detail below) an example: My_New_module -my_new_module.sql -readme.txt -config.txt -license.txt -core --common ----My_New_ModuleData.class.php --modules ----My_New_Module ------assets --------my_module.js --------my_module.png ------My_New_Module.php --templates ----my_modules_templates ------index.tpl ------example.tpl zip this structure into one one folder ie - My_new_module. Be sure not to create a folder within a folder.
-
If you are looking for files from a module I have released, they have all, or I am working on getting them all, moved over to Github. There is a link in my signature. As I move each set of files to Github I have been removing the file from the forum so any updates I make are available in one place (Github). If you don't have a Github account, signup for one (free) and follow my code, you will be notified when there are changes.
-
All simpilot modules and updates are now hosted at Github. https://github.com/DavidJClark
-
It is the way that Apache is setup and running on your server. To verify the issue you can remove the .htaccess file from the site and try running it, it will probably operate as expected. If so and you want to utilize the .htaccess file you can add a slash after the question mark after any index.php command and it should override the issue. The best fix, if you have access to the php.ini file, is to set the cgi.fix_pathinfo to 0 - ie cgi.fix_pathinfo = 0;
-
Did you upload a newer version of phpVMS as an update and not run the update.php? There is an update to that table that that script will perform when run.
-
What version of phpVMS are you running? - Something somewhere seems odd. I willt ry a fresh install here again today and see if I can get the error.
-
If you search through the forum you will find this to be a common issue. The problem is that there is whitespace or characters prior to the opening php tag in one of your core files, or you have a closing php tag with whitespace or characters after it in a core file. Looking at your error - (Cannot modify header information - headers already sent by (output started at /home/starall1/public_html/core/local.config.php) - it is most likely in the local config file. Have you edited this file prior to the error starting to show up? Check it for a gap at the start or some random characters that should not be there.
-
Have you tried updating to the latest version, I can not reproduce this issue here on my test install.
-
The answer is in the error message, the template(s) are not where they should be in the directory. Double check and make sure that you copied all the files over to your install just as they are in the download.
-
If your hosting is not set up for the new domain it is not ever going to connect. One of two things need to be done; 1 - You could add an add-on domain using your cpanel but when a user hits your site the url in the browser bar will change back to the old domain. 2 - Get your host to reset the Virtual Host file and use your new domain name as the primary domain(The best way IMO)
-
I made a blog post on how to build a basic full pilot roster module that shows all the pieces you should need. It may help you out. phpVMS Module Tutorial
-
http://forum.phpvms.net/topic/5822-airmail-30/page__view__findpost__p__40037
-
You need to close line 210 <th>'.$flight->flighttime.'</th> should be <th>'.$flight->flighttime.'</th>';
-
Put an if qualifier in there; echo '<th>'; if($flight->accepted == '0'){echo 'Pending';} elseif($flight->accepted == '1'){echo 'Accepted';} elseif($flight->accepted == '2'){echo 'Rejected';} else{echo 'Unknown';} echo '</th></tr>';
-
That is all that is recorded with the pirep, the database id of the aircraft, you are going to have to call the a/c data from the database. <?php foreach($pireps as $flight) { $aircraft = OperationsData::getAircraftInfo($flight->aircraft); echo '<tr><th>'.$flight->code.' <b>'.$flight->flightnum.'</th> <th>'.$aircraft->name.'</th> <th>'.date(DATE_FORMAT, strtotime($flight->submitdate)).'</th> <th>'.$flight->flighttime.'</th> <th>'.$flight->accepted.'</th></tr>'; }?> The aircraft variable will be filled with all the aircraft info - do a print_r($aircraft) to see what is available.
-
Simple answer, yes. There is currently no admin side controller for this module so there is no way to catch the PIREP Approved event from that side. You could write an admin side module to read that event and then do the necesarry calculations.
-
Is commonly caused by whitespace in a php file in the core of the application. If it is only happening during login and logout one of those class files must have been edited and there is some whitespace prior to the opening php tag or an ending php tag has been added and there is whitespace after it.
-
If you are just trying to get the last 10 reports change; $this->set('pireps', PIREPData::GetLastReports(Auth::$userinfo->pilotid)); to $this->set('pireps', PIREPData::GetLastReports(Auth::$userinfo->pilotid, '10')); That should return only the last 10 reports, there is also a third parameter available as to the status of the pirep. For example if you just want approved pireps do; $this->set('pireps', PIREPData::GetLastReports(Auth::$userinfo->pilotid, '10', '1'));
-
Are looking prior to anopther PIREP being accepted? Using this method the PIREP will not be included in the stats until another one is accepted.
-
Schedule Search (Airline, Aircraft, Arrival, Departure)
simpilot replied to simpilot's topic in Simpilot Group Addons
Was it finding flights prior to the code change, or is it something from the original code? I just tried these changes on another site and it seems to work, the only drawback being that it is sortng by departure time for each aircraft so they are in the result in blocks. When searching by aircraft you will prbably have to do a key sort after filling the variable with all the flights.