Jump to content

Nabeel

Administrators
  • Posts

    8147
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. There's a new ulitiy function to return the proper path: url(); So: <a href="<?php echo url('/pireps/new');?>">File a New PIREP</a>
  2. This topic has been moved to FAQ. [iurl]http://forum.phpvms.net/index.php?topic=1270.0[/iurl]
  3. ACCESS_ADMIN will allow anyone who has access to the admin panel. If you use FULL_ADMIN, that will only allow true administrators to do that. But if someone has access to edit schedules, they get ACCESS_ADMIN and EDIT_SCHEDULES, but they're not a full administrator, so you might want to change that depending on what you want
  4. That's odd, I don't have a UNIQUE key in my master database for the name. What version are you guys on? There's no checks in the code either on the name when adding, just on registration.
  5. This topic might help you: http://forum.phpvms.net/index.php?topic=1270.0 So set one schedule as that "catch all". As for the "Same airports", that restriction has been removed for the next version. It's currently in the beta, so if you're brave enough you can update to the beta (unless you can wait several weeks for the next version). If you do a search, there might be a thread on how to remove that restriction manually (it's just deleting a few lines of code). The hidden field, you'd have to add in that template for that form. Something like: <input type="hidden" name="flightnum" value="flight number from schedule" /> This, along with the little "cheat" from the thread above should put you on the right track. You can change the language in the templates, that's not a problem, as long as you don't change the names of the input form fields. Just remember to copy the templates into your skin's directory so they don't get overwritten. Military version - I've removed alot of the restrictions I had previously, so things should be a little loser now to operate as you need to.
  6. No idea, what web server? Anything in an htaccess file? That's an odd one
  7. Make sure your user has sufficient permissions to that database. It wouldn't be a code issue, since that's the error being returned by MySQL
  8. You should be able to? I thought that bug was fixed. Let me look through my notes. You're supposed to be able to though. You can remove the UNIQUE key on the table. I don't think there are any code checks. Internally, I only use the registration (including in the import/export files)
  9. Hmm, right now it only tracks users who clicked "Remember Me", I have to fix it so it tracks both
  10. Nabeel

    RSS?

    Google http://www.google.com/#hl=en&source=hp&q=add+rss+links&aq=f&aqi=g3g-m3&oq=&fp=59681ffd38a8e39f
  11. Haha, well if that's the real world pricing...
  12. You can if you want to - to get them you goto the downloads page, and download the beta.zip. Then you run the install/update.php. Everytime there's a new build, a new post goes in that forum, and the beta.zip is updated. Usually things are stable, but if there's a bug I always get a few emails almost immediately, so it's fixed right away almost. So you can update as often as you'd like. Right now, things are going to be pretty stable, since I'm planning on a new release, I've stopped any major new features or updates, just bug fixes.
  13. Need more info, which client? If you file a PIREP does that show?
  14. Try renaming the extension then give it a shot, that's weird
  15. That's fine, you have debug_mode to on, that's why. I'll remove it on next build. BTW your ticket prices are low.. $60 for that trip? Should be at least 300-400, but that's your airline's job to figure out
  16. Rev 775 - Finance fixes, pilot pay fixes21 October 2009, 1:39 pmRev 775 - nabeel (12 file(s) modified)Finance fixes, pilot pay fixes~ /trunk/admin/modules/Maintenance/Maintenance.php~ /trunk/admin/modules/PIREPAdmin/PIREPAdmin.php~ /trunk/admin/templates/maintenance_options.tpl~ /trunk/admin/templates/pirep_edit.tpl~ /trunk/core/common/CentralData.class.php~ /trunk/core/common/PilotData.class.php~ /trunk/core/common/PIREPData.class.php~ /trunk/install/install.sql~ /trunk/install/update.php~ /trunk/install/update.sql+ /trunk/unittest/add_pirep.php+ /trunk/unittest/time.phpSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  17. They should have been removed from the downloadables automatically. After I commit there's a few scripts which run and put it all together. Also, run the install/update.php on this one, there was a table addition, thanks
  18. Marking this as fixed in latest beta, let me know if it's still a problem
  19. Which version are you on? Update to the latest beta (if you're on a beta). But looks most likely some file corruption or wrong version.
  20. What are the permissions on the pln file? Is it at least readable? Try changing it to 755
  21. Rev 774 - PIREP finances bug fixes and improvements21 October 2009, 8:06 amRev 774 - nabeel (72 file(s) modified)PIREP finances bug fixes and improvements~ /trunk/admin/action.php~ /trunk/admin/index.php~ /trunk/admin/templates/pireps_list.tpl~ /trunk/core/classes/Debug.class.php~ /trunk/core/common/OperationsData.class.php~ /trunk/core/common/PIREPData.class.php~ /trunk/core/logs/log.txt~ /trunk/lib/rss/latestpireps.rss- /trunk/unittest/index.php- /trunk/unittest/krumo/class.krumo.php- /trunk/unittest/krumo/INSTALL- /trunk/unittest/krumo/krumo.ini- /trunk/unittest/krumo/krumo.js- /trunk/unittest/krumo/LICENSE- /trunk/unittest/krumo/README/trunk/unittest/krumo/skins+ /trunk/unittest/krumo/skins/blue+ /trunk/unittest/krumo/skins/default+ /trunk/unittest/krumo/skins/green+ /trunk/unittest/krumo/skins/orange+ /trunk/unittest/krumo/skins/schablon.com- /trunk/unittest/krumo/TODO- /trunk/unittest/krumo/VERSION- /trunk/unittest/simpletest/authentication.php- /trunk/unittest/simpletest/autorun.php- /trunk/unittest/simpletest/browser.php- /trunk/unittest/simpletest/collector.php- /trunk/unittest/simpletest/compatibility.php- /trunk/unittest/simpletest/cookies.php- /trunk/unittest/simpletest/default_reporter.php- /trunk/unittest/simpletest/detached.php- /trunk/unittest/simpletest/dumper.php- /trunk/unittest/simpletest/eclipse.php- /trunk/unittest/simpletest/encoding.php- /trunk/unittest/simpletest/errors.php- /trunk/unittest/simpletest/exceptions.php- /trunk/unittest/simpletest/expectation.php/trunk/unittest/simpletest/extensions+ /trunk/unittest/simpletest/extensions/testdox- /trunk/unittest/simpletest/form.php- /trunk/unittest/simpletest/frames.php- /trunk/unittest/simpletest/HELP_MY_TESTS_DONT_WORK_ANYMORE- /trunk/unittest/simpletest/http.php- /trunk/unittest/simpletest/invoker.php- /trunk/unittest/simpletest/LICENSE- /trunk/unittest/simpletest/mock_objects.php- /trunk/unittest/simpletest/page.php- /trunk/unittest/simpletest/parser.php- /trunk/unittest/simpletest/README- /trunk/unittest/simpletest/reflection_php4.php- /trunk/unittest/simpletest/reflection_php5.php- /trunk/unittest/simpletest/remote.php- /trunk/unittest/simpletest/reporter.php- /trunk/unittest/simpletest/scorer.php- /trunk/unittest/simpletest/selector.php- /trunk/unittest/simpletest/shell_tester.php- /trunk/unittest/simpletest/simpletest.php- /trunk/unittest/simpletest/socket.php- /trunk/unittest/simpletest/tag.php/trunk/unittest/simpletest/test+ /trunk/unittest/simpletest/test/support+ /trunk/unittest/simpletest/test/support/collector- /trunk/unittest/simpletest/test_case.php- /trunk/unittest/simpletest/unit_tester.php- /trunk/unittest/simpletest/url.php- /trunk/unittest/simpletest/user_agent.php- /trunk/unittest/simpletest/VERSION- /trunk/unittest/simpletest/web_tester.php- /trunk/unittest/simpletest/xml.php- /trunk/unittest/tests/pirep_test.php- /trunk/unittest/tests/registration_test.php- /trunk/unittest/tests/verify_install.phpSource: phpVMSDownload from http://downloads.phpvms.net (phpvms.beta.zip)
  22. Alright, it seems the pay is being dished out properly, but not updating properly in the pilots table. I'll make a maintenance option and also fixed this up proper
×
×
  • Create New...