-
Posts
45 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by lapw123
-
-
On 23.1.2017 at 6:52 PM, Vangelis said:
Can you give the link to that file ? So we see what the format is
-
Sorry for that, that i really mean is the show who in have booked as atc in an spesefic fir, found xml file but how can i take the info into boxses so under atc box it will say ENBR_TWR name book johannsen and date 21.03.2017 1300z or something like that
-
Found an atc booking file xml api file but how can i filter the info into boxses there it say name vatsim id etc here is the file just change the file into what ever FIR you want
-
hello i was wonder if it was any script that could show show Some FIR`s atc bookings so more pilots could more easy choose where to fly via the page ? if not do anyone have an idea for how i can make this happend or somthing thanks
-
hello i got everything to work but where do i change those words here i have looked in every file almost http://prntscr.com/dvwd53 thanks you and a great work yo do with your temeplates
-
is it mayby becuse i have an vps and not an web host ?
-
tried that as well no with no luck
-
https://www.digitalocean.com ubuntu 14.04 x64 bit is the server and yes i pay for it
-
You use linux?
-
Alright i will try thanks
-
1 hour ago, Parkho said:
Did you add the config codes from app.config .php and use your server email? If yes try removing the ADDED config codes from your local.config.php and use the server email. I'm assuming you're not on a free host btw.
Yes i did and the server is from digitalocan
-
I tried with samuel@link-airlines.com on with sending blue
-
I also tried with zoho and sending blue
-
okey i found out it is somthing here
$return_path_email = Config::Get('EMAIL_RETURN_PATH');
if(Config::Get('EMAIL_SMTP_USE_AUTH') == true)
if($return_path_email == '') {
$return_path_email = $fromemail;
{
$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');}
Vangelis said a while ago this
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');
}
I already tried this now first i didnt get error msg but since it did go to fast before the mail was sendt i begin to think and yeah it was wrong i posted in the code again now i got error msg on line 313 and 316 so but since it is already somthing on line 257 im abit worried about is gonna move the info from that line and down are i gonna delete everything on that line and under that have something to do with line 257 or im gonna place abit under the line 257 and somthing that have somthing to do with line 257 thank you and so if someone could say how and where i gonna put it would be great since not so much php experince
-
20 minutes ago, ProAvia said:
I don't have an answer to your issue, but.......
What version of phpVMS are you using?
You may wish to edit your post above to remove the email address and password (unless those are only examples).
im using simpilot 5.5.2
-
hello sorry for bother you with this agian but i just installed phpvms and i dont work for me ... i tried with php mailer that dint work but i do known it is working since when i forgot to change the mail from mysite@blba.com i got a notification about somone tried to log in and that was my server well here my local config and uti config
local.config
# Email Settings
Config::Set('EMAIL_FROM_NAME', 'samuel');
Config::Set('EMAIL_FROM_ADDRESS', 'xxhdgamersxx7@gmail.com');Config::Set('EMAIL_USE_SMTP', true);
// Add multiple SMTP servers by separating them with ;
Config::Set('EMAIL_SMTP_SERVERS', 'smtp.gmail.com');
Config::Set('EMAIL_SMTP_PORT', '465'); // or 587
Config::Set('EMAIL_SMTP_USE_AUTH', true);
Config::Set('EMAIL_SMTP_USER', 'xxhdgamersxx7@gmail.com);
Config::Set('EMAIL_SMTP_PASS', 'password');
Config::Set('EMAIL_SMTP_SECURE', 'ssl');my util.class
if($fromname == '') {
$fromname = Config::Get('EMAIL_FROM_NAME');
if($fromname == '') {
$fromname = SITE_NAME;
}
}$return_path_email = Config::Get('EMAIL_RETURN_PATH');
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');}
my app.config
# Email Settings
Config::Set('EMAIL_FROM_NAME', 'samuel');
Config::Set('EMAIL_FROM_ADDRESS', 'xxhdgamersxx7@gmail.com');Config::Set('EMAIL_USE_SMTP', ture);
# Add multiple SMTP servers by separating them with ;
Config::Set('EMAIL_SMTP_SERVERS', 'smtp.gmail.com');
Config::Set('EMAIL_SMTP_PORT', '465');
Config::Set('EMAIL_SMTP_USE_AUTH', true);
Config::Set('EMAIL_SMTP_SECURE', 'ssl'); # must be "ssl" for Google Apps
Config::Set('EMAIL_SMTP_USER', 'xxhdgamersxx7@gmail.com');
Config::Set('EMAIL_SMTP_PASS', 'password')i gonna pre thank you for the help
-
Got it to work but get error msg
- Warning: Invalid argument supplied for foreach() in /var/www/html/lib/skins/lance/frontpage_recentpilots.tpl on line 3
- 1
-
-
yes but like i said i just wanna do like when they get over 500 feet they get rejectet and when they got less than 500 at landing rate that it be auto approveddo you have a report with the criteria that you want ?
-
well i treid a coupel things i got it installed but i didnt get it to work like i do a normal flight but it is not rejcet or approv any of my flights
-
Well That is all setup for now i want to so evry flight for now higer than -500 feet in landing rate Will be rejected
-
http://thaiairwaysvi...s/viewreport/12 pirep report edit this one i manualy approved
http://prntscr.com/d185xd criteria
-
hello vangelis i just installed your module i can not get it work any suggestions ? , and yes i got the simbrif to work as well like i got it installed but it dont approve or reject any flights
-
okey thanks for all the help the only thing now is that my auto pirep dont accsept any pirpes for some reson can someone help me on this ?
vatsim atc booking page
in Support Forum
Posted
Does this also check bookings?