Jump to content

Nabeel

Administrators
  • Posts

    8147
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. 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)
  2. 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
  3. Sounds good. I'm cleaning up right now. 770 coming up soon.....
  4. And if you can put errors about a build in the thread for it in the build log, helps keep things straight
  5. 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.
  6. Both should be fixed. Admin accepting for registrations also fixed, in 768. That's going up right now.
  7. 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)
  8. 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)
  9. Still open: Bids not being set Any new issues? Financials?
  10. 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
  11. 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!
  12. 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.
  13. 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)
  14. Which one did you bid on? It may have been bidded on already
  15. 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
  16. 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
  17. 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)
  18. 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
  19. 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.
  20. Update errors are fine; what graph? I'll check the admin thing.. thanks.
  21. Rev 763 - Major backend updates, API and code cleanup. New module format. Route map fixed15 October 2009, 1:29 pmRev 763 - nabeel (53 file(s) modified)Major backend updates, API and code cleanup. New module format. Route map fixed~ /trunk/admin/modules/Downloads/Downloads.php~ /trunk/admin/modules/Operations/Operations.php~ /trunk/admin/modules/PilotAdmin/PilotAdmin.php~ /trunk/admin/modules/SiteCMS/SiteCMS.php~ /trunk/admin/templates/pilots_details.tpl~ /trunk/changelog.htm+ /trunk/core/classes/CodonData.class.php~ /trunk/core/classes/CodonRewrite.class.php~ /trunk/core/classes/MainController.class.php~ /trunk/core/common/ACARSData.class.php~ /trunk/core/common/AircraftStats.class.php~ /trunk/core/common/Auth.class.php~ /trunk/core/common/AwardsData.class.php~ /trunk/core/common/CentralData.class.php~ /trunk/core/common/Countries.class.php~ /trunk/core/common/CronData.class.php~ /trunk/core/common/DownloadData.class.php~ /trunk/core/common/FinanceData.class.php~ /trunk/core/common/FuelData.class.php~ /trunk/core/common/OperationsData.class.php~ /trunk/core/common/PilotData.class.php~ /trunk/core/common/PilotGroups.class.php~ /trunk/core/common/PIREPData.class.php~ /trunk/core/common/RanksData.class.php~ /trunk/core/common/RegistrationData.class.php~ /trunk/core/common/SchedulesData.class.php~ /trunk/core/common/SettingsData.class.php~ /trunk/core/common/SiteData.class.php~ /trunk/core/common/StatsData.class.php~ /trunk/core/common/UserGroups.class.php~ /trunk/core/logs/acars.txt~ /trunk/core/logs/log.txt~ /trunk/core/modules/ACARS/ACARS.php~ /trunk/core/modules/ACARS/fsacars.php~ /trunk/core/modules/ACARS/xacars.php~ /trunk/core/modules/Contact/Contact.php~ /trunk/core/modules/Downloads/Downloads.php~ /trunk/core/modules/Finances/Finances.php~ /trunk/core/modules/FrontBids/FrontBids.php~ /trunk/core/modules/Frontpage/Frontpage.php~ /trunk/core/modules/Frontpage/News.php~ /trunk/core/modules/Login/Login.php~ /trunk/core/modules/Logout/Logout.php~ /trunk/core/modules/Pages/Pages.php~ /trunk/core/modules/Pilots/Pilots.php~ /trunk/core/modules/PIREPS/PIREPS.php~ /trunk/core/modules/Profile/Profile.php~ /trunk/core/modules/Registration/Registration.php~ /trunk/core/modules/RouteMap/RouteMap.php~ /trunk/core/modules/Schedules/Schedules.php~ /trunk/core/templates/downloads_list.tpl~ /trunk/core/templates/route_map.tpl~ /trunk/install/Installer.class.phpSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
×
×
  • Create New...