-
Posts
2773 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by simpilot
-
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
-
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.
-
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.
-
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:
-
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.
-
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.
-
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.
-
Something like -> <?php echo date('h', strtotime($aircraft->totaltime)); ?> should work
-
Mark is correct, the file is not in path
-
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.
-
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.
-
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
-
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"
-
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.
-
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.
-
Send me your skin and let me know which version smf you are on and I will mess with it.
-
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.
-
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!
-
@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.
-
Not sure what you mean exactly, looks like you have a table border. It is all html and css at that point, the script is only supplied with a basic markup, it needs to be adapted to your site.
-
What type of host? free, shared, vps, dedicated, cloud, etc.. What browser are you using? What version phpvms did you install? What are the results of running the checkinstall.php and checkdb.php files in the install folder?
-
A simple issue of having respect for those around you. Give credit where credit is due.