Jump to content

warpennys

Members
  • Content Count

    34
  • Joined

  • Last visited

Community Reputation

11 Good

1 Follower

About warpennys

  • Rank
    Advanced Member

Recent Profile Visitors

2901 profile views
  1. warpennys

    Rank

    This is the way you test a variable: Activate the variable on the page where you need to use it from another module: <?php echo $leg = SchedulesData::getScheduleByFlight($flightAirlineCode, $flightAirlineCode2 ); ?> ($leg can be anything you want it to be, just used as an example.) Then put this at the bottom of the page and you will see the coded calls to use with $leg: <h3><?php echo var_dump($leg);?></h3> Once all the variables apear you would use it like this: <?php echo $leg->distremaining; ?> (any of the variables you want to use.) T
  2. PILOTS ONLINE and STAFF ONLINE with avatar, country, and link to profile It was late, so the only thing to add in this code is to have the counts show '0' when there are no pilots to count for staff and pilots online. Know that an admin must have access to your admin panel in order to be included in the Staff Online side of the table. Also, the pic below is not accurate, but only the first attempt. The code posted has been fixed to show staff only on the left and pilots only on the right. Also, the only problem with the code is the counts. Guests are counted correctly, however when a pilo
  3. I was thinking it was linux
  4. PILOTS ONLINE and STAFF ONLINE with avatar, country, and link to profile It was late, so the only thing to add in this code is to have the counts show '0' when there are no pilots to count for staff and pilots online. Know that an admin must have access to your admin panel in order to be included in the Staff Online side of the table. Also, the pic below is not accurate, but only the first attempt. The code posted has been fixed to show staff only on the left and pilots only on the right. Also, the only problem with the code is the counts. Guests are counted correctly, however when a pilo
  5. The source code can be found Here @ Github in the Files Changed Tab. If you are willing to assemble it and begin using it. You will need to copy the code from those pages referring to contacts. The file structure is as follows: core/common/ContactsData.class.php core/modules/Contacts/Contacts.php core/templates/contacts/contacts_home.tpl core/templates/contacts/view_contact.tpl You can get the info for the sql tables from Github. Before you can use this AirMail addition you must update AirMail 3.0 with the newest changes by Oxymoron. (information for that is here.) Keep in mind that we
  6. Yes, it will be packaged and be maid available as an addon as soon as Oxy has the time. For now, however the source code can be found Here @ Github in the Files Changed Tab. If you are willing to assemble it and begin using it. You will need to copy the code from those pages referring to contacts. The file structure is as follows: core/common/ContactsData.class.php core/modules/Contacts/Contacts.php core/templates/contacts/contacts_home.tpl core/templates/contacts/view_contact.tpl Before you can use this AirMail addition you must update AirMail 3.0 with the newest changes by Oxymoron. (
  7. Wunderful! Who wooda thunk it?! Good Job, Oxy!
  8. A little Update: The Address Book is available, thanks to Oxymoron. This is a really neat add-on module to work with Simpilots' AirMail 3.0. It's a separate module, because it can work with AirMail or without, provided the links to message a pilot are removed. This module is essentially a Buddy List. A link to add a pilot can be put in the Pilot's Roster, or on the public profile. Or even be called to show on the pilot center. If you are real familiar with PHPVMS you will see all the possibility's. This module is in current development for more features, however the working source code
  9. Not that hard. Update everything except the templates, and then compare the new ones adding and replacing the code where it needs to be in your design.
  10. Oh, wasn't even worried. But you get better, soon. Lots of rest, Sir. So far, not too many complaints. Oxy's pretty busy with his work, so it will be a bit before the next updates.
  11. I'm not sure where you are referring to seeing that code. and are you talking about the messages in your inbox? If you've removed your sql tables before updating to the new sql tables the messages would be deleted as well because they are stored in my sql. I'm not sure what you did since you are telling me you are still using 2.0. If you are using Airmail 2.0, I recommend updating to 3.0 completely and re skinning the modules templates to fit your needs. A clean update. The updates talked about here are for 3.0 and not 2.0. Alot of the files have basically been rewritten since 2.0, so if yo
  12. Thank You, Simpilot. And Thank You for an awesome module.
  13. Be sure you have all the parts and they are installed in the right directory. The Templates/Mail folder can be moved or copied to your skins directory for editing or skinning. The file the code there refers to is the mail/mail_message.tpl. If you do not have it or it is in the wrong place, then you will get that error. If you modified the mail_message.tpl incorrectly, that will cause the same result. Hope this helps.
  14. If the AIRMail module is updated properly, there shouldn't be a problem. If it is then you are having a problem caused by some other reason. ('.$subject.') on line 143 of the mail.php file in the modules/mail directory refers to a public static function written in the MailDataClass.php on line 83. Let me know if you have both of those files written and if you are still having the same problem. In Reference to the NOTAM Problem, on line 142 and 155 of the Mail.php file in the modules/mail directory " $sub = 'You have reveived a new message at '.SITE_NAME; is written to say its
  15. Interesting... Making a note for that one.
×
×
  • Create New...