Jump to content

beerguts

Members
  • Posts

    36
  • Joined

  • Last visited

Posts posted by beerguts

  1. Also I don't know if anyone else has experienced an issue when an Airmail is replied back and forth between two people. It is only displaying what the other person has said throughout the conversation, not what you have been saying. This means you have to look in sent messages to see what your replies have been.

    Hey Dave,

    Did you manage a solution to this issue?

  2. Yes I have the latest version installed.

    A question.... Does the AirMail distribution list have anything to do with the groups in phpVMS? i.e. does it send NOTAM AirMails to everyone in the "All Pilots" group?

    Looking at the code I don't think it does... but in my case I don't have an "All Pilots" group, instead I have a group for each Hub along with retired members group.

    I'm just wondering if by me deleting the "All Pilots" group I have caused the issue.

  3. Thanks for your quick reply Dave. I don't think that update addressed the issue.

    There are two problems I am running into. The first is that any NOTAM I send is only being sent to me (i.e is not being received by all pilots)

    The other issue is when an Airmail is replied back and forth between two people. It is only displaying what the other person has said throughout the conversation, not what you have been saying. This means you have to look in sent messages to see what your replies have been.

    Thoughts?

    ***EDIT***

    Looking at my Airmail table in my database table it isn't increasing the NOTAM column incrementally like it should. It sends it to the first person (which happens to be me) but then it stops.

  4. Hi,

    The key is to learn how the MVC (Model, View, Controller) structure works. phpVMS is based on this structure.

    Check out this post from Simpilot which is a very good explanation of how the structure works using a simple example in phpVMS:

    http://forum.phpvms.net/topic/4095-solved-with-many-thanks-coding-noob-need-help/page__p__27456#entry27456

    In basic terms the Model is where you extract the data from the database. The view is how you want the data displayed on your site. The controller is the glue that connects both the model and the view and is used to control the data - when a user requests something on your site it handles the request by coordinating the model and view.

    That's a very basic explanation. I would recommend searching google for explanations on MVC. Once you understand the basics you can build your knowledge from there and subsequently develop your modules.

    Some of the other experienced coders may be able to clarify further.

    • Like 1
  5. I seem to be having an issue with NOTAM's not being sent to all my pilots. I'm running the latest beta so I'm not sure if that has something to do with it or not. I'm also running the latest version of Airmail (3.1.2).

    Airmail seems to work fine between two people but not NOTAMS. When I send one I will get the new message but no one else does. Any ideas on this one?

    Thanks in advance for your help!

    Can anyone confirm if there was there a solution to this issue? I have just noticed the same thing is happening at my VA (took a while before people started to say they hadn't had much communication from me!)

    Also I don't know if anyone else has experienced an issue when an Airmail is replied back and forth between two people. It is only displaying what the other person has said throughout the conversation, not what you have been saying. This means you have to look in sent messages to see what your replies have been.

    Any help appreciated. :)

    Hi Dave,

    Sorry to keep beating on about this. Are you able to please confirm the status of these issues please? Has anyone managed to come up with a solution?

  6. Hi All,

    I am trialling using FSPax on our site and have two issues that I was wondering if anyone else had experienced.

    The first is the display of the pirep on the site after it has been submitted. For some reason there is a "n" in front of each line of text. Usually that is where the time of each event is logged but FSPax doesn't record that information so I assume it has something to do with that. Nonetheless does anyone know how I can remove the "n"?

    Here's part of the pirep so you can see what I mean: (the "n" is in front of every single line)

    nAircraftType=MET

    nNbrPassengers=39

    nCargoWeight=0 lbs

    nMtow=34499 lbs

    nStartAircraftWeight=31971 lbs

    nEndAircraftWeight=30851 lbs

    nStartFuelQuantity=1014 kg

    nEndFuelQuantity=499 kg

    nDepartureIcaoName=YSSY - Kingsford Smith Intl - Australia

    nArrivalIcaoName=YSDU - Dubbo - Australia

    nDepartureLocalHour=20:05

    nArrivalLocalHour=19:57

    nDepartureGmtHour=10:05:00

    nArrivalGmtHour=10:57:00

    nTotalBlockTime=00:52:26

    Secondly, in the pirep table (in the DB) FSPax records the aircraft used as whatever aircraft is allocated for the schedule flown. For most VA's that would be fine except in ours we give the pilot the option of choosing which aircraft they use for a flight (within categories). This means the category is displayed but in programs like kacars that can be changed at the start of the flight depending on which aircraft the pilot decides to fly.

    Is there any way that a pilot can amend which aircraft is to be used (and recorded in the pirep) for the flight in FSPax?

    Thanks in advance for your help :)

    • Like 1
  7. I seem to be having an issue with NOTAM's not being sent to all my pilots. I'm running the latest beta so I'm not sure if that has something to do with it or not. I'm also running the latest version of Airmail (3.1.2).

    Airmail seems to work fine between two people but not NOTAMS. When I send one I will get the new message but no one else does. Any ideas on this one?

    Thanks in advance for your help!

    Can anyone confirm if there was there a solution to this issue? I have just noticed the same thing is happening at my VA (took a while before people started to say they hadn't had much communication from me!)

    Also I don't know if anyone else has experienced an issue when an Airmail is replied back and forth between two people. It is only displaying what the other person has said throughout the conversation, not what you have been saying. This means you have to look in sent messages to see what your replies have been.

    Any help appreciated. :)

    • Like 2
  8. 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>

  9. Hi All,

    I've searched quite a few threads but can't see any that match this exact issue.

    Basically any email sent from the site (ie. group emails through the admin panel or automated emails like the registration emails) are not being received by anyone.

    We are, however, receiving notification emails to the nominated site address (i.e when a PIREP has been filed or someone has registered).

    The email address matches our hosting account email.

    Any ideas?

    Thanks in advance for your help. :)

  10. There may be a couple of things you can check to see if they are conflicting your searches.

    1. See if there are actually flights out of all your destinations.

    2. Make sure that the Days of Operations aren't conflicting with it, since you might have flights that aren't scheduled to fly that day, so it can't continue the search.

    Thanks for the suggestions. Checked to make I had them covered - had one airport without a departure leg and a couple of routes that didn't fly everyday. Changed those but still no luck :(

  11. Hmmmm. The ranks appear to be correct.

    I've recently imported a number of airports - perhaps that has affected things?

    I've also just noticed some of the route distances are off after recalculating - not sure if that would have an impact.

  12. Hi Jeff,

    I'm having an issue with the Random Itinerary builder.

    It doesn't often build the correct number of flights as selected. I will put in 5 flights and it might show 3 (or something different)

    The only changes to the template is adding the option to select 1 or 3 flights and deleting the 15 flight option.

    I have plenty of schedules that would allow the continuity of the legs.

    Any ideas?

  13. Hello All,

    Currently our awards display on a pilot's profile in the order they earn them. They are displayed horizontally across the page and when the line is filled with awards a new line is started.

    I have one particular award that when earned by a pilot should be displayed at the top of their profile on it's own line.

    Is there a way I can prioritize the order in which awards are displayed?

    Thanks in advance for your help. :)

  14. Hello All,

    Can anyone give me an idea on how to display a list of the latest awards received by pilots in a VA. Essentially I would like to show the image of the award and the pilot who earned it.

    Any help appreciated.

    :)

  15. I had this same problem but have figured it out.

    You need to change the default values for rankid rank and ranklevel in the pilots table in your DB which are currently set to 0,New Hire,0

    You can do this through phpMyAdmin or whatever DB admin tool you are using. :)

  16. I have manual promotions thus no automatic hour requirement

    Yeah I do have hours - but really they are rank numbers. ie. first rank has hour requirement of 1 and highest rank has hour requirement of 12.

    I should add that I have a cron job that automatically promotes based on hours for the pilot ranks (first 6 ranks). The remainder are staff ranks that are manually assigned.

  17. Hi All,

    I have a couple of issues with rank levels.

    I have 12 ranks.

    For some reason when a member joins their rank level defaults to 12 (it should be 1)- their rank id and rank name is correct though.

    Also whenever I change someone from active to inactive in the admin panel, their rank level changes to 12.

    Any thoughts?

×
×
  • Create New...