TAV1702 Posted December 7, 2009 Report Share Posted December 7, 2009 I took the private pilot exam today and it was flawless. Worked great. later on tonight, I flew a flight and uploaded a pirep and recalculated everything in the control panel, and it gave me the money back that it took from me today to take the exam. So if pilots pay, they get the money back on recalcs. phpVMS Version 2.0.812 Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted December 7, 2009 Author Administrators Report Share Posted December 7, 2009 hmmmm. seems as though when a pirep is approved it doesnt just add the pay for that flight to the money in the pilot's "bank" but recalculates all the pireps.... I will have to find some kind of work around, probably going to end up being another table for the examcenter for pilot pay, with a listener for pireps...... Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted December 8, 2009 Report Share Posted December 8, 2009 As slick as it is working now, I'm more than sure you will find a easy fix I just happened to notice that last night and I knew it had to be brought up. I had another guy testing it all out today on my site and he likes it as well. I'm thinking this is going to go over very well on my site once I open it up public. Thanks again for your hard work. It is appreciated. Quote Link to comment Share on other sites More sharing options...
hjhjhgjgjh Posted December 9, 2009 Report Share Posted December 9, 2009 by the way how is it going on with the script? any news about that "application exam" ? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted December 9, 2009 Author Administrators Report Share Posted December 9, 2009 by the way how is it going on with the script? any news about that "application exam" ? Gotten side tracked this week with a project at work, I should be back at it this weekend Quote Link to comment Share on other sites More sharing options...
JackPlumb Posted December 18, 2009 Report Share Posted December 18, 2009 Hiya, is this compatible with phpVMS 1.2.700? If not is there an easy fix to allow it to work with it? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted December 19, 2009 Author Administrators Report Share Posted December 19, 2009 Hiya, is this compatible with phpVMS 1.2.700? If not is there an easy fix to allow it to work with it? It will not function properly in 700 - it uses some functions that did not appear until around the 770 version. You could re-write most of the code to function but I think it would be easier to upgrade to the newer version when it comes out, or a beta now. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted December 20, 2009 Administrators Report Share Posted December 20, 2009 For error messages or success messages, do: <?php $this->set('message', 'some message'); // error $this->render('core_error.tpl'); // success $this->render('core_success.tpl'); Or the Template::Set()/Template::Show() equivalents That keeps that standard across the other code, since those templates can be modified Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted December 20, 2009 Administrators Report Share Posted December 20, 2009 hmmmm. seems as though when a pirep is approved it doesnt just add the pay for that flight to the money in the pilot's "bank" but recalculates all the pireps.... I will have to find some kind of work around, probably going to end up being another table for the examcenter for pilot pay, with a listener for pireps...... This I have to check. I think it was a quick workaround for what I was doing at the time. It shouldn't be recalculating all the PIREPs though, that would be wrong. Also, any other issues let me know since I'm planning to release soon so I can take care of any issues or other hooks you might need. Quote Link to comment Share on other sites More sharing options...
JackPlumb Posted December 20, 2009 Report Share Posted December 20, 2009 simpilot, is there a release that you could make that would allow this to work on 1.2.700. As yes we could upgrade to BETA but alot of us prefer to wait till the official release is out. Quote Link to comment Share on other sites More sharing options...
hjhjhgjgjh Posted December 20, 2009 Report Share Posted December 20, 2009 then better wait those couple of days cause it would take longer to make it for 12700 Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted December 20, 2009 Author Administrators Report Share Posted December 20, 2009 simpilot, is there a release that you could make that would allow this to work on 1.2.700. As yes we could upgrade to BETA but alot of us prefer to wait till the official release is out. Sorry, I am moving forward with the EXAMCenter and coding it to the new release of phpVMS. I really do not want to spend the time going backwards. You are more than welcome to change the script to fit your needs. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted December 20, 2009 Administrators Report Share Posted December 20, 2009 simpilot, is there a release that you could make that would allow this to work on 1.2.700. As yes we could upgrade to BETA but alot of us prefer to wait till the official release is out. It'll be out in a couple of weeks, so you could wait if you'd like. There were major changes in the backend which can't really be ported backwards easily. Quote Link to comment Share on other sites More sharing options...
coryb12 Posted January 6, 2010 Report Share Posted January 6, 2010 Tried this with the phpVMS 2.0 release and get this error in the admin section of this: Notice: The template file "D:Hosting5046672html/admin/templatesfrontpage_main.tpl" doesn't exist in D:Hosting5046672htmlcoreclassesTemplateSet.class.php on line 227 Quote Link to comment Share on other sites More sharing options...
goldenairways Posted January 6, 2010 Report Share Posted January 6, 2010 "D:" means its on your computer, so you need to replace that with the link which is on your hosting I beleive. Quote Link to comment Share on other sites More sharing options...
Strider Posted January 7, 2010 Report Share Posted January 7, 2010 I have downloaded this and installed it, but it has done something funny to my site, i am unable to see the news, for some reason it hasd created some sort of error and is not letting the news show, any way of fixing it, i am using phpvms version 2.0.852 Cheers Dan C Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 8, 2010 Author Administrators Report Share Posted January 8, 2010 Tell your site to Straighten Up! Could you post the error you are getting or maybe explain "something funny" a little more. 8) Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted January 8, 2010 Moderators Report Share Posted January 8, 2010 yes indeed a website is like a woman somthimes they also act funny Quote Link to comment Share on other sites More sharing options...
Strider Posted January 8, 2010 Report Share Posted January 8, 2010 All the news will not show up, nothing just the sidebar, it is only affecting the frontpage, no other page. It is not giving me an error, it is just showing blank. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 8, 2010 Author Administrators Report Share Posted January 8, 2010 hmmm - all other pages work correctly? - Can you paste your frontpage_mail.tpl to pastebin and give us the link. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted January 9, 2010 Moderators Report Share Posted January 9, 2010 Excellent addition worked first time Just one question is it possible to change the $ to £ as the system doesn't seem to use the local config to get the singes? Nice work! Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 10, 2010 Author Administrators Report Share Posted January 10, 2010 You can change the $ sign in the tpl files that exam center uses. I did not build the signs into the active data of the module, good idea though. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted January 10, 2010 Moderators Report Share Posted January 10, 2010 No worries thanks for your great additions Off to edit the tpl's Quote Link to comment Share on other sites More sharing options...
shiljo Posted January 26, 2010 Report Share Posted January 26, 2010 One stupid question as i didnt see it here, how to install that, just put via ftp on site in phpvms folder? or how? and will link work automatically or i have to fix that, thx Quote Link to comment Share on other sites More sharing options...
JohnMck93 Posted January 26, 2010 Report Share Posted January 26, 2010 put examimages in your root folder insert the sql into your db open up the core folder. Open up common insert the file into the common folder then go to the module folder copy those two folders into your module folder in phpvms and copy all the template files into the template folder in phpvms all by FTP. Hope that helped Quote Link to comment Share on other sites More sharing options...
shiljo Posted January 29, 2010 Report Share Posted January 29, 2010 works fine to me, but, doesnt get money from pilot?? All account stays the same, and on exam page, just on questions page it shows nothing where ammount of money on account must be...any idea? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 29, 2010 Author Administrators Report Share Posted January 29, 2010 What version are you running? I can't seem to reproduce the error here. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted January 30, 2010 Report Share Posted January 30, 2010 Say I go in the Exam admin and close the exam center down. When one clicks the Exam Center link in the nav, it takes them to a page that says sorry exam center is closed. Can you tell me what tpl file that is please? I edited it once before and am wanting to edit it yet again and I for the life of me can not find where I edited that at. :-[ I have looked and looked to the point of me needing to walk away and enjoy a home brew then come back to it. ;D Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 30, 2010 Author Administrators Report Share Posted January 30, 2010 - sorry about that, its not in a template - the closed message comes directly out of the exams.php on line 15. Also, You may want to slow up a little, I am working on the next version of the center right now and I am not sure what all you are workng on but the entire admin portion of the module is just about rewritten and is now in the phpvms admin panel. The testing side is not changing much, gonna be able to have an entranace exam and a couple of other new things, as well as be able to delete old questions and exams. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted January 31, 2010 Report Share Posted January 31, 2010 All I did was change the status to closed. I want to add an image in there that I have and it will say Sorry Exam Center is under construction. Please check back soon it is a cool pic of Homer and Bart. 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.