Moderators Parkho Posted November 3, 2012 Moderators Report Share 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 Link to comment Share on other sites More sharing options...
Moderators joeri Posted November 3, 2012 Moderators Report Share 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 Link to comment Share on other sites More sharing options...
Moderators joeri Posted November 3, 2012 Moderators Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 3, 2012 Author Moderators Report Share Posted November 3, 2012 What's wrong? Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted November 3, 2012 Moderators Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 3, 2012 Author Moderators Report Share 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 Link to comment Share on other sites More sharing options...
Moderators joeri Posted November 3, 2012 Moderators Report Share Posted November 3, 2012 let me look at this . also could you make somethign for pagnation? Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 3, 2012 Author Moderators Report Share 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 Link to comment Share on other sites More sharing options...
Moderators joeri Posted November 3, 2012 Moderators Report Share Posted November 3, 2012 would be great now its a verry long list Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 4, 2012 Author Moderators Report Share Posted November 4, 2012 Pagination added to the module. Please merge the new files and pilot_manager.tpl. Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted November 4, 2012 Moderators Report Share Posted November 4, 2012 pagnation is not working Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 4, 2012 Author Moderators Report Share Posted November 4, 2012 Not working!!!???? Where did you upload the .js files? Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted November 4, 2012 Moderators Report Share Posted November 4, 2012 there where no js files in the download :-) Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted November 4, 2012 Moderators Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 4, 2012 Author Moderators Report Share Posted November 4, 2012 Okay good! Quote Link to comment Share on other sites More sharing options...
Stealthbird97 Posted November 4, 2012 Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 5, 2012 Author Moderators Report Share Posted November 5, 2012 they all work just fine. Have you installed every part correctly? Also I didn't get what to amend!! Quote Link to comment Share on other sites More sharing options...
Stealthbird97 Posted November 6, 2012 Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 6, 2012 Author Moderators Report Share Posted November 6, 2012 Noted and fixed. Thanks Quote Link to comment Share on other sites More sharing options...
ATAvCEO Posted November 7, 2012 Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 7, 2012 Author Moderators Report Share 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 Link to comment Share on other sites More sharing options...
ATAvCEO Posted November 7, 2012 Report Share 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 Link to comment Share on other sites More sharing options...
mischka Posted November 7, 2012 Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 7, 2012 Author Moderators Report Share 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 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 Quote Link to comment Share on other sites More sharing options...
Stealthbird97 Posted November 7, 2012 Report Share Posted November 7, 2012 Didn't you say V3.0 would be payware? Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 7, 2012 Author Moderators Report Share Posted November 7, 2012 Not yet decided. I think I mentioned somewhere else the FlightBookingSystem_V3.0 would be payware. Quote Link to comment Share on other sites More sharing options...
Stealthbird97 Posted November 9, 2012 Report Share Posted November 9, 2012 oh yeah. Quote Link to comment Share on other sites More sharing options...
lorlandi Posted November 13, 2012 Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 14, 2012 Author Moderators Report Share 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 Link to comment Share on other sites More sharing options...
lorlandi Posted November 14, 2012 Report Share Posted November 14, 2012 Ok, thanks for the help parko, i'll change just the english words not the codes. Regards 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.