Jump to content

simpilot

Administrators
  • Posts

    2773
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by simpilot

  1. All the files should have been loaded into your site structure just as they were structured in the download. The ExamCenter admin panel is a stand alone module and has nothing to do with the phpvms admin panel.
  2. The fix is only to close a security exploit recently found. As far as I know there has been no change to the pilots pay during recalculation fromt eh native phpvms code. I started to recode this module but kind of shoved it aside for aother things. If I start it up again I will include a fix for the pay issue.
  3. I do not see any error on your site... If it is in the admin side my guess is that you have left a piece of your modification in the files in that section. Try reloading the admin folder to your site and see if that clears it. If it is the error of "file_exisits" as described a few posts ago, that is a server config error I believe. As far as menu's, that is a skinning issue. I am sure if you post in the skinning forum someone will help you build a menu.
  4. Due to a security issue all the admin templates for the ExamCenter should have the beginning of the file modified to include the following. <?php if(!ExamsData::check_admin(Auth::$userinfo->pilotid)) { Template::Set('message', '<div id="error"><b>You must an EXAMCenter administrator to access this feature!</b></div><br />'); Template::Show('frontpage_main.tpl'); return;} ?> It should come before anything else on the page
  5. The link to the exam center needs to go on the main site, not in the admin section. The Exam center admin panel is a stand alone module and is not intergrated into the phpvms admin panel.
  6. It may be something with FSPax, It would be good to try to file a pirep using FSPax using airfields not already in your system and see if they show up after.
  7. It will depend on what you are working on as to what to use for a variable. In the popupnews module if you are trying to limit the characters of the subject line the data is presented in the template using the $subject variable. If you wanted to limit the subject to just say 10 characters you could do something like this in the template. <?php echo substr($subject, 0 , 9).'...'; ?> Which would give you something like:
  8. You need to contact your host, they will have to adjust the config of the server, unless you are on a dedicated or vps with root access you could make the changes yourself. Looking at it quick I would say some of the fastcgi settings are incorrect.
  9. I am making the assumption you have the realschedule module installed. There is no logic built into the controller that would save a route to the database. I would ask him what he is using for an acars client and go from there. It must be something in the priep file process would be my guess.
  10. simpilot

    Top pilots

    Moved to skinning
  11. simpilot

    PIREPS LIST

    Moved to skinning
  12. While I’m willing to come to these forums and help people out from time to time, I’m no personal helpdesk in any way, shape or form. This goes for stuff I’ve contributed myself as well as for the complete out-of-the blue support questions. If you have a question or need help: ask on these forums. Either find a related topic or start your own. Don’t PM me. Don’t email me. I won’t respond. Never. This isn’t because I don’t like you or because I think you don’t deserve help. This is because I have work and a life of my own that I find infinitely more important. I will help out when I can, and I’ll especially keep track of the topics for code I’ve contributed. But I have little time for people who think they can either abuse topics by going wildly off-topic to ask a certain user (like me) for help, or for people who think I’ll help out when they ask me by PM or email. All you’ll get by approaching me like that is that I’ll ignore you for as long as I remember you did. Some things about me Am I your "buddy", "dude", or "bro"? No I am not. If you are on a free host, expect problems, and no I do not know how to get around them. If you complain and bump topics because you have not gotten a response in 3.5 minutes, you are in too big of a hurry for me. If you have a module you think would be a benefit our community, let me know. If it makes sense to me I may work on it. Yes, you can extend the code of any simpilot module as you please, but do not profit from it. If you use pastebin instead of posting massive ammounts of code in the forum I will be happy for at least an hour. If your server crashed and you did not have a backup of your site and data, there is nothing I nor anyone else can do to make it magically return. One of my favorite threads: How to ask for help FAQ I have the error: The answer is in the error - The file does not exist in the path as it should be. There are 3 possible reasons: 1 - The file really isnt there in the folder like it should be. 2 - You have loaded the file to the wrong place on your server. 3 - The file got corrupted on upload. The solution: Reload the file to your server, and make sure it is in the correct path. Your module templates do not fit my skin. I only supply generic templates with the modules I put out. You need to fit them into your template.
  13. Something like -> <?php echo date('h', strtotime($aircraft->totaltime)); ?> should work
  14. Mark is correct, the file is not in path
  15. You upload the files to your server just as you did with phpvms, using an ftp client. Just make sure you maintain the file structure as it is in the package. Then use phpmyadmin from your control panel and import the sql file into the database using the import option in the top menu.
  16. I don’t think you get it, or you just don’t care. Nabeel has provided a tremendous application to all of us at no charge and tries to cover some of his server costs by selling hosting packages for the members of this forum. You coming in and offering to beat his plans is almost a slap in the face, or that is the way I take it. You are not the first, and probably will not be the last and I highly doubt you will get any clients from this group.
  17. Use the php date function in your template date('m/d/Y', strtotime($timevariable)) You can get the different format elements here -> http://php.net/manual/en/function.date.php
  18. simpilot

    error

    Jeff is on a well deserved vacation but if it were me I would upgrade the version of FSUIPC you are using, the error says "incorect version of FSUIPC"
  19. You can add a line to your local.config.php file to tell the system how you want schedules sorted. For example, Config::Set('SCHEDULES_ORDER_BY', 's.flightnum ASC'); would sort schedules by flight number in a ascending order.
  20. The cron job goes through and completes any operations you have set to automatic, ie auto retire pilots for inactivity and others. The system is designed to do it on its own without the cron job but it runs much cleaner using the cron method. It sounds like you are asking how to line up th columns in the pilots list template. There are many threads in this board and the skinning board on just that subject. Search "pilots list" with the quotes included.
  21. simpilot

    SMF forum

    Send me your skin and let me know which version smf you are on and I will mess with it.
  22. simpilot

    SMF forum

    You really need to apply the css from your site into the smf syles file. If you want to get your template to me and let em know what version of smf you are running I will look at it this weekend.
  23. simpilot

    Vacation Time

    Have Fun Jeff! Thank You for all you have done for us here at phpVMS. You deserve a rest. Just be ready for everything we broke while you were gone!
  24. simpilot

    SMF forum

    @TAV - No worries, it was late for me and got a little lost, happens often to old guys like me Let me know if you guys need some help with a smf template, I am getting my feet back on the ground again and have some time to do things again, even more so next week.
×
×
  • Create New...