Jump to content

servetas

Moderators
  • Posts

    1726
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by servetas

  1. The module is payware. Have you purchased it? Have you tried reaching simpilot?
  2. phpVMS v7 is currently under development. In any case, your developer would be great if he could familirize himself with the system's file and database tables. In that case, he will be able to do everything required to import all of the data into phpVMS's database without loosing any of them.
  3. I am in the process of completely rewritting the Pilot Awards System which is available for a couple of year as a payware module on PHP-Mods website. The module is going to have a few issues resolved as well as extra auto awards functions (25 auto awards criteria in total). Due to that, I am looking for beta testers. The beta testers will have early access to the module and they will also assist me in the resolution of any bugs found before the final release. Criteria You have already purchased the Pilot Awards System module. You have an active phpVMS installation with at least 20 pireps per day. You are willing to share your phpVMS/FTP/Database credentials. You have some basic knowledge over phpVMS (not developer knowledge). If you are interested in that, just open a new support ticket under PHP-Mods Billing System and let me know your phpVMS website URL. I will need approximately 2-3 beta testers. The critera for the auto awards system which are going to be implemented into the system are the following. The system will automatically check if the pilot fulfills any of the criteria and it will issue the desired awards just like it works today with the basic criteria. Hours | Flights | Landing Rate | Days of Membership (weekends included or not) | Distance | Hours by Airline | Hours by Aircraft Type | Flights by Airline | Flights by Aircraft Type | Distance by Airline | Distance by Aircraft Type | Landing Rate by Aircraft Type | Flights by Airport Departed | Flights by Airport Arrived | Hours by Airport Departed | Hours by Airport Arrived | Times Flown a Schedule | Times Flown by ACARS | Pilot Money | Fuel Burned | Long Flight by Hours | Long Flight by Distance | Forum Posts (based on the PHP-Mods Forum System) | Screenshots Submitted (working with simpilot & crazycreatives addon modules) | Tours Completed (working with simpilot & crazycreatives addon modules) Do you have any extra ideas? Feel free to share them! Follow us at https://php-mods.eu/
  4. Hey, You can purchase it from this url: https://php-mods.eu/cart.php?a=confproduct&i=0 PM me if you still need more information and I will be happy to help you
  5. In general, it would be better to post your question under the skin's thread so the developer can see it easily to address your question. I have not worked with the theme in the past but you will probably have to work with the following file: your_phpvms_directory/lib/skins/iCrewLITE/app_sidebar.php. Starting from line 98, you will see something like this: <li> <a href="<?php echo SITE_URL?>/index.php/screenshots"> <i class="material-icons">photo_camera</i> <span>Gallery</span> </a> </li> Just under this, paste this one: <li> <a href="<?php echo SITE_URL; ?>/admin"> <i class="material-icons">photo_camera</i> <span>Admin Center</span> </a> </li> Of course this is something pretty basic. The above part of code can be placed wherever else you want outside of a <li></li> statement. If you aware of the basics of HTML, you probably have it.
  6. Unfortunately this is two general. The disk usage can be affected from different things such as statistics calculation, file uploads etc. I have checked your website (as I am supporting it actively, just to let the rest of the community know) and made a few changes today. It seems that the system keeps creating php session files in the server and that causes the issue. Let's see how is it going to work.
  7. Can you go to your_phpvms_url/admin ? Is this what you need?
  8. Dear Jonathan, All the support requests are handled through our billing systems. You will have to open a new support ticket under our billing system if you have not done so already. Thank you very much for your interest in my modules and I will be more than happy to help you in case you have any problem or question about the module. George
  9. Dear blue3294, It is true that during the Summer my time was limited because of a few personal issues I have. This kept everything back and as a result it resulted in a delay in my replies in PHP-Mods support tickets. Your request has been already resolved through our support ticket system as I do not offer support for my payware modules publicly inside the forum. I would like to apologize for any delay you might have experience and I will be more than happy to help you in case you have any further problem with the module or anything like that.
  10. This is what I regularly use: include_once '../core/codon.config.php'; if(Auth::LoggedIn()) { echo 'You are logged in'; } else { echo 'You are not logged in'l } Of course, you will have to update the include_once line in order to point to the path of your phpVMS core/codon.config.php according to the current directory of your web application.
  11. Hello There, I just saw your messages here. Support is not offered through the forum. Please open a new support ticket under the PHP-Mods billing system and I will be more than glad to assist you.
  12. The "Bid added" is included within your core/modules/Schedules/Schedules.php file. It should be around line 144. ___________________________________________ phpVMS Modules | Web Hosting | Pilot Awards (w/Auto Awards) | Pilot Shop | Real Booking System | Forum System
  13. As soon as you have the psd files of the livery I believe that you should be able to do the required changes.
  14. Yes of course, Have't you kept the installers of the modules? If no, you will probably have to get into your phpVMS files and database and move them to your new phpVMS installation. _________________________________________ phpVMS Modules | Web Hosting | Pilot Awards (w/Auto Awards) | Pilot Shop | Real Booking System | Forum System
  15. Hmmm, what you request is not that easy because it may require a few work to be done. Open the core/common/PIREPData.class.php file and find this: public static function deleteField($id) { $sql = 'DELETE FROM ' . TABLE_PREFIX . 'pirepfields WHERE fieldid=' . $id; $res = DB::query($sql); if (DB::errno() != 0) return false; return true; //TODO: delete all of the field values! //$sql = 'DELETE FROM '.TABLE_PREFIX.' } after this, add the following part of code: public static function getSumByField($pilotid, $field) { $sql = "SELECT SUM(v.value) AS total FROM ".TABLE_PREFIX."pirepvalues AS v LEFT JOIN ".TABLE_PREFIX."pireps AS p ON p.pirepid=v.pirepid WHERE v.fieldid='$field' AND p.pilotid='$pilotid' AND v.value REGEXP '^[0-9]+$'"; $total = DB::get_row($sql); if(!$total) return 0; return $total->total; } Then within the pilot's center or any other part of your website, you can use the following code to show the total points. Just ensure that the pilot really submits numbers within the points section although I added an extra check within the where statement. <?php echo PIREPData::getSumByField(SET_HERE_THE_PILOT_ID, SET_HERE_THE_FIELD_ID); ?> Do not forget to update the SET_HERE_THE_PILOT_ID and SET_HERE_THE_FIELD_ID values accordingly. I did not test it but it should work. Let me know if it does. ___________________________________________ phpVMS Modules | Web Hosting | Pilot Awards (w/Auto Awards) | Pilot Shop | Real Booking System | Forum System
  16. Have you try to get in touch with the developers of smartCARS? Considering that the community does not have access to the core part of the smartCARS, we are not able to assist you to this.
  17. According to this I can see that parkho has a break on line 64. If you have something that looks almost identical I would suggest you to just remove the break statement. If you are not sure about what do do, paste here lines 70-80 and we will be able to review it. I assume that line 73 has probably a break statement
  18. What do you see after you click on the search button? What is your website url?
  19. Found this: https://github.com/tutsplus/how-to-integrate-google-no-captcha-recaptcha-on-your-website/blob/master/recaptchalib.php Does your recaptchalib.php look alike? If yes, try to replace this: function ReCaptcha with this: function __contruct
  20. Are you using a different table prefix for your database tables? The module is set to query the phpvms_schedules database table. Does it exist?
  21. Follow the steps below: 1) Open the core/common/FrontSchedulesData.class.php and where "public function" replace with "public static function". 2) Open the core/modules/FrontSchedules/FrontSchedules.php and where ".tpl" replace with ".php". 3) Open the core/templates directory and change the name of the "airport_search.tpl" file to "airport_search.php". They should work correctly afterwards.
  22. Yes they can but you will have to make a few changes in order to make it work correctly. Which module are you trying to install on 5.5?
  23. servetas

    Code

    This is an English speaking forum plus the fact that I do not speak French yet :D. Please write in English
  24. servetas

    Code

    Your function has a few errors. First of all. you are saying "SUM(`final_score`) AS final_score" which means that the return will be titled as final_score and then you are doing an if using the title score. In " return ($result->score == '') ? 0 : $result->score; " you will have to replace score with final_score. Also, where are you getting the $pilotid variable in the function from? You should pass it in the function arguments or remove it. Have you added the final_score column in the pireps table?
  25. Are you running the above pasted code within your phpVMS website? Where have you placed it?
×
×
  • Create New...