-
Posts
2773 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by simpilot
-
Whichever one you are using for your display, if it is the pilot main profile page for the pilot themselves you should be using the profile module index function.
-
You will need to fill a variable in your module with the extra fields first; $this->set('allfields', PilotData::getFieldData($pilotid); Then in your template something like this from the public profile should work; <?php // Show the public fields if($allfields) { foreach($allfields as $field) { echo '<strong>'.$field->title.': </strong>'.$field->value.'<br />'; } } ?>
-
Looks like they have disabled cURL on the server. Free host's do things like this to push you to their paid hosting. Good Luck.
-
Can you attach your schedule file so I can try it on my local server? You can email it to me if you prefer.
-
You can use phpmyadmin to export it in csv format.
-
I have made some changes to the way the data is called out of the database and attached the new version (3.1.1) of the module to the first post. Let me know if that changes things for you.
-
You can not add another admin group permission as the system stands now. What you can do and most do is use one of the other permission sets and apply it to the addon. ie - EDIT_NEWS OR MODERATE_PIREPS
-
Can you take a scrren shot or send me a copy of the db table? I do not seem to get this on my test install. If you had an older version of airmail installed did you drop the old tables prior to updating to the new ones?
-
I am in search of an individual that has a talent to paint all types of FSim Aircraft for continuing work. Requirements: Complete knowledge of the repainting process. Ability to meet deadlines. (usually 10-14 day turnaround) Strong communication skills using English as a primary language. Ability to return email within a reasonable amount of time. Willingness to white label and/or re-brand the paints. What I can offer: An agreed upon contract price per aircraft. Logo design and color schemes would be supplied to you at the start of each project. Prompt payments via PayPal (I pay you directly when you are done, no waiting for a customer) If you are interested please forward some samples of, or links to, previous work and your required range for a contracted price per aircraft to me at - admin(at)simpilotgroup.com
-
I think what you are looking for is here -> http://forum.phpvms.net/topic/3503-vacentral-rank-on-site/page__view__findpost__p__23937 That will give you the ranking and you can put a logo or design around it as you wish.
-
I think you have a good start here but you really need to look at moving this addon outside of the native core application files and create it in a module form, if not you are going to have to manually update the files on every update of phpVMS as the native files all get overwritten everytime.
-
Did you drop the old tables first? A new sql file will not overwrite an existing table of the same name generally.
-
It starts in the core of the application and is added to the template object in the index file on line 61 Template::Set('MODULE_NAV_INC', $NAVBAR); then in the nav file it is displayed using the command; <?php echo $MODULE_NAV_INC;?> The links are created within the pages module.
-
You can include the codon.config.php file in your script and have access to all the functions within phpvms. Here are a couple of threads on this; http://forum.phpvms.net/topic/3394-external-pilot-centre http://forum.phpvms.net/topic/3686-implenting-codonconfigphp-in-a-standalone-php-page
-
If you want to pm me your login's I will switch it for you, and I would suggest doing it through Team-Viewer so you can see how it is done.
-
Did you install the new sql tables?
-
Using phpMyAdmin export the smf database to a file then import the file into the phpvms database. Then edit the settings.php file in your smf install to refelect the change of database.
-
It seems to work on my test install. Do you have any records for the pilot with a landing rate?
-
You can move your smf tables into the same database with your phpvms tables then change the config in your smf install to point at the right database. You should not lose anyone.
-
It could be a couple of things. - Did you rn the function to populate the table with data initially? - Are any of your pireps recorded using an ACARS client? It will not calculate manual PIREPs.
-
The database tables for phpvms and smf both need to be in the same database.
-
AirMail 3.1 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 Developed by: simpilot www.simpilotgroup.com 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 -Cleaner templates to help with site integration Install: -Download the attached 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. 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> File Updated 9/2/2011 files changed: core/templates/sentitems.tpl core/common/MailDataClass.php File Updates 9/26/11 core/common/MailDataClass.php - NOTAM bug fix Code hosted on Github - Link In Signature.
- 149 replies
-
- 15
-
I have written the code (unreleased) to edit an existing tour but the issue becomes editing the tour when pilots have already flown routes within the tour. If you change a piece of the tour it then leaves a gap in the pilot record and defeats the "fly in order" theory of the tour system. I can set it to only allow edit if there are no pilot records attached to it as an option.
-
Sorry, I think you have mis-understood me. I did not mean it was too hard to do, I meant that it would just take some work and getting the "what if's" prior to writing a bunch of code is always a plus and saves some headaches along the way. I have seen this request for auto awards many times and never have had anyone come up with a clear idea of "what" (hours, flights, miles, landing rates, hair color, number of girlfriends, etc..) should trigger the award. It depends on what the VA is trying to achieve, and with that the task becomes trying to capture all the different posibilities to trigger an award, applying the award is the easy part then. You will have to leave some room to allow for the guy that shows up at the end and wants it to apply an award for somethng that had not been brought up already as well.
-
I just went to your site and used the url; http://angelairva.co.uk/index.php/popupnews and get the error that the module doesn't exist. Check and make sure both the module folder and the data class are in the file tree.