Jump to content

Vangelis

Members
  • Posts

    1076
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Vangelis

  1. Hi you can check this solution if it works for you Digiover Newbie Members 1 posts Posted 06 June 2014 - 02:16 PM In order to send authenticated SMTP email over TLS, you need the following in your local.config.php (bug fix!): Config::Set('EMAIL_USE_SMTP', true); // Add multiple SMTP servers by separating them with ; Config::Set('EMAIL_SMTP_SERVERS', 'smtp.example.com'); Config::Set('EMAIL_SMTP_PORT', '25'); // or 587 Config::Set('EMAIL_SMTP_USE_AUTH', true); Config::Set('EMAIL_SMTP_USER', 'yourname@example.com'); Config::Set('EMAIL_SMTP_PASS', 'p4ssword'); Config::Set('EMAIL_SMTP_SECURE', 'tls'); Then, open up /core/classes/Util.class.php, scroll to line 257 and add in that code block: if(Config::Get('EMAIL_SMTP_USE_AUTH') == true) { $mail->SMTPAuth = Config::Get('EMAIL_SMTP_USE_AUTH'); // <- this line needs to be added $mail->Username = Config::Get('EMAIL_SMTP_USER'); $mail->Password = Config::Get('EMAIL_SMTP_PASS'); $mail->SMTPSecure = Config::Get('EMAIL_SMTP_SECURE'); } Otherwise PHPMailer won't trya authenticating because $mail->SMTPAuth value isn't set.
  2. the query should be query = "SELECT phpvms_schedules.*, phpvms_aircraft.name AS aircraft,phpvms_aircraft.registration,Auth::$userinfo->ranklevel //added this FROM phpvms_schedules, phpvms_aircraft,phpvms_pilots /added this WHERE phpvms_schedules.depicao LIKE '$depicao' AND phpvms_schedules.arricao LIKE '$arricao' AND phpvms_schedules.code LIKE '$airline' AND phpvms_schedules.aircraft LIKE '$aircraft' AND phpvms_aircraft.ranklevel<=Auth::$userinfo->ranklevel return DB::get_results($query);
  3. Have you tried anything ?
  4. Thats normal at some point it will come back
  5. If you know how to code yes you could
  6. this error comes from the module Fatal error: Call to undefined method OperationsData::AddAircaft() in /home/xxxxxxx/public_html/admin/modules/Operations/Operations.php on line 720\ i told you to go to folder core then to folder common and the open the OperationsData.class.php and see if there is a function called addaircraft it should be around line 375
  7. Check if the function exists in core / common / OperationsData.class.php
  8. with the way i told you if you check the add schedule function uses str_replace to change the . with : this proves that it is HH.MM $data['flighttime'] = str_replace(':', '.', $data['flighttime']);
  9. allow_url_fopen and allow_url_include in php.ini are off contact your hosting company for further information
  10. In what format do you want the file to be ? F.e vid,vid,vid Or vid Vid Vid
  11. What are you trying to achieve ? Maybe we can suggest another aproach
  12. Step 1 add the this code on the top of your local.config.php <?php session_start(); if(isset($_GET['template']) && $_GET['template'] != ''){ $_SESSION['template'] = $_GET['template']; define('CURRENT_SKIN',$_GET['template']); } if(isset($_SESSION['template']) && $_SESSION['template'] != '') { define('CURRENT_SKIN',$_SESSION['template']); } ?> Step 2 Create 2 folders WIth the names ocean_blueEn and ocean_blueFR In the admin section make 1 of the 2 default template Make sure your links are correct. If you want to open your website in english your link should be www.yourlink.com/index.php/acars/?template=ocean_blueEn
  13. You mean dynamic if you have static ip how many times you restart your router it will stay the same
  14. Yes most probably because of the $rating variable how do you get this ?
  15. In your css line 145 change background: linear-gradient(to bottom, rgba(75, 87, 92, 1) 0%,rgba(31, 38, 43, 1) 100%); change the numbers acording to what you want See this site it will help you http://www.rapidtabl...r/RGB_Color.htm in my humble opinitos this color set suits more to your site linear-gradient(to bottom, rgba(24, 33, 37, 1) 0%,rgba(55, 69, 77, 1) 100%)
  16. Can you try it now ? it seems to be working now
  17. Most propably the php versions wouldn't be the problem can you please attatch a screenshot of the procces ?
  18. They have a modified version of Apvacars as it is the only available source code out there
  19. Your site seems to be all in spanish i dont know how somedoby without the knowledge of the spanish language can help you
  20. Without wanting to be rude i would like to remind you http://forum.phpvms.net/topic/3462-phpvms-no-attribution-license/
  21. http://forum.phpvms.net/topic/20729-table-with-row-in-multiple-column/
  22. actualy you can count the atc hours on your own website i have done it for Cyprus Vacc you need to grab the vatsim txt file using a cron with the online users and read it and then add the info to your db after that you can display it as you want
  23. with the query that you have provided you ask for statistics per months to be honest i dont undertand what exacly are you trying to achieve if you can please describe it
×
×
  • Create New...