-
Posts
2288 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by mark1million
-
yeah thats what i was suggesting, most pilots do have their own personal access to current airac so this would be a way of them to add a route via the route box straight in the the existing schedules database for that flight.
-
I would say without looking at the program the most requests i get is routes, the ability to update a routes by pasting a valid route in to the routes section of the program then if its less than a month old it gets updated to the database if not the existing route remains. For va's that have thousands of schedules keeping routes updated is impossible on a monthly bases, its a win win situation
-
Also check your permissions, if you are using the beta version then i would suggest you replace your .tpl files to php as this is a major change. Just make sure you have a backup or things will go wrong fast.
-
My charts work fine, there was an initial fix released then a revised one, its been a while since i have been in to the code but download the latest development version and check the ofc charts folder against your version. DO NOT replace your whole version as this will cause you more problems just compare files and see whats different.
-
Only the defined admin email, If you want others to monitor pireps then get them to add the rss feed to their client. yoursiteurl then /lib/rss/latestpireps.rss
-
missing lists after moving to different hosting company
mark1million replied to aarbee's topic in Support Forum
This is displayed when there is no data usually ie the value to be calculated is 0 -
Its in the core>common>PIREPData.class,php Its about line 756 in my file, it looks like this, thats not the whole section. if (Config::Get('EMAIL_SEND_PIREP') === true) { # Send an email to the admin that a PIREP was submitted $sub = "A PIREP has been submitted by {$pilotcode} ({$pirepdata['depicao']} - {$pirepdata['arricao']})"; $message = "A PIREP has been submitted by {$pilotcode} " ."({$pilotinfo->firstname} {$pilotinfo->lastname})\n\n"
-
You would probably be best modding your database to include the airline code, you can then restrict and call available aircraft using the modification.
-
What points system?
-
The url for the pilots to download the config file should be, http://eravirtualairways.com/en/action.php/acars/xacarsconfig I have my link in the profile_main.tpl <a href="<?php echo actionurl('/acars/xacarsconfig');?>">X-ACARS Config File</a>
-
No one seemed to use it and i moved all my services off my home unit to linux to save some cash so this server was turned off about 6 weeks ago.
-
Maybe a "VA Licence" would be more suitable, i have to agree with Tom about forcing users to have their own personal account. Vroute used this same kind of thing where you can call the parameters off their api and you get a return xml string of route data and such, the VA only had to pay for the current araic and this was all a backend function invisible to the user except from a logo at the bottom with "route provided by vroute".
-
Your password is not correct for the user specified. Check the password or username or create a new password and try again.
-
Exciting developments, ill be checking this out right now!
-
Sava, a good addition to this would be to approve the request and once approved they get added to a defined group ie leave, i have different groups and would need to add them to the group once approved. Hope you understand what im trying to say
-
The file you need to modify is Core>Common>PilotData.class.php In my file its around line 513 but yours may be different, /** * Completely delete a pilot * * @param int $pilotid Pilot ID * @return mixed This is the return value description * */ public static function deletePilot($pilotid) { $sql = array(); unset(self::$pilot_data[$pilotid]); $tables = array( 'acarsdata', 'bids', 'pirepcomments', 'pireps', 'fieldvalues', 'groupmembers', 'pilots' ); foreach ($tables as $table) { $sql = 'DELETE FROM '.TABLE_PREFIX.$table.' WHERE `pilotid`='.$pilotid; $res = DB::query($sql); } return true; } Thats the code so just take the pireps and pirepcomments out of the array. NOT TESTED please use at your peril.
-
Go to the pilot admin and comment out the code that deleted pireps, give me 5 minutes and i will post it.
-
We run a separate sql every hour to catch flights with 0 revenue, fuel and 0 pax load, the system will then do the rest for you. I run this on a cron and it works ok.
-
Looks ok to me just make sure your core folder permissions are set correct
-
Thats a server error message, get your host to make sure php is configured correctly
-
Just add a new field to the database this will not get undone on any update then just modify the stock file and create a back up of it which sits on the server, on any update all you have to do is then compare the differences from your modified backed up file against the new one.
-
This is probably more of a browser issue, are you using chrome?
-
The flights and pilots will remain as your using the same database if that's what you mean. There will be no need for your members to rejoin, all their data will still be there.
-
PHPVMS force servers go down on my hosting ?
mark1million replied to pedroportugal's topic in Support Forum
If your paying for hosting then you can get dedicated ie just your site for a small monthly amount. -
By looking at that list your skins folder is untouched, download a complete copy of your site to your desktop then delete everything from your home folder on the server, thats providing you have phpvms only in there. Download a new version of phpvms and upload to your server. Now go to your desktop where your old site is and check all the files in your active skin folder that they are clean, once satisfied upload them to your site, check also the local.config.php file and when your in there change your database password and save, then upload that to your core and you should be back to normal. If you have modified the other scripts you will need to re modify them again to your needs but basically thats the easiest thing to do.