Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. If you've modified it, revert to the default (just delete it from your skin folder) I suggest not touching that file at all
  2. Found a weird mistake. In core/common/financedata.class.php, line 127 is commented out. That shouldn't be. If you uncomment it (remove the //), does it show up proper? So change: //$report = self::GetCachedFinanceData($monthstamp); To: $report = self::GetCachedFinanceData($monthstamp);
  3. Here how it's supposed to work - In APRIL, you add an expense, for toilet paper, at 100$ It's still April, you change it, you view your report for April, it shows up as 100$ If you view March, for the FIRST TIME, it will save 100$, since that's the price when you're viewing it. Now it MAY. You haven't viewed the April report yet in May, because it's the end of April, and you're adjusting your expense. So you change the toilet paper cost to 50$, since you're forcing your passengers to use pinecones, so you add another expense for pinecones, at $25. Now, you go and view APRIL. It will save the current expenses you have So March: TP - 50$ April: TP: 50$ Pinecones: 25$ May: TP: 50$ Pinecones: 25$ Now June rolls around, you adjust again, so, TP for 100$, pinecones are 10$, and you view MAY to save May's expenses: So March: TP - 50$ April: TP: 50$ Pinecones: 25$ May: TP: 100$ Pinecones: 10$ Etc, etc, so-on and so forth. It's funky because PHP isn't perpetual, I can't keep a running tally unless I make some other changes which I'm contemplating on making. So it seems like there's a bug with it picking up the expense per month. I'll check that out, since the financedata table looks like it's saving the correct data. Thanks
  4. Get an API key for pflvirtual.com (without the www). Also, it seems like the google map include is missing. Did you modify the core_htmlhead.tpl?
  5. Just add /admin to the end of your URL
  6. The captcha shouldn't matter, since you're bypassing a form and going straight to a database
  7. Hey, Sorry for all the troubles! Let's see if we can help You should use "localhost" for the database, unless your host specifies otherwise. Localhost means it's using that local computers IP address, since the web server and database server are on the same server. The table prefix is just that - a prefix to use in the mysql tables. People sometimes use the database with multiple applications, the prefix is to make sure two different programs don't use the same tables and cause a conflict. In your core/local.config.php, make sure the SITE_URL is correct, though it seems as though your site did install, so it should be correct http://www.flymelita.com http://www.flymelita.com/admin
  8. Nabeel

    Some help

    so see how the pilot id is called from there, if its in the pilot id, it might be Auth::$userinfo->pilotid
  9. Under Pilots and Groups, the last one To assign a award, go to View all Pilots, select the pilot, and there's a tab that says awards
  10. I would check with your host about that
  11. Rev 695 - PIREP bugfix, added schedule brief to search page, various (minor) bug fixes4 May 2009, 11:41 amRev 695 - nabeel (12 file(s) modified)PIREP bugfix, added schedule brief to search page, various (minor) bug fixes~ /trunk/admin/modules/Operations/Operations.php~ /trunk/changelog.htm~ /trunk/core/classes/autoload.php~ /trunk/core/classes/CodonModule.class.php~ /trunk/core/classes/CodonWebService.class.php~ /trunk/core/codon.config.php~ /trunk/core/common/CentralData.class.php~ /trunk/core/common/StatsData.class.php~ /trunk/core/modules/Schedules/Schedules.php+ /trunk/core/templates/schedule_briefing.tpl~ /trunk/core/templates/schedule_results.tpl~ /trunk/index.phpSource: phpVMSDownload from http://downloads.phpvms.net
  12. Nabeel

    Rev 680 -

    Rev 680 -7 April 2009, 9:19 amRev 680 - nabeel (2 file(s) modified)~ /trunk/core/common/CentralData.class.php+ /trunk/core/common/CronData.class.phpSource: phpVMSDownload from http://downloads.phpvms.net
  13. Rev 692 - Updates for central, file-locking when writing pages to prevent potential problems29 April 2009, 7:13 amRev 692 - nabeel (6 file(s) modified)Updates for central, file-locking when writing pages to prevent potential problems~ /trunk/core/classes/SQL.class.php~ /trunk/core/common/CentralData.class.php~ /trunk/core/common/FinanceData.class.php~ /trunk/core/common/PIREPData.class.php~ /trunk/core/common/SiteData.class.php~ /trunk/index.phpSource: phpVMSDownload from http://downloads.phpvms.net
  14. Rev 691 - Lazy/autoloading of core and common classes, reduced memory usage by 2/327 April 2009, 11:55 amRev 691 - nabeel (3 file(s) modified)Lazy/autoloading of core and common classes, reduced memory usage by 2/3+ /trunk/core/classes/autoload.php~ /trunk/core/codon.config.php~ /trunk/index.phpSource: phpVMSDownload from http://downloads.phpvms.net
  15. Nabeel

    Rev 683 -

    Rev 683 -7 April 2009, 1:21 pmRev 683 - nabeel (1 file(s) modified)~ /trunk/core/modules/XML/XML.phpSource: phpVMSDownload from http://downloads.phpvms.net
  16. Nabeel

    METARS

    He's checking Asian airports though, not sure if it shows up for those
  17. Nabeel

    METARS

    Seems as though it only works with US airports
  18. The icon heading doesn't change, fsacars doesn't report a heading to me
  19. Nabeel

    METARS

    What's the exact code you're using?
  20. Rev 695 - PIREP bugfix, added schedule brief to search page, various (minor) ...4 May 2009, 11:41 amRev 695 - nabeel (12 file(s) modified)PIREP bugfix, added schedule brief to search page, various (minor) ...~ /trunk/admin/modules/Operations/Operations.php~ /trunk/changelog.htm~ /trunk/core/classes/autoload.php~ /trunk/core/classes/CodonModule.class.php~ /trunk/core/classes/CodonWebService.class.php~ /trunk/core/codon.config.php~ /trunk/core/common/CentralData.class.php~ /trunk/core/common/StatsData.class.php~ /trunk/core/modules/Schedules/Schedules.php+ /trunk/core/templates/schedule_briefing.tpl~ /trunk/core/templates/schedule_results.tpl~ /trunk/index.phpSource: phpVMSDownload from http://downloads.phpvms.net
  21. You don't really add money, read through this: http://www.phpvms.net/docs/financial For the airports, type the ICAO, then click the "Lookup" button, that will try to find the lat/long etc for you. As for the URL, I am not sure, but you can do it through trial and error. You can change the URL in the core/local.config.php file, you'll see it as SITE_URL
  22. Nabeel

    METARS

    Just added it on one of my pages, it is working ?
  23. Nabeel

    Some help

    It depends where you're calling it from, you have to see how it is in the template, there are examples in there
×
×
  • Create New...