-
Posts
2773 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by simpilot
-
If you are trying to utilize the section that skips the routes of a 757 unless you are a second lieutenant it is not going to work. You have it all commented out from line 20 to line 58. At line 22 you have a /* which does not get closed until line 50.
-
Looks like you erased a closing bracket at line 27-28. Find </li> <li><a href="<?php echo url('/pilots'); ?>" target="_self" >Pilots</a> </li> and change it to </li> <?php } ?> <li><a href="<?php echo url('/pilots'); ?>" target="_self" >Pilots</a> </li>
-
What do you mean it wont work - I do it all the time, both on the admin side and the public side. If you put a folder inside of your skin folder, as explained above, then point your call for the template to that folder/template it will call it without an issue.....
-
You sure can Just put a folder inside of your skin folder and put the tpl files you want in there, then when you call for that template do this -> <?php $this->show('my new folder name/my template.tpl'); ?>
-
Any last requests for the next beta release? I have already.. -Moved the admin panel to the admin side of phpvms using the native permissions settings for groups. -Added functions to delete exams and questions -Added an entrance exam function tied into registration -Working on finishing up a question randomizer and one at a time question submission option. A couple of peeks
-
I keep gettin the following error when sign in.
simpilot replied to flyGLOBAL's topic in Support Forum
I don't see any extra characters at the top of any of the pages I can see and get no errors.... -
I keep gettin the following error when sign in.
simpilot replied to flyGLOBAL's topic in Support Forum
Have you got any mods installed or edited any files. It looks like there is some white space after a closing php tag somewhere in the core. -
Sry - on my mobile right now so kind of hard to surf but I think the fix for this is earlier in the thread - it is a line change in the module.
-
My msn id is in my profile. You can look me up when you need to.
-
ummmm.... that is where you put them - in those paths in your phpvms install. At a quick glance over your file, it looks ok so I would really lean toward the files not being where they are supposed to be.
-
The download should have the proper file structure but if not.. core common ExamsData.class.php modules Exams Exams.php Exams_admin Exams_admin.php templates all the .tpl files Also check where you are calling it from and make sure that the proper php syntax is there as well. if you can post or pastebin your core_navigation.tpl file it would be easier for us to see what might be causing it as well, it is not always easy to see what is wrong when the only information to go by is "here is my error" -> "fatal error; foo bar"
-
Looks like you have not placed the files in the correct paths, or one has gotten corrupted on the upload. Try re-uploding all the files and be sure they are in the right path. That error is simply saying that the app can not find the files where they are supposed to be.
-
- 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.
-
I thought you did not want it anyway - You have been trying to sell it... http://forum.phpvms.net/index.php?topic=1331.msg7662#msg7662
-
How about adding a setting in the settings table for retired- INSERT INTO `phpvms_settings` (`friendlyname`, `name`, `value`, `descrip`, `core`) VALUES ('Show Retired Pilots', 'SHOW_RETIRED', 'true', 'show retired pilots in pilot lists', 1); then in your pilots_list.tpl in the admin/tem,plates folder find foreach($allpilots as $pilot) { and add right below it -> if(SettingsData::GetSettingValue('SHOW_RETIRED') == 'false' && $pilot->retired <> 0) { continue; } You can add the same thing in the public pilots list as well. You will now have an option in the admin/general settings list to enable or disable the viewing of retired pilots. As far as letting them login uncomment lines 267 thru 271 in your Auth.class.php file and it will disable logins for retired pilots. Hope this is what you are thinking. 8)
-
@faraz Do not delete aircraft - uncheck the "enabled" option in the admin for that aircraft if you do not want to use it, then create a new aircaft you want and assign the schedules from the old aircraft to it if you want to. The other info will not be lost or unavailable that way.
-
We should really not be deleteing pilots in the roster and such. - Instead we should be retireing the pilot. The total hours flown for each pilot is a field in the pilots table so when you delete the row for the pilot you delete the total hours as well. If you want to include the hours in your VA the sql select just needs to be changed to reflect including retired pilots hours in the total hour count.
-
It should not mess anything up by moving the css styles fro the tpl pages into the main css file. Just make sure there are no duplicate tags as it will override each other. Can you post a link to the avatar example or maybe the code snippet, I am not sure what it might be.
-
Thats Cool 8) A link to my site would be great if you can find a place for it but not required.
-
Very nice - Great Idea, think I might incorporate it into the route builder and aircraft location system I am building for my VA. Thanks for the post!
-
Looks like you are missing a bunch of <?php tags in that one... Can you paste the code.
-
What version are you running? I can't seem to reproduce the error here.
-
It is working in the latest beta for me. There is no /inbox function in the latest beta for AIRMail, I think that is where your error is coming from. In your link for AIRMail try using, <a href="<?php echo url('/Mail'); ?>">AIRMail</a> I think that will take care of it... Let us know how you make out.
-
$airport = OperationsData::getAirportInfo(your icao code); echo $airport->country;
-
It has been happening for a while now - Flightaware is storing the images using a url with a timestamp now ie what used to be http://flightaware.com/resources/wx/us_depiction.gif (the link used in the tpl file) would need to be this -> http://vox.flightaware.com/resources/wx/us_depiction.gif?1264693268 1264693268 = Thu, 28 Jan 2010 15:41:08 UTC to get the current chart as I write this post. You can use the unix timestamp function to add it to the end of the url - also notice the change from www to vox. I started using maps from weather underground anyway - I like them better http://www.wunderground.com/Aviation_Maps/ and there are other sources out there as well.