Jump to content

ShrikarG

Members
  • Posts

    54
  • Joined

  • Last visited

Everything posted by ShrikarG

  1. Yes. I didn't understand your problem correctly. Does the pilot receive an email whenever he registers?
  2. Small correction here (My Apologies) After a fresh install , in Admin/Webmaster email , I put the email through which I want to send Registration Emails (in your case : noreply@xxxxx.com) So whenever a user registers , the registration email will go through Noreply@xxxxxx.com. (Instead of noreply you put anything you want for eg: hr@xxx.com or admin@xxx.com - its the email id through which you would like to send registration emails) I didnt add/edit anything in local.app.config. It works all good.
  3. I have simpilot phpVMS ver 5.5.x (php version) .
  4. Its upto you , if you want you can make a webmail with same email ID through cpanel so that when pilot replies back , it doesnt bounce back to them. I haven't made a webmail with the same email ID (mine is noreply@myva.com) .But in my case if the pilot replies back to the registration email , it would bounce back to him.
  5. This is what I did. After a fresh install , in Admin/Webmaster email , I put the email through which I want to send Registration Emails (in your case : postmaster@xxxxx.com) So whenever a user registers , the registration email will go through postmaster@xxxxxx.com.. I didnt add/edit anything in local.app.config. It works all good.
  6. 1. Go to schedule_briefing.tpl 2.Around line 95 you will find this <input type="button" onclick="simbriefsubmit('http://www.YourWebSite.com/index.php/SimBrief');" style="font-size:30px" value="Generate Simbrief"> 3. Change "YourWebsite.com" to your VA website where phpVMS is installed.
  7. [sOLVED] A infected file had blocked my Port 80/446. Deleted that file and requested my host to open up the Port. Now everything works well .
  8. Using phpVMS - Simpilot version 5.5.x Using PHP - v5.5 ( Tried changing it to 5.3 , 5.4 ,5.6) but still the problem persists.
  9. Hello.. I am getting such errors : Warning: simplexml_load_file(https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=VABB&hoursBeforeNow=1): failed to open stream: Connection timed out in /home/litejoro/public_html/crew/core/modules/WTHR/WTHR.php on line 14 Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=VABB&hoursBeforeNow=1" in /home/litejoro/public_html/crew/core/modules/WTHR/WTHR.php on line 14 Warning: simplexml_load_file(https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=stations&requestType=retrieve&format=xml&stationString=VABB): failed to open stream: Connection timed out in /home/litejoro/public_html/crew/core/modules/WTHR/WTHR.php on line 32 Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=stations&requestType=retrieve&format=xml&stationString=VABB" in /home/litejoro/public_html/crew/core/modules/WTHR/WTHR.php on line 32 Website : http://crew.litejetv...index.php/WTHR/ php.ini :allow_url_fopen = On allow_url_include = On
  10. I just replaced the layout.php and schedules_xxx.php files and it works awesome. Thank you very very much
  11. It works like a charm. Your name is going in my website's "Hall of Fame" . Thank you very very much
  12. How can I make charter flights generate income? I am using kACARS
  13. My Apologies. The Test Account is : ID : JAI0004 Pass : test1234
  14. Hello , I am running PHPVMS v5.5. I have installed everything as per instructions. But when I click on "Generate" Button , Nothing happens. Now I'll be as specific as possible of the things I have done : I have allow_url_fopen and allow_url_include enabled in php.ini . I have tried writing the javascript code ("<script>......</script> in - 1. both core_htmlhead and layout.php. 2.only core_htmlhead. 3. Only layout.php I have renamed every ".tpl" file to ".php". I have pasted the API key sent to me by SimBrief Guys. I have replaced "YOURSITENAME" to my website name (where the phpvms is installed) in schedule_Briefing.php .
  15. This method works for me , it adds bids successfully ("Bid Added" is printed on a blank page)...but removing bid does not work. http://forum.phpvms.net/topic/7431-no-route-passed-solved/ I hope Mark is able to find a solution for "No Routes Passed" real soon , that's the only thing left before I launch my VA.
  16. I removed all JS lines from layout.php but still no luck. I have decided to focus on something else for now. I have wasted a lot of time behind this and everything is going futile. Thanks for your kind help.
  17. Still its showing No Route Passed. If you want you can use the test account
  18. I dont have much information about HTML coding. Can you help me out to eliminate the multiple Jqueiry Library? I am posting codes below. core_htmlhead.php <script type="text/javascript"> var baseurl = "<?php echo SITE_URL;?>"; </script> <link rel="stylesheet" media="all" type="text/css" href="<?php echo fileurl('lib/css/phpvms.css')?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::Get('PAGE_ENCODING');?>" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAOwtULH3hIBFBwop55kEiVUXnHPT1nKmw&callback=initMap"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.form.js');?>"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/phpvms.js');?>"></script> <?php echo $MODULE_HEAD_INC; Layout.php <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Chrome, Firefox OS, Opera and Vivaldi --> <meta name="theme-color" content="#367FA9"> <!-- Windows Phone --> <meta name="msapplication-navbutton-color" content="#367FA9"> <!-- iOS Safari --> <meta name="apple-mobile-web-app-status-bar-style" content="#367FA9"> <!-- <title><?php echo $page_title; ?></title> --> <title><?php echo SITE_NAME; ?> CrewCenter</title> <?php echo $page_htmlhead; ?> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <!-- Bootstrap 3.3.6 --> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/crewcenter/bootstrap/css/bootstrap.min.css"> <!-- Font Awesome --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css"> <!-- Ionicons --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css"> <!-- Theme style --> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/crewcenter/dist/css/AdminLTE.min.css"> <!-- AdminLTE Skins. Choose a skin from the css/skins folder instead of downloading all of them to reduce the load. --> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/crewcenter/dist/css/skins/_all-skins.min.css"> <!-- iCheck --> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/iCheck/flat/blue.css"> <!-- Morris chart --> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/morris/morris.css"> <!-- jvectormap --> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/jvectormap/jquery-jvectormap-1.2.2.css"> <!-- Date Picker --> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/datepicker/datepicker3.css"> <!-- Daterange picker --> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/daterangepicker/daterangepicker.css"> <!-- bootstrap wysihtml5 - text editor --> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css"> </head> <body> <?php echo $page_htmlreq; ?> <div id="content"> <?php echo $page_content; ?> </div> <!-- jQuery 2.2.3 --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/jQuery/jquery-2.2.3.min.js"></script> <!-- jQuery UI 1.11.4 --> <script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script> <!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip --> <script> $.widget.bridge('uibutton', $.ui.button); </script> <!-- Bootstrap 3.3.6 --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/bootstrap/js/bootstrap.min.js"></script> <!-- Morris.js charts --> <script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/morris/morris.min.js"></script> <!-- Sparkline --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/sparkline/jquery.sparkline.min.js"></script> <!-- jvectormap --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script> <!-- jQuery Knob Chart --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/knob/jquery.knob.js"></script> <!-- daterangepicker --> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/daterangepicker/daterangepicker.js"></script> <!-- datepicker --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/datepicker/bootstrap-datepicker.js"></script> <!-- Bootstrap WYSIHTML5 --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script> <!-- Slimscroll --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/slimScroll/jquery.slimscroll.min.js"></script> <!-- FastClick --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/fastclick/fastclick.js"></script> <!-- AdminLTE App --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/dist/js/app.min.js"></script> <!-- AdminLTE dashboard demo (This is only for demo purposes) --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/dist/js/pages/dashboard.js"></script> <!-- AdminLTE for demo purposes --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/dist/js/demo.js"></script> </body>
  19. Can you please tell the same to remove the bid?
  20. I did a FireBug Test from Mozilla Firefox and it is showing error in Morris js.
  21. Hello , I am using PHPVMS v5.5. I have installed AutoAccept PIREP Module by Baggelis.com. Initially after installation , it showed me errors but after browsing though the forums it helped me get rid of all errors. Now even after having no errors , its not accepting/rejecting the PIREPS. Any Solution?
  22. Hello , I don't know if this bug is just with me or with everyone :- When I edit any Info in my Profile , It doesnt get saved. It stays with previous values itself. Hence I have modified the code between (approx) line 17 to line 109 in profileedit.php/tpl (after the code "<form action="<?php echo url('/profile');?>" method="post" enctype="multipart/form-data">) Edited Code : <dl> <label>Name</label> <dd><input type="text" class="form-control" disabled placeholder="<?php echo $pilot->firstname . ' ' . $pilot->lastname;?>"></dd> <label>Airline</label> <dd><input type="text" class="form-control" disabled placeholder="<?php echo $pilot->code?>"> <p>To request a change, contact your admin</p> </dd> <label>Email Address</label> <dd><input type="text" class="form-control" name="email" value="<?php echo $pilot->email;?>" /> <?php if(isset($email_error) && $email_error == true) echo '<p class="error">Please enter your email address</p>'; ?> </dd> <label>Location</label> <dd><select name="location" class="form-control"> <?php foreach($countries as $countryCode=>$countryName) { if($pilot->location == $countryCode) $sel = 'selected="selected"'; else $sel = ''; echo '<option value="'.$countryCode.'" '.$sel.'>'.$countryName.'</option>'; } ?> </select> <?php if(isset($location_error) && $location_error == true) echo '<p class="error">Please enter your location</p>'; ?> </dd> <label>Signature Background</label> <dd><select name="bgimage" class="form-control"> <?php foreach($bgimages as $image) { if($pilot->bgimage == $image) $sel = 'selected="selected"'; else $sel = ''; echo '<option value="'.$image.'" '.$sel.'>'.$image.'</option>'; } ?> </select> </dd> <?php if($customfields) { foreach($customfields as $field) { echo '<dt>'.$field->title.'</dt> <dd>'; if($field->type == 'dropdown') { $field_values = SettingsData::GetField($field->fieldid); $values = explode(',', $field_values->value); echo "<select name=\"{$field->fieldname}\">"; if(is_array($values)) { foreach($values as $val) { $val = trim($val); if($val == $field->value) $sel = " selected "; else $sel = ''; echo "<option value=\"{$val}\" {$sel}>{$val}</option>"; } } echo '</select>'; } elseif($field->type == 'textarea') { echo '<textarea name="'.$field->fieldname.'" class="customfield_textarea">'.$field->value.'</textarea>'; } else { echo '<input type="text" name="'.$field->fieldname.'" value="'.$field->value.'" />'; } echo '</dd>'; } } ?> Please NOTE : Do not edit the code unnecessarily. Edit the code only if the changes made in Edit Profile page are not reflected after saving it. The above code works for me. I am using PHPVMS v5.5
  23. Hello , I am new to phpvms. I am using PHPVMS v.5.5. Now , whenever a Pilot Registers , or requests for a hub change ,etc, no email is sent to it. I have read alots of forums posts here . I tried them all but none are working . Please help me out. I am posting all my settings here. I have made a server email "noreply@xxxxxxx.com" (Some words are hidden by "xxxxxx") util.class.php if(Config::Get('EMAIL_USE_SMTP') == true) { $mail->IsSMTP(); $mail->Host = Config::Get('EMAIL_SMTP_SERVERS'); $mail->Port = Config::Get('EMAIL_SMTP_PORT'); if(Config::Get('EMAIL_SMTP_USE_AUTH') == true) { $mail->SMTPAuth = Config::Get('EMAIL_SMTP_USE_AUTH'); $mail->SMTPSecure = Config::get('EMAIL_SMTP_SECURE'); $mail->Username = Config::Get('EMAIL_SMTP_USER'); $mail->Password = Config::Get('EMAIL_SMTP_PASS'); } } app.config.php and local.config.php # Email Settings Config::Set('EMAIL_FROM_NAME', 'My Virtual Team'); Config::Set('EMAIL_FROM_ADDRESS', 'noreply@xxxxxx.com'); Config::Set('EMAIL_USE_SMTP', true); # Add multiple SMTP servers by separating them with ; Config::Set('EMAIL_SMTP_SERVERS', 'cp-in-13.webxxxxxx.net'); Config::Set('EMAIL_SMTP_PORT', '465'); Config::Set('EMAIL_SMTP_USE_AUTH', true); Config::Set('EMAIL_SMTP_SECURE', 'tls'); # must be "ssl" for Google Apps Config::Set('EMAIL_SMTP_USER', 'noreply@xxxxxx.com'); Config::Set('EMAIL_SMTP_PASS', 'xxxxxxx'); # Set specific email addresses to send notifications to Config::Set('EMAIL_NEW_REGISTRATION', 'noreply@xxxxxx.com'); Config::Set('EMAIL_NEW_PIREP', 'noreply@xxxxxx.com'); # Whether to send an email or not Config::Set('EMAIL_SEND_PIREP', true); # This is email to specifically send email sent error to, such # as failure notices with an invalid email or something # If blank, it'll default to the "from" email that's specified Config::Set('EMAIL_RETURN_PATH', noreply@xxxxxx.com'); Email Address Settings from cpanel Secure SSL/TLS Settings (Recommended) Username: noreply@xxxxxx.com Password: Use the email account’s password. Incoming Server: cp-in-13.wxxxxxxxx.net IMAP Port: 993 POP3 Port: 995 Outgoing Server: cp-in-13.wxxxxxxxx.net SMTP Port: 465 Authentication is required for IMAP, POP3, and SMTP. Entry from admin panel Webmaster Email Address ADMIN_EMAIL noreply@xxxxxx.com This is the email address that email will get sent..
×
×
  • Create New...