Jump to content

PilotManager_V2.0


Parkho

Recommended Posts

  • Moderators

Hi All,

The Pilot Manager V2.0 is now ready for download at github.

Change Log:

1. Images removed and changed to buttons.

2. blank email, and edit buttons have been added.

3. The edit button will open a table where you can edit the pilot at the same page.

4. Email confirmation page has been added.

Update:

5. Pagination added.

Screenshots:

pm1.png

------------------

pm2.png

---------

pm3.png

-----------

pm4.png

--------

pn5.png

Link to comment
Share on other sites

  • Moderators

its now showing date like folowing in the emails

You are required to submit one PIREP 30 days. Your last PIREP was sent Your last flight was 15647 day(s) ago.You have -15617 days left until you are marked as retired

Please be advised if you do not send a report within the next 5 days your account will be deleted.

Sincerely

Link to comment
Share on other sites

Can you make an amendment to the code of the pilot_manager.tpl to fix a small format problem in future releases.

<td align="center"><?php echo $pilot->firstname.' '.$pilot->lastname ;?></td>

to

<td align="center"><?php echo $pilot->firstname.' '.$pilot->lastname ;?></td>

Also in your Rar File, you still have the images folder called Images when in the code it is images. so that is another change.

Also none of the

<?php echo $pilot->firstname.' '.$pilot->lastname ;?>

works in the works in the email template files.

Link to comment
Share on other sites

Well, there is no spacing between the first names and last names of pilots.

I sent you the code that is incorrect and what to change it with. You just missed out a space.

Also the Previous, Next buttons links are incorrect. You have the images links going to the images directory not the Images directory.

<img src="http://connectvirtualgroup.co.uk/lib/images/last.png" class="last">

when it should be

<img src="http://connectvirtualgroup.co.uk/lib/Images/last.png" class="last">

as thats how you have set up the directories. When you release the next version, just remove the capital letter from the Images folder in the RAR.

I also see on some images you have it linking to your site not the local site.

<img src="http://parkho.ir/phpvms/admin/lib/images/Warning.png">

Please provide the images and change the image source in the code so they are on the local site instead.

Link to comment
Share on other sites

Parkho,

Not sure how difficult it would be, but I had an idea that many may like. I personally like the whole pilot manager and I think this would be a great addition.

Anyways, I think it would be good to keep a history for all emails sent to pilots. I guess what would have to be done is create a database, and when an email is sent to a pilot it saves that email in the database. Now to access the history of emails for any given pilot you would just click on the pilot ID and it pulls a drop down list of all emails for that given pilot. Whether it be a warning, welcome or custom email.

My thought on this is this. Pilot doesn't fly by a specific time per the Operation Procedure, you send out a warning email to that pilot and it is then saved into the database. After say 7 days still no pirep submitted you can pull that pilot's email up get a reference date to put into a custom email letting that person know that they were notified on say 01/01/12 that they haven't submitted their first pirep and they are being removed or listed as retired, banned, etc. from the roster. This way the CEO or the Hub Managers have something to go by.

Thoughts?

Link to comment
Share on other sites

this is a really great plugin, well done!

It would be great to be able to provide a custom "where clause" to the query that returns the pilots list. In this way, you could make an advanced filter like displaying only those pilots who didnt file a pilot report for X amount of days, pilots that are member of certain groups, or pilots that have a certain rank

posibilities would only be limited by knowledge of sql, really :)

Link to comment
Share on other sites

  • Moderators

Yes I guess V3.0 would be the next one, lol. ;)

Your welcome.

Thanks for taking into consideration, Parkho. You do great work :)

Thanks

this is a really great plugin, well done!

It would be great to be able to provide a custom "where clause" to the query that returns the pilots list. In this way, you could make an advanced filter like displaying only those pilots who didnt file a pilot report for X amount of days, pilots that are member of certain groups, or pilots that have a certain rank

posibilities would only be limited by knowledge of sql, really :)

Well! To be honest I thought of that but at the end decided to make it less complicated since I wanted this module to be as simple as possible and basically more user friendly but anything is possible as far as the coding ;)

Link to comment
Share on other sites

  • Moderators

You need to change the English caption part of the TPL like below and the save the TPL with notepad and change the "Encoding" drop down accordingly.

remember not to change the codes that are written in English.(ex. <?php echo $pilot->name ;?>)

Link to comment
Share on other sites

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