Jump to content

Nabeel

Administrators
  • Posts

    8147
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. There's an option (two actually) in local.config.php about these. If they're not in local.config, check hte app.config and copy the line into the local.config
  2. On localhost it's possible it will give errors. Some javascript will not run off of localhost. Can you give me the link to the exact page? I'll try to find some time to look in more detail tomorrow
  3. Well you said it's on the profile page; did you change any of that code?
  4. Can everyone please disable ad-block on the phpvms site? The only real revenue is from ads, and I'm trying to maximize that as much as possible. I've been using Google Ads, but trying out Adbright now to see if it's any better. Seems a bit more intrusive though. Thanks!
  5. Would help to see some code
  6. Still workin on it... thanks.. Make sure you updated all the files. Hopefully I'll have xacars sorted by the weekend
  7. Rev 748 - ACARS map fixes, search by code added to schedules class29 September 2009, 7:29 amRev 748 - nabeel (3 file(s) modified)ACARS map fixes, search by code added to schedules class~ /trunk/core/common/ACARSData.class.php~ /trunk/core/common/SchedulesData.class.php~ /trunk/core/modules/Schedules/Schedules.phpSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  8. To add a search, basically you modify this: /core/modules/Schedules/Schedules.php, around line 166 is: public function FindFlight() There's a bunch of if statements looking at that search form. So let's assume the field you added was name'd "airline", you'd add: if($this->post->airline!= '') { $routes = SchedulesData::GetSchedulesWithCode($this->post->airline); Template::Set('allroutes', $routes); } Basically you need the Template::Set('allroutes', ...); portion so the template has routes to display. The GetSchedulesWithCode will work with the latest beta. But that's basically how you would build up that search. You can add additional fields/search parameters that way too. The only thing would be is you might need to write some SQL.
  9. Rev 747 - Removed debugging code from ACARS map28 September 2009, 1:21 pmRev 747 - nabeel (1 file(s) modified)Removed debugging code from ACARS map~ /trunk/lib/js/acarsmap.jsSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  10. Rev 746 - Route map updated, bugs fixed on ACARS Map.28 September 2009, 1:16 pmRev 746 - nabeel (7 file(s) modified)Route map updated, bugs fixed on ACARS Map.~ /trunk/changelog.htm~ /trunk/core/modules/ACARS/ACARS.php~ /trunk/core/modules/ACARS/xacars.php~ /trunk/core/templates/core_htmlhead.tpl~ /trunk/core/templates/route_map.tpl~ /trunk/lib/js/acarsmap.js~ /trunk/lib/js/phpvms.jsSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  11. Yeah it's not completely updating yet, I haven't finished coding it.
  12. Yes that's pretty much the only change. On the downloads page I list "WinMerge", you can use that to see the exact differences. 746 is coming up in a few though with some more fixes
  13. Weird, I don't see it... Any of your script blocks should be under the call to core_htmlhead.tpl.
  14. It looks like you're missing the core_htmlhead.tpl include, but there's no jquery loaded in there or the tablesorter jquery plugin (the <script src="" /> portion)
  15. The script src= tag - did you modify the core_htmlhead? I would use the new one, and copy the changes you made into it
  16. I coded in the basic translations for the admin panel, just alot of code has to be changed now. Some of it has (in the beta see /core/lang/en.lang.php). But that's maybe only 5% of the admin panel text.
  17. In firefox, open the error console when you load the page. It'll give you some errors, that would be a start
  18. There's limited translations for the admin panel, I haven't had the time to run the translations. For templates I won't be having translations since you can just modify the templates on your own for the language you want.
  19. That would be in the schedule_results.tpl - there are instructions in there
  20. Sorry, have been crazy busy. What sort of parameters are you looking for? Just the airline? Or additional fields?
  21. Yeah... there's no way to do that.....
  22. hmm, there was a bugfix in the beta to correct that.. I'll check it.. thanks
  23. How many routes? Which version? Are the routes active? Did you enable to option to only show routes from the current day-of-week?
×
×
  • Create New...