Jump to content

Kalo

Members
  • Posts

    50
  • Joined

  • Last visited

Everything posted by Kalo

  1. Hello all! Would someone be able to show me how to make the "View PIREPs" page in the Admin Center (when your looking at a particular pilots page) display on multiple pages? Right now my top pilot has 1066 PIREPs, and when I go to his "View PIREPs" page to make edits, it takes a dreadful amount of time to load his page. This is because it is loading all 1066 PIREPs on one page. Is there a way to display only the latest 20 PIREPS on this page (so basically list 20 PIREPS per page)? I think this would drastically increase loading times for pilots that have over 100 PIREPS. It's kind of silly to load them all on one page. If anyone could help me, it would be much appreciated! I have Dreamweaver so I can easily edit PHP files. Thanks!
  2. thanks parkho! such an easy solution, you have helped me countless times, thanks!
  3. thats why i said your not supposed to edit the app.confg file should be good if you changed the fuel price to .80 from 5.10. So if liquid unit was already set to 3 that means you were being charged $5.10 per pound...ouch I'm still ironing out ticket price...but right now I have it set to $0.22 per mile. It seems to be working out well so far...as long as the plane is at max passenger capacity.
  4. actually $5.10 per gallon is pretty accurate. However your VA may be reporting in another unit like kg, so it is charging 5.10 per kg instead of gallon. Also your not supposed to edit the app.config.php file. If your pilots are using both kACARS and fsPassengers, you will actually want to set your VA to report in pounds because kACARS does not report in anything else. First thing you will want to do is open app.config.php located in phpvms\core. Search for the text fuel info (usually ctrl+f to search). Copy that entire paragraph, it should look like this: # Fuel info /* Default fuel price, for airports that don't have And the surcharge percentage. View the docs for more details about these */ Config::Set('FUEL_GET_LIVE_PRICE', true); Config::Set('FUEL_DEFAULT_PRICE', '5.10'); Config::Set('FUEL_SURCHARGE', '5'); now open local.config.php (same location of phpvms\core) and search for the text Units settings Paste the paragraph from app.config.php above the unit settings paragraph, and right below the line: Config::Set('MONEY_UNIT', '$'); Now, we have to edit a few things in that paragraph and the one below it. 1. Where it says Config::Set('FUEL_GET_LIVE_PRICE', true); I changed my true to false. This way I can decide the price of fuel and change it accordingly. 2. Where it says Config::Set('FUEL_DEFAULT_PRICE', '5.10'); change the 5.10 to .80 This is 80 cents per pound which is pretty accurate to US live fuel prices. 3. Where it says Config::Set('FUEL_SURCHARGE', '5'); I changed mine to 0 Id rather adjust my fuel prices then mess with a 5% surcharge. Also when you edit prieps it takes out the 5% surcharge anyway. Under that paragraph find the line Config::Set('LiquidUnit', '2'); # 0=liter 1=gal 2=kg 3=lbs 1. Change the liquidunit to a 3 This way your system will measure in lbs versus another unit. Save local.config.php then upload it. Hope this helps, let me know if you have any issues.
  5. this is rather peculiar. Keane, thanks for your response, the first option edit did not work, so if I delete that line from my core_navigation.tpl, the duplicate "Route Map" disappears. The only thing is, I want to add a drop down menu to my Route Map tab, so I have to keep that line in my core_navigation.tpl. This begs the question then, where is the extra Route Map link coming from if it's not anywhere in my core_navigation.tpl? Can anyone suggest where this extra "Route Map" item might be coming from? If you look at http://pilots.msflights.net/ I want to keep the "Route Map" with the drop down list (get rid of the one on the far right). This has me perplexed because I have looked all around and can't find a reference to this extra item anywhere. If you would like to look at my core_navigation.tpl here it is on pastebin: http://pastebin.com/waJvFrpV Thanks!
  6. thanks parkho, I appreciate all of your help!
  7. hello parkho, yes I have the option set so that multiple pilots can bid on the same route at the same time (so that we can all fly the same route on a group flight). My first link was to the schedules, which is what the "Open Bids" link takes you to. For some strange reason though, it started working this morning! Yesterday when you clicked the schedules/open bids link, no flights would show up. On a side note, in the image I linked in my 2nd post ( http://img811.imageshack.us/img811/4703/bids.jpg ) Is it safe to delete all of those entries? I noticed it appears to contain bids from old route numbers that I no longer use. To refrase the question, is it safe to delete all the entries in the table "phpvms_bids"?
  8. p.s. I added routes that have 4 numbers......i.e. MSF1132 could this cause that problem? I'm not sure if phpvms only supports 3 digits such as MSF231. also sorry for the multiple edits......I see there is one table in the database called "bids"....it appears that these are bids that people currently accepted? Should I try and delete all of these entries? Here is a screenshot: http://img811.imageshack.us/img811/4703/bids.jpg thanks!
  9. Hello, For some reason my "Open Bids" list stopped working, it shows no bids, when there are some in the admin center: http://www.msflights.net/pilots/phpvms/index.php/schedules This happened pretty much out of the blue....I have not changed anything on the site. Does anyone have any idea why this has occurred? Thanks!
  10. hello, for some reason "Route Map" has shown up twice on my home page if you are not logged in. Once you log in it only shows up once. In my core_navigation file I only have it shown once so I am not sure why it is displaying twice. Is there somewhere else besides core_navigation that can control this? http://pilots.msflights.net/ Thanks! here is my core_navigation.tpl on pastbin.com: http://pastebin.com/waJvFrpV
  11. ok thanks again, you helped out alot
  12. thanks! worked like a charm! I made a change but I am not sure if I did it the best way: to display all of my pilots instead of just 2 like the default template you gave me, I put 100 in the parenthesis instead of the standard 2: "$pilots = PilotListData::pilotlist(100);" Is there another command that would list all pilots? Or is it OK to just put a number much higher then the actual pilots in your database? Thanks parkho!
  13. thanks parkho! Your a real asset to this community! This is how it looks now http://www.msflights...x.php/pilotlist I do have one problem tho....for some reason the rank images do not show up now...do I need to place them in a different folder now that I am using this template? Thanks!
  14. ok thanks, I will try but this is a little more complicated then I thought..or may be-able to do (I thought it would be as easy as editing 1 line ) It's actually perfect that it would not show pilots per hub, that's exactly what I wanted! I'd rather for people to be-able to look at 1 list and see who is the most active, rather then scrolling down to look at each hub separately.
  15. ok, so are you saying I should not edit the pilots.php file...and edit the "pilot_list.tpl" template located in: "phpvms\core\templates" instead?
  16. hmm thanks for your response parkho, but I don't have a index file in the modules/pilots folder. I just have a pilots.php. I wonder if anyone else has tried to do this in the past....can't find any while searching. It seems like most people would rather have it categorized by hours instead of Pilot ID.
  17. do you guys by any chance know where the file is located to edit rank? so far the closest thing I have found is the "pilot_list" template located in: "phpvms\core\templates"......however I don't see anything in this template about ordering by Pilot ID. For instance in this template I see for the "Pilot ID" column: <td width="1%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> but I don't see where this code tells it to categorize by ID? Forgive my lack of knowledge on the subject...but I can't seem to find the file that orders the pilot list. thanks.
  18. thanks for the quick reply fellows, I will try it out and let you know how it went
  19. hello, I was wondering how I could edit my pilot list, so instead of categorizing pilots by their Pilot ID, it would categorize pilots by "Hours". I want it so that it shows the pilots with the most hours at the top of the list. I am familiar with editing php files and what not. here is my list: http://www.msflights.net/pilots/phpvms/index.php/pilots Basically I just need to know what file to edit and what to put in it. Thanks alot! -Kalo-
  20. I would love to see CPC900's suggestion also. Is there a way to show every pilots stats along with their earnings? When you click "Pilots" it only shows how many flights and how many hours...it would be great to beable to categorize the list by people with the most hours. I would also like that page to show pilot finances. Look at my page for an example: http://www.msflights.net/pilots/phpvms/index.php/pilots
  21. hey guys, check out my brand new airline from msflights.net! http://pilots.msflights.net/ also check out the route map I am working on to see how I plan to run this VA: http://www.msflights.net/pilots/phpvms/index.php/pages/routemap I want this to be more of a casual airline, so people are allowed to fly whatever plane they want to. We can also all fly the routes together in multiplayer, because I set the bids to always show, even when someone else has bid on one. We also have a teamspeak3 server set up so if you want to come and chat, please feel free. teamspeak3 server is: ks.jmainguy.com We usually have group flights a few times per week. let me know if you have any suggestions. I also would love to hear any recommendations for must-have add-ons for phpvms.
  22. Kalo

    Obsess Blue

    nice! thanks for sharing.
  23. Kalo

    pilot pay?

    sorry for my slow responses, but I still have to wait 1-2 days for my posts to be "approved' before they show up but as for the must-have add ons, I am less interested in ones that require certain planes, because I am making my airline pretty casual, where you can fly whatever plane you want to. I'm more interested in ones that might make the overall interface better, or something clever to use pilot pay $ for.
  24. Kalo

    pilot pay?

    thanks, what sorts of things can pilots buy in Pilot Shop? There isn't much info about it on their add on page. Also, what are your guys favorite/must have add-ons for phpvms? I want to try and get my airline launched in the next week or so, so I am trying to figure out what add-ons I should have, this is how my airline is coming along so far: http://pilots.msflights.net/
  25. Kalo

    pilot pay?

    Hello, Sorry if this has been posted before but I have not found any related topics in the search. I am just wondering what is pilot pay for? Can pilots of your airline use their earnings for anything? So far I have not found any use for pilot pay. Thanks!
×
×
  • Create New...