Jump to content

Petey

Members
  • Posts

    37
  • Joined

  • Last visited

Petey's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hello everyone, Having an issue and I believe Jeff said it must be something to do with PHPVMS' coding. Basically, I have a custom version of kACARS. In the custom version, there is a default login placed there for knowledge purposes (XXX1001 and a default password) - just to show how the pilots must login. Unforuntely, some pilots are just clicking the "login" button with those credentials in there. Somehow, the system is accepting that login! They end up showing on the ACARS map with a blank name and when they file, no PIREP being attached to their true account but rather account ID 901 by default. Is there anywhere in the coding I can change so that users cannot login using that default login and it will give them an error message if they do not have the proper ID and password? Since we have quite a bit of pilots, I hate to have to delete the PIREP, but no one ends up claiming it since it can file the PIREP with the system and they think that it is attached onto their account when in reality, it cannot connect with a proper pilot ID since they did not login properly.
  2. Always good to see organizations live successfully - keep it up!
  3. Thank you all! It undoubtedly took a long time to get the website up and functional. Really appreciate all the kind words everyone.
  4. Virtual Blue (VB) is a virtual airline organization based in the games of Microsoft Flight Simulator 2004 and Microsoft Flight Simulator X. We are a community of aviation enthusiasts and real world pilots who wish to take their aviation experience to the next level, through the use of a virtual airline. Our virtual airline, Virtual Blue, simulates real world schedules and procedures of jetBlue Airways. Being a simulated version of jetBlue Airways in the flight simulation world allows our pilots to operate throughout the Americas, using their fleet of Embraer E190 and Airbus A320 aircraft. Using their established core values of safety, caring, fun, integrity, and passion; Virtual Blue creates a community that surpasses any other virtual airline. Today, Virtual Blue is one of the newest, premiere virtual airlines to hit the skies. It features hundreds of routes and an extremely active community ran by VATSIM's finest members. Our community makes up diverse cultures from around the world aiming to ensure a positive, aviation enthusiast community for all members. Why not join Virtual Blue today? Visit us at http://flyvblue.org/ We look forward to seeing you in our community!
  5. Thank you so much, it worked a charm. You're magic .
  6. Hello guys, I know there is a PHP code for if you are logged in to show certain content. I was looking to see if anyone knows or can create a PHP code that basically does the same thing, but only shows the code if they are on the homepage. The reason for this is I need to put a script in the header and can't put it in the frontpage_main.tpl template. But I only want this code to be shown and ran on the homepage. So in a nutshell: <?php IF ON HOMEPAGE SHOW ?> Show this ----- <?php ?> Thanks guys .
  7. Dear all, Some may know me from the VATSIM world as a dedicated VATUSA member, past air traffic manager, and instructor on VATSIM. I have decided to venture on a journey towards the creation of a new virtual airline that is releasing next month. Myself and my staff have had a multitude of experience in the virtual airline field with the success of our last virtual airline which had a large dedicated pilot crew. We decided to continue the venture based off of the popular American airline, JetBlue. We have gained permission, have our website (which looks beautiful) close to all setup, and we are searching for staff members in the following positions: New York (JFK) Crewbase Manager Boston (BOS) Crewbase Manager Long Beach (LGB) Crewbase Manager Orlando (MCO) Crewbase Manager Fort Lauderdale (FLL) Crewbase Manager Chief Airline Events Officer Chief Training Officer Each position requires its own set of pre-requirements; however, preferred applicants have at least one year virtual airline management experience, basic HTML knowledge, and time towards the virtual airline. Applicants can send their letter of interest via private message on this forum. Unfortunately I did not release the website URL and the actual name of the virtual airline because we are making some finishing touches to the website and would prefer not to find people searching around the backend :-). Petey Shivery
  8. The easiest way to simulate this is via SimPilot's add-on: http://forum.phpvms.net/topic/2791-realschedulelite-beta-10/ It has jump-seat availability and plane availability per airport location based upon tail number.
  9. No other files need to be changed my friend. Do you have cPanel access? If you do, simply add a cron job to run daily, it will automatically run the maintenance script of PHPVMS which prunes which pilots are active and inactive in addition to many other troublesome items. You don't need cPanel access to run cron jobs, but it the most easiest way to go about it. When going into cron jobs add this following script: php -f /home/username/public_html/phpvmsdirectory/admin/maintenance.php And have it run once a day. (0/0/*/*/*)
  10. Petey

    Admin Link

    I'm sure you have something similar to this in your navigation bar: <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<a href="'.fileurl('/admin').'"><font color="#000000"><b>Admin Center</a></b> | '; } ?> Try just taking the HTML inside the echo out, but leaving the echo: <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo ''; } ?> Or is it a problem with the length of your navigation bar that you cannot remove it?
  11. A really easy way is by going into PHPMYADMIN, selecting your database, going to phpvms_pilots (or whichever table has your pilots). From there, check the pilots you wish to delete and drop them from the table. At least that's what I do when mass pruning pilots.
  12. EDIT: I found a code for a pilot's recent PIREPs, but it seems to either be outdated or I put it in wrong, because I'm receiving the following error: Parse error: syntax error, unexpected <?php echo $pirep= PIREPData::findPireps(array('p.pilotid' => [PILOT ID])); ?>
  13. Hey Simpilot, Is there a way to edit it to not have a departure time? Rather just a "click here to attend" button and it lists the pilots attending the event.
  14. Quick question, I found this following code: <?php MainController::Run('RouteMap', 'index'); ?> Unfortunately this shows all the routes. Is there one that links to just a certain pilot's flow route map, in Google Maps? Also, what is the code to pull a certain pilot's 5 most recent PIREP's? Thanks in advance, had trouble finding it.
×
×
  • Create New...