Jump to content

simpilot

Administrators
  • Posts

    2773
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by simpilot

  1. I know it is on a new server for you, but it is a complete new install of phpVMS? What version is it?
  2. The flight phases in all the acars programs are created within the client except for a little difference in FSAcars. In fsacars.php you will find the following code that you can adjust to your needs. FSAcars provides just a phase number that corosponds to the formats below. $phase_short = array('null', 'Boarding', 'Departing', 'Cruise', 'Arrived'); $phase_detail = array('FSACARS Closed', 'Boarding', 'Taxiing', 'Takeoff', 'Climbing', 'Cruise', 'Landing Shortly', 'Landed', 'Taxiing to gate', 'Arrived'); For the other ACARS clients you are going to either have the client changed or change what is shown on your site using some if statements. Example <?php if($phase == 'taxi to gate'){$phase = 'Flight Complete';} echo $phase; ?>
  3. 1 - If you are using the default schedule search you should not be getting the disabled schedules as the function skips any schedule that is set to 1 or "true" in the enabled column. I would check to see if the schedules are actually disabled (set to 0 or "false" in the enabled column) in the database. If you are using an addon search module it may not be set to filter out the disabled schedules. 2 - There is nothing default to accomplish rejecting a PIREP if it is not flown on the scheduled day. The scedules_results template should be skipping over anything that is not flown the current day of the week. You should have the following code to skip non current day schedules in your template. /* Skip over a route if it's not for this day of week Left this here, so it can be omitted if your VA doesn't use this. Comment out these two lines if you don't want to. */ /* Check if a 7 is being used for Sunday, since PHP thinks 0 is Sunday */ $route->daysofweek = str_replace('7', '0', $route->daysofweek); if(strpos($route->daysofweek, date('w')) === false) continue; /* END DAY OF WEEK CHECK */ 3 - Yes, I believe that the proper format for time in the csv is - 12:15
  4. I would have to guess that you have the signature config set twice in your local config and the second one (which would override any previous declarations) is set to a much smaller font. That, or you have the font size hard coded into the module.
  5. If the pilot is logged in you should be able to use the existing user info from the Auth class. The code below should give you a raw dump of what information is available to you in that variable. <?php var_dump(Auth::$userinfo); ?>
  6. What is the link to the new site? Have you looked at the image in different browsers?
  7. SMF has a ready to go API that you can use to display posts among other things. There is a lot of good information here -> http://www.simplemachines.org/community/ssi_examples.php
  8. This is the second post about this incident, here -> http://forum.phpvms.net/topic/8479-atlas-virtual-airlines-attacked-and-gutted/ <- I suggested that it was someone that had passwords to at least the database and that the tables were emptied. If the database was completely gone you would not even get as far as you are showing now. The piece of your error; kins/CURRENT_SKIN/foot shows that the settings table is empty as it does not have a skin name to replace the constant "CURRENT_SKIN" I would say that your files are probably ok, you just need to repopulate your database with at least the basic data needed for the application to work. Take your last database backup and install it to the live site and I think your site will come back to life, you will only lose whatever happened between the last time you backed up and now.
  9. Where you install the forum does not matter as long as it is under the same domain. You do have to put the smf database in the same table as phpVMS for it to work though.
  10. Hi Ray, I really try to keep support for paywar emodules out of this forum as I do not watch it that closly and it is not what this forum is about, but.... I think this may help you out -> http://www.simpilotgroup.com/forum/index.php?topic=66.0 Nice to see you back in the fold.
  11. I am not sure what you are requesting here. The moderators have no way of telling what happened to your site from the forum. I would look through your server logs and see what was going on right around the time things went south. Most hosts also have an abuse and security department that can often help with finding at least how it happened to try and not let it happen again. Going to your site here -> http://www.atlasvirt...s.com/index.php you can still see that the site itself is still there is just has no database info in the settings table. If I were to investigate I would start looking at who had login credentials to your web hosting control panel, possibly cPanel, and any database administration tools, like PHPMyAdmin. If your site was truly hacked I would think that everything would be gone and there would be a page posted with the person gloating the fact that he hacked it. This looks more like someone that had access to the databases at an administrative level, or possibly a corruption in the sql server. Do you have any other databases on the same server that survived? The newest pilot's email on the site seems strange to me as well -> AVA0540 Selim99@abv.bg Selim
  12. Use a url with action.php instead of index.php mysite.com/action.php/mymodule
  13. Have you been able to package the skin with the extended license?
  14. Send me an email, I think I might have something for you. david@simpilotgroup.com
  15. If you are using the auto retire feature I think you can just manually set their last pirep date to a date far in the future and not show it on the list. I am pretty sure that is what it keys off of.
  16. You could create a fictional airport and make it a hub, then assign those pilots to that hub. Just manually put in the airport name and such from the admin panel. Just name it "Honor List" or something.
  17. I am just curious if you have made some kind of agreement with the author of the base template to be able to redistribute the theme and also copyright it in your own name? It seems as though this is a compilation of -> http://themeforest.n...hor=ThemeMakers preview here -> http://themeforest.n..._preview/155505 - and the css files still carry the original authors name. If you have an agreement in place with the author then you need to include a copy of the extended license within the source code or anyone that uses it is opening themselves up for legal issues.
  18. The code was merged into the original package on GitHub here -> https://github.com/DavidJClark/phpVMS-VatsimDataReader
  19. I think that FSAcars does not report a heading to the system. You may find more info here -> http://forum.phpvms.net/topic/2154-fsacars-heading/
  20. You can change what is displayed in the template - mail_check.tpl echo '<img src="'.SITE_URL.'/core/modules/Mail/mailimages/new_mail.gif" border="0" /><br />'; echo 'You Have Mail'; You can remove the image link and just leave the "You Have Mail" text. You should be able to have the number of messages in the $items variable, maybe something like this will work for what you are wanting. echo 'You Have '.$items.' New Messages';
  21. I would also check the local.config.php file and anything else that you may have had to edit when you switched servers. That error is not likely coming from the database.
  22. There is no really easy way to have a email templating system in the admin email as it is now. Best bet would be to create a module for the admin side that has email templates included.
  23. Did you try running the initial command to populate the table with the base data? yoursite/index.php/TopPilot/refresh_pilot_stats
  24. Look at the very start of your app.config file for any whitespace or characters prior to the opening php tag. That is usually causes these types of errors. Wrong `<?php wrong <?php right <?php
  25. Due to a backlog in work and my personal life status I am looking for a motivated freelance graphic designer(s) that is(are) capable of producing graphic images, psd templates, and advertising banners for use on business web sites as well as virtual airlines. This person needs to be able to communicate in English and in a reasonable amount of time. Work is available immediately. Prompt payment via PayPal when any work is completed or goals are reached. If you are in the USA any income you receive will be reported by my company and a 1099 will be sent to you at the end of the year. Depending on your situation you may or may not have to claim the income at the end of the year with the IRS. If you are interested please conatct me at david (at) simpilotgrop.com and attach some examples of your work or include some links to your work. Also include your requirements for payment. *Any work furnished in this manner will be copyrighted to the final user for the project it is created for.
×
×
  • Create New...