Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Rev 769 - ACARS live time update fix17 October 2009, 3:51 pmRev 769 - nabeel (1 file(s) modified)ACARS live time update fix~ /trunk/core/common/ACARSData.class.phpSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  2. Rev 768 - Sessions fixed, users online function added in StatsData, bids working, PIREP accept fixed17 October 2009, 3:33 pmRev 768 - nabeel (17 file(s) modified)Sessions fixed, users online function added in StatsData, bids working, PIREP accept fixed~ /trunk/admin/templates/pilots_pending.tpl~ /trunk/changelog.htm~ /trunk/core/app.config.php~ /trunk/core/common/Auth.class.php~ /trunk/core/common/SchedulesData.class.php~ /trunk/core/common/StatsData.class.php~ /trunk/core/logs/log.txt~ /trunk/core/modules/Frontpage/Frontpage.php~ /trunk/core/modules/Login/Login.php~ /trunk/core/modules/Registration/Registration.php~ /trunk/core/modules/Schedules/Schedules.php~ /trunk/core/templates/frontpage_main.tpl~ /trunk/install/update.php~ /trunk/lib/skins/crystal/images/h3.jpg~ /trunk/lib/skins/crystal/images/mainbg.jpg~ /trunk/lib/skins/crystal/images/topbanner.jpg~ /trunk/lib/skins/crystal/styles.cssSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  3. Hey Ray, No problem. I just realized I don't have a doc on how to, so watch this space: http://docs.phpvms.net/development/using_the_api#using_the_api There's a video tutorial too on using the API (see link on top), watching that will help as well. Gimme about an hour or so, and I'll have the above link filled out though
  4. Sounds good. I'm cleaning up right now. 770 coming up soon.....
  5. And if you can put errors about a build in the thread for it in the build log, helps keep things straight
  6. 768 is going up right now to fix it. Takes about 15-20 min to show up in the build log, but the file is already updated on download.phpvms.net/beta.zip ACARS thing, it didn't make it into 768, I just realized why - Open /common/ACARSData.class.php line 316, this line: $cutofftime = 12; // hours Stick a // in front of the line (or just delete it). That'll fix it.
  7. Both should be fixed. Admin accepting for registrations also fixed, in 768. That's going up right now.
  8. Rev 767 - Database debugging linked to DEBUG_MODE param17 October 2009, 9:57 amRev 767 - nabeel (3 file(s) modified)Database debugging linked to DEBUG_MODE param~ /trunk/core/classes/ezDB.class.php~ /trunk/core/codon.config.php~ /trunk/core/common/RegistrationData.class.phpSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  9. Rev 766 - User registration errors fixed17 October 2009, 7:56 amRev 766 - nabeel (3 file(s) modified)User registration errors fixed~ /trunk/admin/modules/PilotAdmin/PilotAdmin.php~ /trunk/core/common/RegistrationData.class.php~ /trunk/core/logs/log.txtSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  10. Still open: Bids not being set Any new issues? Financials?
  11. Welcome! And yep, that should be it! It hooks in using the EventListener() function, so no core code has to be touched to extend. It may break in phpBB updates, or something might be nulled or wrong with the user created - I'm not sure. To be sure, it has to use the phpBB API, but I haven't had the time to search that out. There was another post around here where I grabbed it from, it might be worth skimming through that
  12. If it's an older version, a captcha was added in the last release to the form. Do you have any specifics on what's not working/what's happening? BTW, welcome!
  13. The last PIREP date is stored in the pilot's table, in the 'lastpirep' field, as a datetime, so you could do: <?php $pilots = PilotData::GetAllPilots(); foreach($pilots as $pilot) { echo "{$pilot->firstname} {$pilot->lastname} - {$pilot->lastpirep}<br />"; } When using double quotes in a string, it's good practice to encapsulate variables in { } You can check if it's null (this is the default value, it's only updated when there's a PIREP): if($pilot->lastpirep == '0000-00-00 00:00:00') { echo 'No PIREP'; } else { // What David suggested: echo date('m-d-Y', strtotime($pirep->lastpirep)); } This will be the most reliable way. Also, not sure if you knew, if this is outside of phpVMS, you have to: <?php include '/path/to/core/codon.config.php'; Then anything with the API should work.
  14. Rev 765 - Profile update bug fixed16 October 2009, 12:01 pmRev 765 - nabeel (9 file(s) modified)Profile update bug fixed~ /trunk/core/common/CentralData.class.php~ /trunk/core/common/CronData.class.php~ /trunk/core/common/SchedulesData.class.php~ /trunk/core/logs/log.txt~ /trunk/core/modules/Profile/Profile.php~ /trunk/install/Installer.class.php~ /trunk/install/loader.inc.php~ /trunk/install/update.php~ /trunk/install/update.sqlSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  15. Which one did you bid on? It may have been bidded on already
  16. Ahh, there's an error with that query. I fixed it, but it'll be in the next commit. Open core/common/scheduledata.class.php search for this line: WHERE s.code''.$code.'' '.$enabled; I think it's around line 242 though, it should be WHERE s.code=''.$code.'' '.$enabled; It's missing the = sign
  17. Try $routes = SchedulesData::GetSchedulesWithCode($this->post->airline, true); Also putting a DB::debug(); after it will show you what the query was. Try that too and post it here. Maybe there's an error
  18. Rev 764 - Admin bugs fixed, page variable passed for backwards compat15 October 2009, 4:42 pmRev 764 - nabeel (6 file(s) modified)Admin bugs fixed, page variable passed for backwards compat~ /trunk/admin/modules/Dashboard/Dashboard.php~ /trunk/admin/modules/Operations/Operations.php~ /trunk/core/classes/CodonModule.class.php~ /trunk/core/classes/CodonRewrite.class.php~ /trunk/core/classes/MainController.class.php~ /trunk/core/logs/log.txtSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  19. That might be because of a few bugs and kinks on my part, I will try your code out soon. Edit: This should be working with the latest betas, error fixed on my side
  20. Thanks guys, those are fixed on dev. I'll have a commit up soon. Trying to check the airmail issue, but it may have been fixed as a by-product of the other things.
  21. Update errors are fine; what graph? I'll check the admin thing.. thanks.
×
×
  • Create New...