-
Posts
8149 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Nabeel
-
Looks like the Mail plugin is spitting out code or outputting something which is causing the error
-
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)
-
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)
-
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
-
Sounds good. I'm cleaning up right now. 770 coming up soon.....
-
And if you can put errors about a build in the thread for it in the build log, helps keep things straight
-
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.
-
Both should be fixed. Admin accepting for registrations also fixed, in 768. That's going up right now.
-
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)
-
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)
-
Still open: Bids not being set Any new issues? Financials?
-
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
-
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!
-
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.
-
Excellent!
-
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)
-
Try bidding on 413, does that work?
-
Which one did you bid on? It may have been bidded on already
-
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
-
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
-
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)
-
Looking for VA's to test AIRmail system [DEPRECATED]
Nabeel replied to simpilot's topic in Simpilot Group Addons
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