Moderators Parkho Posted November 3, 2012 Moderators Report Posted November 3, 2012 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: ------------------ --------- ----------- -------- Quote
Moderators joeri Posted November 3, 2012 Moderators Report Posted November 3, 2012 looks great only thing i would need is a pagnation now the list is so long its not good for the eyes annymore :-) Quote
Moderators joeri Posted November 3, 2012 Moderators Report Posted November 3, 2012 i adapted the file a bid but now something is wrong with pilots who have not send anny file could you help on this ? Quote
Moderators Parkho Posted November 3, 2012 Author Moderators Report Posted November 3, 2012 What's wrong? Quote
Moderators joeri Posted November 3, 2012 Moderators Report Posted November 3, 2012 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 Quote
Moderators Parkho Posted November 3, 2012 Author Moderators Report Posted November 3, 2012 I think you have used the date function and that counts the days from Jan 1st, 1970. Try using the following to calculate the days: <?php echo $pilot->lastpirep ;?> Quote
Moderators joeri Posted November 3, 2012 Moderators Report Posted November 3, 2012 let me look at this . also could you make somethign for pagnation? Quote
Moderators Parkho Posted November 3, 2012 Author Moderators Report Posted November 3, 2012 I used a pagination for one of my add on which I got from Google search, I can offer you that if you want. Quote
Moderators joeri Posted November 3, 2012 Moderators Report Posted November 3, 2012 would be great now its a verry long list Quote
Moderators Parkho Posted November 4, 2012 Author Moderators Report Posted November 4, 2012 Pagination added to the module. Please merge the new files and pilot_manager.tpl. Quote
Moderators joeri Posted November 4, 2012 Moderators Report Posted November 4, 2012 pagnation is not working Quote
Moderators Parkho Posted November 4, 2012 Author Moderators Report Posted November 4, 2012 Not working!!!???? Where did you upload the .js files? Quote
Moderators joeri Posted November 4, 2012 Moderators Report Posted November 4, 2012 there where no js files in the download :-) Quote
Moderators joeri Posted November 4, 2012 Moderators Report Posted November 4, 2012 now there is seems like github was not ready with the download when you posted the new version :-) working fine now Quote
Moderators Parkho Posted November 4, 2012 Author Moderators Report Posted November 4, 2012 Okay good! Quote
Stealthbird97 Posted November 4, 2012 Report Posted November 4, 2012 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. Quote
Moderators Parkho Posted November 5, 2012 Author Moderators Report Posted November 5, 2012 they all work just fine. Have you installed every part correctly? Also I didn't get what to amend!! Quote
Stealthbird97 Posted November 6, 2012 Report Posted November 6, 2012 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. Quote
Moderators Parkho Posted November 6, 2012 Author Moderators Report Posted November 6, 2012 Noted and fixed. Thanks Quote
ATAvCEO Posted November 7, 2012 Report Posted November 7, 2012 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? Quote
Moderators Parkho Posted November 7, 2012 Author Moderators Report Posted November 7, 2012 Very good idea. I will implement that first chance i get Thanks for sharing your thoughts. I guess that would make this module V3.0. Quote
ATAvCEO Posted November 7, 2012 Report Posted November 7, 2012 Yes I guess V3.0 would be the next one, lol. Your welcome. Thanks for taking into consideration, Parkho. You do great work Quote
mischka Posted November 7, 2012 Report Posted November 7, 2012 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 Quote
Moderators Parkho Posted November 7, 2012 Author Moderators Report Posted November 7, 2012 On 11/7/2012 at 4:06 PM, ATAvCEO said: Yes I guess V3.0 would be the next one, lol. Your welcome. Thanks for taking into consideration, Parkho. You do great work Thanks On 11/7/2012 at 4:21 PM, mischka said: 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 Quote
Stealthbird97 Posted November 7, 2012 Report Posted November 7, 2012 Didn't you say V3.0 would be payware? Quote
Moderators Parkho Posted November 7, 2012 Author Moderators Report Posted November 7, 2012 Not yet decided. I think I mentioned somewhere else the FlightBookingSystem_V3.0 would be payware. Quote
lorlandi Posted November 13, 2012 Report Posted November 13, 2012 Hello, i have a question, i need to make somo translation in your templates for my spanish site, every time when uploaded the tpl file the pilot manager do not work, page is in blank. Also some problems with the images. Can you help me. Thanks Quote
Moderators Parkho Posted November 14, 2012 Author Moderators Report Posted November 14, 2012 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 ;?>) Quote
lorlandi Posted November 14, 2012 Report Posted November 14, 2012 Ok, thanks for the help parko, i'll change just the english words not the codes. Regards Quote
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.