Jump to content

Recommended Posts

  • Administrators
Posted

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 15
Posted

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?

Posted

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

  • Administrators
Posted

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?

Posted

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

  • Administrators
Posted

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
Posted

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

  • 2 weeks later...
Posted

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

Posted

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

  • Administrators
Posted

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

Posted

@simpilot

when I installed the airmail V3.1.1, I deleted the old tables before putting new tables

Posted

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

  • 3 weeks later...
Posted

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>

Posted

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

  • 2 weeks later...
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...