Jump to content

Nabeel

Administrators
  • Posts

    8141
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by Nabeel

  1. Yes but I'd like the hours to count when calculating their Rank or any other Hours based awards. Can I do that with a simple custom field?
    Ohh, hmm. Well, I'm including ranks into one of the next builds. That table is already there, but that would only look at the hours counted from the filed PIREPs. There are groups, you can place them into groups. I'm going to enhance the groups a little more, to show up in the main profile, and when viewing other pilots profiles. These are all planned.But, you'd prefer a "solid" field for previous hours? Updating their rank from both the pirep hours and ones from the custom field can be done easily by an add-on. I'll be putting events based stuff soon too. But I'll add another field for that. Generally I thought rank was based on only hours from that airline, not any others.Lemme know, it's not a problem.
  2. I would like to be able to alter the total hours that a pilot has. Say for instance when they sign up and transfer hours from another VA.Ideally I would also like to track them separately from hours flown at our airline.
    You can add a custom field for this, and they can just enter it on sign up.
  3. Hmm. Never heard google giving that error.If you have phpmyadmin, in the settings table, blank the value for GOOGLE_APIor just run

    update phpvms_settings set value='' where name='GOOGLE_KEY';

    Or.. you can just download the latest svn copy since I fixed it in the next build:http://phpvms.devjavu.com/changeset/lat ... format=zipThere's a bunch of other fixes too. Hopefully there are no more table changes, I'm getting annoyed with reinstalls too icon_razz.gif Let me know if that works though.Thanks man.

  4. Download Pagehttp://www.phpvms.net/docs/downloads

    • Charts show up on Dashboard (Module based), for some rudimentary stats (more coming)
    • Google Map shows route on "View Report" page
    • Accept/Reject PIREPs in Admin Panel (after accept, adds total flights/hours)
    • About page in Admin Panel
    • Database tables changed to InnoDB, show some respect to the FK and integrity =D
    • "SET FOREIGN_KEY_CHECKS=1;" to compensate for host-specific settings
    • PIREP list view enhancements
    • Definition lists heights evened out
    • "New Version" available message, fixed to show only on main page
    • Design enhancements

    CLEAN INSTALL!Big table changes. There may be errors, let me know though.

  5. I haven't had a chance to try and break anything yet but this looks pretty slick.If I may say Nabeel this system shows an incredible amount of promise and I hope to be running our VA exclusively on it soon. icon_e_smile.gif
    Thanks! I'm open to any suggestions as well, so if something can be done differently/better, I'm all ears!
  6. Hey everyone, new build today:Download Pagehttp://www.phpvms.net/docs/downloadsChangeset/Fixed tickets:http://phpvms.devjavu.com/changeset/258http://phpvms.devjavu.com/changeset/257http://phpvms.devjavu.com/changeset/256Changes:

    • Update notification - shows in admin panel when an update is available (field update in Settings). In order for update notification to work, you must allow http access for file handlers. Otherwise, it will not work.
    • Add comments to PIREP (from Admin Panel), sends email to submitter with the comment, and link back to view the comment. Submitter can then reply to any inquiry, and then the report can be accepted/rejected based on that.
    • Show comments in 'View Report' page
    • Show unaccepted reports in admin panel (new entry in navigation)
    • New crystal theme, with sidebar instead of top navigation (default admin theme)
    • Added Google Maps API key into settings for future (in table SQL)
    • Custom Fields have "title" field, which shows, which is converted into the formal name Required alteration in table
    • Name capitalization on Registration
    • Template HTML cleaned up
    • Wording fixes
    • Core bug fixes
    • Templates were showing incorrectly in installer

    Clean install please, since there are a few table changes.The accept/reject PIREPs should be hopefully in the next build.Leave feedback,Thanks!

  7. Yeah, it is:http://www.phpvms.net/docs/skinningI'd copy the existing crytal one into a new folder, and work out of that. Basically, just edit the header/footer.tpl to match. Just keep the elements that are required in there, and you should be set icon_e_smile.gifOh, and then in the admin panel, in the settings, just select the skin to use. This only affects the front-end, not the admin panel.I'm fixing a bug in the "Editing Templates" where you place the modified template in your skin folder, that should be avail in the next build. I wouldn't do that just yet until most of the code is finalized though.

  8. Ok, I made a copy of my sitewide PHP.INI and placed it into the root of my test server directory. Disabling Error Reporting in this PHP.INI appears to have solved the issue.
    Cool. Don't disable it completelely, instead set it as E_ALL ^ E_NOTICEThat way, errored pages won't shut up blank, but will show an actual error. You might also want to set display_errors to off, for any other sites.
  9. I don't have language strings defined. But, you can:Copy the files in core/templates, to your skins folder, and then do the translations. Those will be retained in your skin. But in this alpha stage and then later updates, those could be modified by me.There are also template files in admin/templates which would need translation, but those can't be moved from that location. I wouldn't modify those, because my later builds/releases can over-write those.When you create pages, since you write those, it's in whatever language. Same for language in the header/footer templates in whatever skin you use.If you want to be able to "formally" translate files, which would be friendly towards upgrades/updates, I can accommodate that in a later build. Let me know, I think accommodating it this way will be better, as it'll be future-proof.

  10. Hey,Those are just notices, not warnings or errors. It's most likely because in your php.ini, you have display_errors set to on, and error reporting to E_ALL. Usually, on production servers, display_errors is set to off, your server just seems to have it on, with the error_reporting level turned all the way up.In your site_config.inc.php, you can put:error_reporting(E_ALL ^ E_NOTICE);orini_set('error_reporting', E_ALL ^ E_NOTICE);That will shut off the E_NOTICE errors.. The first one is what I have set in the config.inc.php, but your server seems to be over-riding that. Hopefully that helps. Lemme know how that turns out.

  11. If you downloaded 253, update to this, fixed a few issues from when my svn client crashedChanges: * Pilot Reports (pilot end complete, admin end is next) * Individual PIREP page * Slow animation fadeout in JS popups * 'Add Airline' template error on popup * Pilot last login/# logins updated * Pilot details button placementMore enhancements are coming up (maps on pirep page), just a good testing of the above would be great! icon_e_smile.gifA few table alterations, so either a clean install, or just run:Changeset: http://phpvms.devjavu.com/changeset/253/trunk

    ALTER TABLE `phpvms_pireps` CHANGE `flighttime` `flighttime` VARCHAR( 6 ) NOT NULL DEFAULT '0';ALTER TABLE `phpvms_pireps` CHANGE `deptime` `depicao` VARCHAR( 4 ) NOT NULL ,CHANGE `arrtime` `arricao` VARCHAR( 4 ) NOT NULL ;ALTER TABLE `phpvms_pirepcomments` CHANGE `commenter` `pilotid` INT NOT NULL ;

    Change the phpvms_ part if you changed your table prefix.Just re-download and copy over the existing files. Don't forget to save your site_config, unless you're re-running the installer.Any suggestions for enhancements are welcome.

  12. Installer issues fixed. Sorry about that! icon_redface.gif I had forgotten to blank the site_config.inc.php. Changeset: http://phpvms.devjavu.com/changeset/251/Download just the updated files (from 250):http://phpvms.devjavu.com/changeset/251 ... ip&new=251Update:And from 251 to 252:http://phpvms.devjavu.com/changeset/252 ... ip&new=252[*]Installer issues fixed[*]Added Version/Permissions checkOr just download a fresh copyLemme know how that goes.

×
×
  • Create New...