Jump to content
  • Announcements

    • Parkho

      New Website Skin   11/17/17

      Hello Guys, I have changed my website's skin to bootstrap version. Please check it out here and let me know if your need the skin. Regards Parkho
simpilot

AirMail 3.0

Recommended Posts

simpilot    2128

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.

  • Like 13

Share this post


Link to post
Share on other sites
Guest   
Guest

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?

Share this post


Link to post
Share on other sites
simpilot    2128

Did you drop the old tables first? A new sql file will not overwrite an existing table of the same name generally.

Share this post


Link to post
Share on other sites
dimitris    29

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....

Share this post


Link to post
Share on other sites
simpilot    2128

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?

Share this post


Link to post
Share on other sites
dimitris    29

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:

mail.png

DB:

db_mail.png

Share this post


Link to post
Share on other sites
simpilot    2128

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.

  • Like 2

Share this post


Link to post
Share on other sites
dimitris    29

Thanks! Just one more thing :D 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

Share this post


Link to post
Share on other sites
Cor    20

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

Share this post


Link to post
Share on other sites
mattia    23

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

Share this post


Link to post
Share on other sites
simpilot    2128

@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 ?

Share this post


Link to post
Share on other sites
mark1million    159

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?

Share this post


Link to post
Share on other sites
Tylor Eddy    51

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

Share this post


Link to post
Share on other sites
beerguts    4

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>

Share this post


Link to post
Share on other sites
Cor    20

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×