-
Posts
2773 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by simpilot
-
The awards are showing in the public profile page for all pilots as well as in the pilot center when they are logged in. I have gone in and reset them all and the only one that will show is the first one in the list and it shows on all pilots even if it is not assigned to them. I have had to remove all awards for them not to show everywhere. Tried re-loading the beta and forced the update with no sucess... On the local development server here I went back and created a new site with beta 712 and the issue is not there, when I updated it to 713 it comes back. It must be something in the PilotData class I think, although I do not see a change in the file that would make it happen...
-
Has anyone else had pilot awards start showing up for all pilots (even when they are not assigned an award) again after the last beta (rev 713) ? It started working correctly for me a few builds ago but now with this latest it has started acting up again...... ???
-
You can call all the aircraft stats and populate an array using the code below: Template::Set('acstats', AircraftStats::getAircraftDetails()); You can replace "acstats" with whatever id you want for your array, then use the array however you wish. If you need the code to accomplish this pm me your email and I will send you the base code that you can skin.
-
Is this what you are looking for... I have not completed the page layouts yet but let me know if the tables at the bottom is what you are looking for. I have built a module to get all this data out of the database using some of the classes that are already built in to phpVMS.... I can package it and email it you if the tables are what you are looking for. Fleet list -> http://www.simpilotgroup.com/newenglandair/index.php/Operations/fleet/ Fleet Stats -> http://www.simpilotgroup.com/newenglandair/index.php/Operations/aircraftstats/
-
I had posted this same problem some time ago and the only way I can get it to center on the page is to remove the schedule frequency chart from the page. I have tried leaving it on the page and adjusting the related code around the chart with no success. If you find a solution, please post it...
-
;D - now working - reloaded files and ran update again - something must not have gone right the first time. THANKS for the fix!
-
I uploaded the beta and ran the update as well as changed the name of the table row back to bidid before the update and front bids still does not work, I just get the "No bids are filed" returned. If I change the bidid name in the sql table it works again. Should I run the sql update individually?
-
I got this to work on my site. ;D What I have found is that the newest beta update inserts a 20th row in the sql database table phpvms_schedules named bidid - the same as within the table phpvms_bids. I changed the name of the row 'bidid' in the table phpvms_schedules and the recent bids function came right back. Nabeel - what is the line 'bidid' in _schedules table used for? It has a small ammount of numerical data in it but it does not seem to match up to anything that I see right off. I imagine it is going to have to be renamed to avoid conflict with other functions as well. You can see it is working on the frontpage here - www.simpilotgroup.com/newenglandair
-
Thanks Nabeel - That got it working ;D
-
DOH! - That fixed it! ;D Many Thanks Nabeel - Keep up the good work! ...now off to see why recent bids won't show on the live site but work on the development server here.
-
Ok - I re-uploaded the lateest beta and ran the update and here is what I get when I call a page that is looking for any kind of stats data.... ??? Fatal error: Class 'Statsdata' not found in /***********/newenglandair/lib/skins/NEVA_Custom_ver3.2/frontpage_leftnavbar.tpl on line 9 I have reverted back to the release version and everything comes back.
-
I will do that - Should I run the install/update again?
-
This what is being used - <a href="<?php echo SITE_URL?>/index.php/profile/view/<?php echo $pilot->pilotid?>"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></a>  <img src="<?php echo SITE_URL?>/lib/images/countries/<?php echo $pilot->location?>.png"><br /> It is in a template for the left sidebar that is called up the same way in all the pages.
-
yep - I let the ftp transfer overright all the files included in the beta. then used the install/update.php method and then get the error. when I upload my backup everything goes back to normal.
-
I tried to upgrade to the latest beta to solve the awards issue with an award showing for all pilots but had to revert back to the release version due to getting the error "statsdataclass doesnt exist in......" on every page that shows any stats (pilot count, total hours, etc..) ???
-
Ok - I'm Stumped... ??? I have added the pilot country flags to show next to the pilots name in the recent pilots list. It works fine on most of the pages of the site but on some pages the image does not show, just a place holder. Upon further investigation I have found that on the pages it does not show it has extra lines in the url.. example - on the front page - shows http://www.simpilotgroup.com/newenglandair/lib/images/countries/US.png'>http://www.simpilotgroup.com/newenglandair/lib/images/countries/US.png on the login page - no show http://www.simpilotgroup.com/newenglandair/newenglandair/lib/images/countries/US.png The sidebar is a template so the same code is being used on all the pages.... Is it a module issue? Also, it always produces the image name in caps which will not show the image, I have made a duplicate of the flag using caps and it shows fine but I do not want to have to create a duplicate for all the flags. Is there a way around this?
-
You can create your own php pages and place them in the "Pages" folder and then call them through <your site>/index.php/Pages/yourpage, or that is what has worked for me. I have not tried the pages module in the admin center although I think that is designed for static pages versus pages that are calling functions and such. It is easy to create your own module as well and create new dynamic pages through that method. The great way Nabeel has designed this app makes it easy to add your own content.
-
Thanks Nabeel - I have to say you have done a great job with phpVMS! I floundered around with a couple of other packages out there with little to no sucess but have enjoyed working with phpVMS and have learned a lot along the way. Keep up the good work!
-
New England Virtual Air www.newenglandvirtual.com
-
dug through the build log....... tried to modify usergroups.class.php and app.config.php and managed to destroy things pretty well here on the local development server.... : have created a new folder "admincbm" and modified the templates and such to just show what I want in the menu bar but when I call the folder it ends up going right back to the old admin folder and it's files. Guess I will wait for the next update.
-
Is there a way to allow selective admin section log-ins? ie - allow a crew base manager to approve PIREPS but not get into the other functions of the admin panel. :
-
I had no issues (that I know of) with cross browsers. With the map giving weird results, you have to place your map "center" location n the local.config file. Then to actually zoom you need to change the parameters in the acars.js file as shown prior, catch is... those numbers have to fit both the map window you are using as well as the map from google, hence the long extensions behind the decimal. These have to be calculated for your map if it is sized differently than the default VMS map.
-
I had a time with this as well. What I found was that the "13" is overridden by the code following it; var bds = new GLatLngBounds(new GLatLng(20.8258173, 3.74226154), new GLatLng(23.2391067, 6.92817646)); The map can be zoomed by changing the red sectons. It takes some work with a map and a calculator to find the correct lat/long figures for the location you want to view. I found the google information helpful as well here - http://code.google.com/apis/maps/documentation/reference.html#GLatLngBounds.GLatLngBounds you can view the map I got to work here - http://www.simpilotgroup.com/newenglandair
-
Hello phpVMS fans, I am not a php expert by any means and this is probably a simple one but annoying me to no end none the less. I have gotten the site up and running with some success and I have all pages centered except the "route details" page. It functions correctly but the page jumps to the left margin all the time. Simply annoying to me : If anyone could give me a hint in the right direction it would be greatly appreciated. The site is newenglandair.simpilotgroup.com The page in question is http://www.simpilotgroup.com/newenglandair/index.php/schedules/details/800