Jump to content

Kyle

Moderators
  • Posts

    2282
  • Joined

  • Last visited

Everything posted by Kyle

  1. You can add the VATSIM ID Field in your phpVMS Admin. 1) Access your phpVMS Admin 2) On the left side of the list of links, select "Site & Settings" and select "Profile Field" 3) On the left side, top. Click on "Add a Custom Field" 4) Fill out the form, type in the title "VATSIM ID", make sure the field type is "Text", and select your settings on the form. 5) To echo out the pilot's VATSIM ID, you can add this to the pilot_list.tpl. <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID');?> Cheers!
  2. I will advise you, if you have any schedules or PIREPs related to the Aircraft, I wouldn't be deleting it because it could potentially mess up your schedule or PIREP data. But I'll guide you though, 1) Access your phpVMS Database via phpMyAdmin or other MySQL Management Software 2) Select the database where you installed phpVMS. 3) Go to the table called phpvms_aircraft (this applies as well if you have a different prefix(phpvms)) 4) Select the aircraft that you want to delete. 5) and click on the delete button/link. That should do the trick.
  3. Gah, phpVMS doesn't like PHP 5.4... LOL. To fix these, go into core/classes/CodonModule.class.php And find the following.... public static $post; public static $get; public static $controller; public static $activeModule; And change to... public $post; public $get; public $controller; public $activeModule; And that should do the job. However, I may advise you to see if your hosting can let you use PHP 5.3 because PHP 5.4 doesn't work well with phpVMS right now. Although, there may be hidden errors while using phpVMS with PHP 5.4, I can't be sure on top of my head but I still suggest using phpVMS with PHP 5.3 just to avoid the headaches and errors.
  4. open_basedir restriction is enabled with your hosting. You would have to ask them to disable open_basedir restriction. Are you on Shared Hosting, or VPS/Dedicated?
  5. This is happening in PHP 5.4 and causing this to trigger. Go to PilotData.class.php in your core/common folder. Find the following.... public static function saveAvatar($code, $pilotid, $_FILES) Remove the $_FILES in the third parameter. public static function saveAvatar($code, $pilotid) And it should work again.
  6. Replace the following line.... imagestring($img, $font, $xoffset, $currline, $output[$i], $textcolor); To imagestring($img, int($font), $xoffset, $currline, $output[$i], $textcolor);
  7. Kyle

    vStaff - v1.0

    @simpilot, I have forget to add the license in the ReadMe File and it has been added. This module licensed under Attribution-NonCommercial-ShareAlike 3.0 Unported. You may feel free to fork it and integrate in your phpVMS Extended as you wish.
  8. Kyle

    vStaff - v1.0

    It's ordered like the manual ranking.
  9. Kyle

    vStaff - v1.0

    Do me a quick favor, run this query in your phpVMS Database. ALTER TABLE staff_members CONVERT TO CHARACTER SET utf8 And then clear your bio, save it, then try again and see.
  10. vStaff - v1.0 This module will allow you to manage your staff list fully such as categories of your staff levels, manage your staff photo, bio, job title, and their current staff level. I think the picture will speak for it's self! Created Under: http://creativecommo...s/by-nc-sa/3.0/ Completed By: Vansers Screenshot of Module: TO INSTALL MODULE: 1) Place the files as structured in the folder into your phpVMS Install location 2) Please run the sql_install.sql in your phpVMS as this will insert two tables for functionally of the module. 3) Enjoy! 4) BE SURE to set your staff_photos folder permissions to 777 as it will need access to it. MODULE LINKS TO ADD TO YOUR WEBSITE. THE ADMIN LINK IS ALREADY ADDED. <?php echo url('/vStaff'); ?> Version 1.0 - April 20, 2013 First Release Download From GitHub - Download ENJOY!
  11. Kyle

    vStatsCenter

    Module Updated to prevent SQL Injections. It's suggested that you update the module. Commits https://github.com/Vansers/phpVMS_vStatsCenter/commit/dedd16e4320e38579164a1618e0aabeb0d48337f https://github.com/Vansers/phpVMS_vStatsCenter/commit/67ef80ddf89ce3418c3b7083b1a2ee0243c20528 Download https://github.com/Vansers/phpVMS_vStatsCenter/archive/master.zip
  12. Kyle

    vAwards

    Not sure what you mean? It works. EDIT: Damn, that was embarrassing. Sorry about that. Here's the link -> https://github.com/V.../phpVMS_vAwards
  13. Kyle

    vStatsCenter

    You can put it in your Navigation bar or a link on any of the pages you wish.
  14. I believe your looking for this... <a href="<?php echo url('/FrontSchedules');?>">View Flight Schedules</a>
  15. Kyle

    Please consider this

    I think he means saving the FS Flight. I know the feeling. Ask Jeff in FS-Products to see if he can do it in custom kACARS. I'm sure he can do anything as possible.
  16. I may have an idea. Maybe add a status bar that the aircraft is being currently flown with ACARS?
  17. Done guys. https://github.com/Vansers/phpVMS_vFleetTracker/commit/4b61abbbafa6b7b361e143ee5295d2be27eb4cfd
  18. Kyle

    vAwards

    Reuploaded -> https://github.com/Vansers/phpVMS_vStatsCenter
  19. Had this similar issue with Sun Country Virtual when we had position reports snap every 15 seconds. Simple. Go into your hosting control panel, head into phpMyAdmin, select the database where your phpVMS is installed. Select the phpvms_pirep table, select the structure tab. Then click on edit on the row where it said "rawdata" . Then you change the type to longtext as I recommend because 20 seconds snap is a large data to fit in the table, Hope this helps
  20. Kyle

    php help

    Try this... <?php echo substr_count($pirep->log,"paused"); ?>
  21. The code looks fine, but do you have the flight time set in your schedules?
  22. I seen too much hosting advertise here, that's competition around here.
  23. Just wondering, Where's your link to your VA?
  24. Kyle

    Sluggishness

    Keep up the good work Nabeel.
×
×
  • Create New...