TAV1702 Posted May 30, 2011 Report Share Posted May 30, 2011 You know, I have that running on a couple test sites as well as 2 live sites and it woks properly on all of them AND none of them had that file. I wonder if it was a quick file edit we had to make to correct the issue. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted May 30, 2011 Report Share Posted May 30, 2011 One small bug found -> When deleteing a sent item it does delete the item but takes you to a non existant template. Open Mail.php and find lines 152-153 $this->set('mail', $result); $this->show('mail_deleted.tpl'); Remove and replace with -> header('Location: '.url('/Mail/sent')); That will take you back to the sent box. Here you go Roger. Give this a quick try. Quote Link to comment Share on other sites More sharing options...
RogerB Posted May 31, 2011 Report Share Posted May 31, 2011 Thanks will try that now.. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted June 2, 2011 Report Share Posted June 2, 2011 Roger, was that the problem? Quote Link to comment Share on other sites More sharing options...
chris2 Posted June 27, 2011 Report Share Posted June 27, 2011 Were do you put the images? edit: sorted Quote Link to comment Share on other sites More sharing options...
James142 Posted June 27, 2011 Report Share Posted June 27, 2011 I know it has come up before but has anyone here managed to add the code required to display the amount of mail in the inbox? Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted June 28, 2011 Report Share Posted June 28, 2011 Don't think so. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted June 30, 2011 Author Administrators Report Share Posted June 30, 2011 I know it has come up before but has anyone here managed to add the code required to display the amount of mail in the inbox? How about something like this in your mail data class public static function get_unopen_count($pid) { $query = "SELECT COUNT(*) AS total FROM airmail WHERE who_to='$pid' AND deleted_state='0' AND read_state='0'"; $count = DB::get_row($query); return $count->total; } and then in your template <?php echo MailData::get_unopen_count($Auth::$userdata->pilotid); ?> 1 Quote Link to comment Share on other sites More sharing options...
James142 Posted June 30, 2011 Report Share Posted June 30, 2011 How about something like this in your mail data class public static function get_unopen_count($pid) { $query = "SELECT COUNT(*) AS total FROM airmail WHERE who_to='$pid' AND deleted_state='0' AND read_state='0'"; $count = DB::get_row($query); return $count->total; } and then in your template <?php echo MailData::get_unopen_count($Auth::$userdata->pilotid); ?> Working, thanks Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted July 7, 2011 Author Administrators Report Share Posted July 7, 2011 I am cleaning up the freeware release of AIRMail 3.0 which includes most of the fixes and requests contained in this forum thread. - Any last requests? 1 Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted July 7, 2011 Report Share Posted July 7, 2011 I am cleaning up the freeware release of AIRMail 3.0 which includes most of the fixes and requests contained in this forum thread. - Any last requests? A new AIRMail? That is great Dave! I really like the way it is to be quite frank. You all but nailed it on the first try. The only thing I think it really lacked was a delete all function. Thanks Dave. +1 Quote Link to comment Share on other sites More sharing options...
JustinRomaine Posted July 15, 2011 Report Share Posted July 15, 2011 Hello guys I cant get the Images to work I put thim in the /lib/images/mailimages and i also posted them out of the folder in the images. but no luck Thanks Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted July 15, 2011 Moderators Report Share Posted July 15, 2011 As you can see, you are able to send "airmails" to a specific person or to all your members via the Notam. It will be good for me to check on the list the pilots to send this message. Quote Link to comment Share on other sites More sharing options...
dimitris Posted July 16, 2011 Report Share Posted July 16, 2011 yea multiple receivers will be a great feature to have also mailing lists would be good. Regards, Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 17, 2011 Report Share Posted July 17, 2011 The only thing I think it really lacked was a delete all function. Thanks Dave. +1 Ditto! It can be so much easier with that function on all the pages it is needed on. Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 17, 2011 Report Share Posted July 17, 2011 Hello guys I cant get the Images to work I put thim in the /lib/images/mailimages and i also posted them out of the folder in the images. but no luck Thanks There are a few things to check Justin. Try the following: Check the location to where you have the images linked to make sure they are there. Make sure the images' names have not been edited or formatted. There is a huge difference between .JPG and .jpg so make sure that the images are named correctly (some browsers show a blank space if you named the image image.JPG and the code is trying to find image.jpg) Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted July 20, 2011 Author Administrators Report Share Posted July 20, 2011 The mail images folder goes in the site root. (alongside your /core /admin /lib folders) Quote Link to comment Share on other sites More sharing options...
dimitris Posted August 24, 2011 Report Share Posted August 24, 2011 any news about v3 : Quote Link to comment Share on other sites More sharing options...
Virtualei Posted August 26, 2011 Report Share Posted August 26, 2011 Please ignore i got it sorted. I am getting the hang of this now............lol Please help i am getting this when i click on my nav bar AIRMail Menu•New message Folders•AIRmail Inbox •Sent Messages Folder Options•New Folder •Delete A Folder It doesnt seem to be in a table and when i click on on one of the options nothing happens Quote Link to comment Share on other sites More sharing options...
Colin Posted October 15, 2012 Report Share Posted October 15, 2012 Hi just a quick question regarding this module. In the sent messages is there a way to click on a sent message and display your sent message in full, the same as inbox does instead of just showing the overview ? The main reason I want to be able to do this is some pilots take a while to reply to sent messages and in a nut shell by the time they do get back to you I can't remember what I sent in the first place. As always any help appreciated Kind Regards Col Quote Link to comment Share on other sites More sharing options...
flyalaska Posted October 15, 2012 Report Share Posted October 15, 2012 Hi just a quick question regarding this module. In the sent messages is there a way to click on a sent message and display your sent message in full, the same as inbox does instead of just showing the overview ? The main reason I want to be able to do this is some pilots take a while to reply to sent messages and in a nut shell by the time they do get back to you I can't remember what I sent in the first place. As always any help appreciated Kind Regards Col V3 is already out - http://forum.phpvms.net/topic/5822-airmail-30/ 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.