Administrators simpilot Posted September 1, 2011 Administrators Report Share Posted September 1, 2011 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. 15 Quote Link to comment Share on other sites More sharing options...
Guest Posted September 1, 2011 Report Share Posted September 1, 2011 Hi I have installed AIRMail 3 from the previous version but when I send out mail it doesn’t show up in either the sent box or the recipient’s inbox (but does say ‘You have Mail’) any ideas? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 1, 2011 Author Administrators Report Share Posted September 1, 2011 Did you install the new sql tables? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 1, 2011 Report Share Posted September 1, 2011 Yer i reinstalled the Tables and placed all the files and folders into the system. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 1, 2011 Author Administrators Report Share Posted September 1, 2011 Did you drop the old tables first? A new sql file will not overwrite an existing table of the same name generally. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 1, 2011 Report Share Posted September 1, 2011 I just dropped them and reinstalled them and now all works fine thanks Quote Link to comment Share on other sites More sharing options...
CPC900 Posted September 1, 2011 Report Share Posted September 1, 2011 Works good. Good job Simpilot! Quote Link to comment Share on other sites More sharing options...
dimitris Posted September 2, 2011 Report Share Posted September 2, 2011 Hi! THANKS for this Dave Only one small problem I found when sending a NOTAM to pilots... it is inserting the NOTAM to the table with the same thread_id for everyone so when I click to read the message, I m getting the same message multiplied with the number of pilots.... Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 2, 2011 Author Administrators Report Share Posted September 2, 2011 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? Quote Link to comment Share on other sites More sharing options...
dimitris Posted September 2, 2011 Report Share Posted September 2, 2011 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? Yes I did uninstall the previous version and i dropped the tables. Check here: phpVMS: DB: Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted September 2, 2011 Report Share Posted September 2, 2011 I can verify it as well. and +1 by the way. Thanks for this Dave. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 3, 2011 Author Administrators Report Share Posted September 3, 2011 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. 2 Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted September 3, 2011 Report Share Posted September 3, 2011 That fixed it. Thanks a million! +1 more Quote Link to comment Share on other sites More sharing options...
dimitris Posted September 3, 2011 Report Share Posted September 3, 2011 Thanks! Just one more thing when I try now to open any mail i'm getting this: Warning: Invalid argument supplied for foreach() in /home/xxxx/public_html/fss/core/templates/mail/mail_open.tpl on line 19 Quote Link to comment Share on other sites More sharing options...
flyalaska Posted September 3, 2011 Report Share Posted September 3, 2011 Everything works fine so far. Love the option to get an email when you get a new message. Quote Link to comment Share on other sites More sharing options...
Cor Posted September 16, 2011 Report Share Posted September 16, 2011 One of my members came with a question and that is why he can not open his sent messages. He wants to look sometimes back what he has written in the matter at hand. Can this be done? As Always aith regards, Cor Quote Link to comment Share on other sites More sharing options...
mattia Posted September 19, 2011 Report Share Posted September 19, 2011 when I open a NOTAM appears this error and not reading the message Warning: Invalid argument supplied for foreach() in /home/web/italianivolanti.it/iv/core/templates/mail/mail_open.tpl on line 19 Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 21, 2011 Author Administrators Report Share Posted September 21, 2011 @cor - Will look at that, looks like I did not add a link when i removed the body in that display to clean it up. @mattia - Did you update your AirMail tables in the database when you put in AirMail 3.x ? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 21, 2011 Report Share Posted September 21, 2011 @simpilot when I installed the airmail V3.1.1, I deleted the old tables before putting new tables Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted September 21, 2011 Moderators Report Share Posted September 21, 2011 I have 2 years worth of mail except from the deleted items which i ran a line of sql to delete, Is there a way to preserve folders and saved mail from the old system? Quote Link to comment Share on other sites More sharing options...
RogerB Posted September 22, 2011 Report Share Posted September 22, 2011 So far working good. Nice job. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 26, 2011 Report Share Posted September 26, 2011 This is my problem: http://s4.imagestime.com/out.php/i599346_NOTAM.png this error appears when i open a NOTAM Thanks and sorry for disturb Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted September 26, 2011 Moderators Report Share Posted September 26, 2011 HI have you sent any notams? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 26, 2011 Report Share Posted September 26, 2011 yes, when i open a notam appears this error and I can not read the message Quote Link to comment Share on other sites More sharing options...
Tylor Eddy Posted September 26, 2011 Report Share Posted September 26, 2011 G'day Simpilot, How can i make the emails stay structured once sent. Once they get sent, it doesn't account for any spacing between lines, or look the way i originally set it out. Is there anyway to change this ? i was reading about wrap="physical", but it doesn't work with mozilla, is there any other options to make these emails a bit easier to read ? Cheers Tylor Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 26, 2011 Author Administrators Report Share Posted September 26, 2011 New package (3.1.2) uploaded to repair NOTAM bug. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 27, 2011 Report Share Posted September 27, 2011 Thank you very much simpilot Quote Link to comment Share on other sites More sharing options...
beerguts Posted October 18, 2011 Report Share Posted October 18, 2011 G'day Simpilot, How can i make the emails stay structured once sent. Once they get sent, it doesn't account for any spacing between lines, or look the way i originally set it out. Is there anyway to change this ? i was reading about wrap="physical", but it doesn't work with mozilla, is there any other options to make these emails a bit easier to read ? Cheers Tylor Hi Tylor, You need to add nl2br to line 27 of mail_open.tpl as follows: <td colspan="4" align="left"><b>Message:</b><br /><br /><?php echo nl2br($data->message); ?><br /><br /></td> Quote Link to comment Share on other sites More sharing options...
Cor Posted October 18, 2011 Report Share Posted October 18, 2011 One of my members came with a question and that is why he can not open his sent messages. He wants to look sometimes back what he has written in the matter at hand. Can this be done? Hi Simpilot, Any change to correct this little bug? Regards, Cor Quote Link to comment Share on other sites More sharing options...
P.I.A.S Virtual Posted October 31, 2011 Report Share Posted October 31, 2011 Hi Simpilot Can you intergrate the following features to AirMail3.0? 1. CC Option Can you add the option that a pilot can CC the message to another pilot (i mean send a copy to another pilot) 2. Text Box Styling Can you change the text box style give more options etc? Like the news text box in the PHPVMS Admin Panel? Thanks & Regards Ahad Imran PIAS Virtual PIASVIRTUAL.ORG Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.