wrenchca Posted May 16, 2009 Report Share Posted May 16, 2009 Hi Nabeel, If I read things correctly, the stats listed on the badge are supposed to be regenerated upon the filing of a pirep. It doesn't seem to be updating. Is there something that I may have missed in the configuration? Thanks, Chuck CYXU Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 16, 2009 Administrators Report Share Posted May 16, 2009 It changes when an admin approves the PIREP, not immediately on filing Quote Link to comment Share on other sites More sharing options...
wrenchca Posted May 16, 2009 Author Report Share Posted May 16, 2009 Any idea which template it is that does this? It is still not working here. Also, the transfer hours are not being added to the total hours. There might be something wrong with the template and I would like to overwrite it to see. Thanks, Chuck CYXU Quote Link to comment Share on other sites More sharing options...
goldenairways Posted May 16, 2009 Report Share Posted May 16, 2009 I have tried replacing the background for my sigs and it keeps the same one. I know its a different problem but instead of my starting a new thread, I would do it in here where it is also related. Thanks. And I think I have that transfer hours problem too. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 17, 2009 Administrators Report Share Posted May 17, 2009 There's an option in the local.config to include the transfer hours (I know the docs haven't been updated on this, haven't had time) Set your background image in your pilot center Quote Link to comment Share on other sites More sharing options...
goldenairways Posted May 17, 2009 Report Share Posted May 17, 2009 Ok, I put up a png and just got it working, but this is how my sig ends up: Thanks. Quote Link to comment Share on other sites More sharing options...
Strider Posted May 17, 2009 Report Share Posted May 17, 2009 Go to the admin panel and go to the maintenance area and click on refresh signature image. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 17, 2009 Administrators Report Share Posted May 17, 2009 There's also options in the config for the text color, etc Aha, wait, this one is in the docs: http://docs.phpvms.net/using_phpvms#signatures Quote Link to comment Share on other sites More sharing options...
wrenchca Posted May 18, 2009 Author Report Share Posted May 18, 2009 Ok, wanted to run a quick test before saying anymore. Just had a flight, accepted the pirep and there was no change to the stats on the badge. As well, it doesn't seem to be showing the transferred hours either. I am testing and setting this up for an existing VA with members that have well over 1,000hrs. As far as changes, I have changed the png image and changed the code to true in both the local.config.php and the app.config.php...(Transfer_Hours_in_Ranks). I am at a loss to explain why it does not seem to work for me. I did an update to 701 when it became available hoping that would help but no success yet. I can get their signatures to update via the admin panel, but it still will only show hours that are recorded as pireps in phpVMS. I have not been able to get the transfer hours to show on the badge. Chuck CYXU Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 18, 2009 Administrators Report Share Posted May 18, 2009 Oh ok, that's a bug then (the transfer hours not showing on the badge). It'll be fixed for 702 Quote Link to comment Share on other sites More sharing options...
wrenchca Posted May 18, 2009 Author Report Share Posted May 18, 2009 Excellent! I was sure it was something I had fudged up!! Quote Link to comment Share on other sites More sharing options...
wrenchca Posted May 19, 2009 Author Report Share Posted May 19, 2009 Well, I ran the 702 update, checked the local.config and app.config to ensure the transfer hours were set to true, regenerated the signatures and even flew another flight. The transfer hours are still not showing. :- I am going to do another test flight. I am not sure, but I don't think it added the flight hours automatically after the pirep was accepted either. Will let you know. Chuck CYXU Quote Link to comment Share on other sites More sharing options...
wrenchca Posted May 19, 2009 Author Report Share Posted May 19, 2009 I can confirm that the signature badge is not being regenerated when a pirep is accepted. I just completed another test flight and after the pirep was submitted, there was no change. I even closed Firefox and logged in with IE just to ensure it wasn't a cached page. As well, it does not reflect the transfer hours yet either. Chuck CYXU Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 20, 2009 Administrators Report Share Posted May 20, 2009 Did it regenerate the signatures though? The timestamps changed? I'll do some more debugging. Is the permissions on that folder/files set properly? Quote Link to comment Share on other sites More sharing options...
wrenchca Posted May 20, 2009 Author Report Share Posted May 20, 2009 I double checked the permissions on the lib folder and it was 777. I also changed the permissions on the signatures folder to 777 and did a regenerate. It updated my latest flight and hours but still did not take into account the transfer hours. I really appreciate all you are doing Nabeel. This is an excellent project. Chuck CYXU Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 20, 2009 Administrators Report Share Posted May 20, 2009 Okay I'll check it out again. Also, make sure the signatures themselves are 777. On the folder, you'll probably have to set a sticky bit, and set the permissions to "2777" Quote Link to comment Share on other sites More sharing options...
wrenchca Posted May 20, 2009 Author Report Share Posted May 20, 2009 Changed the permissions on the signature folder to 2777, changed the permissions on everything below that 777...still no joy chief. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 20, 2009 Administrators Report Share Posted May 20, 2009 I'll check the time's problem today Quote Link to comment Share on other sites More sharing options...
wrenchca Posted June 4, 2009 Author Report Share Posted June 4, 2009 Did you have any time to look into this Nabeel? Chuck CYXU Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 4, 2009 Administrators Report Share Posted June 4, 2009 it's on my list.. sorry. i've been swamped at work the last week Quote Link to comment Share on other sites More sharing options...
wrenchca Posted June 5, 2009 Author Report Share Posted June 5, 2009 No worries. ;D While I have your attention though, any idea how I could get the "View Details" and the "Pilot Brief" on the schedules page to open in a new window? I tried putting a "target_blank" in the code but all that did was mess up my encoding. Chuck CYXU Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 5, 2009 Administrators Report Share Posted June 5, 2009 It's target="_blank" (not sure if you meant that) 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.