Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dohavik

Pages: [1] 2 3 4
1
Soporte para VAM 2.4 - 2.6 / Re: Nuevos Pilotos!!! ERROR
« on: September 28, 2021, 12:25:46 AM »
Dear Fernando,

I encountered the same problem as you and to resolve it I asked my webhost to increase the amount of php variables.
Now the problem has returned, so I have made some modification and that works like a charm.
1. Find your  /vamcore/app/Controller/GvausersController.php
2. Edit this file by doing the following:
    Around line 111 you need to put the following as comments to add multiline comments use /* and */:
                /*
                $email = new CakeEmail('default');
                $email -> emailFormat('html');
                $email -> sender($senderemail, 'VAM system');
                $email -> to($pilotmail);
                $email -> subject('VAM - New Callsign / Pilot Activation');
                $email -> send($emailbody);
                */
    Under it you put the following:
    $to = $pilotmail;
    $subject = "VAM - New Callsign / Pilot Activation";
    $message = "
                <html>
                <head>
                <title>New Callsign</title>
                </head>
                <body>
                <p>Dear $name,</p>
                <p>Your application is received and accepted. Please read the sections about rules of the airline good.</p>
                <p>Your new callsign is $callsign and your password is the one you have chosen during registration.</p>
                <p>We wish you to have a great time with us.</p>
                <p>Best wishes from your CEO</p>
                <p>Email generated by the Virtual Airlines Manager system</p>
                </body>
                </html>";
                // Always set content-type when sending HTML email
                $headers = "MIME-Version: 1.0" . "\r\n";
                $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
                // More headers
                $headers .= "From: <$senderemail>\r\n";
                //$headers .= 'Cc: myboss@example.com' . "\r\n";
                mail($to,$subject,$message,$headers);

With this the mail is not send as smtp, but at least the error is solved...
I hope this helps you...better later late then never.

Best regards, dohavik

2
Support for VAM 2.4 - 2.6 / Re: Problem Acepting pilots
« on: September 28, 2021, 12:25:14 AM »
Dear RBG-VE,

I encountered the same problem as you and to resolve it I asked my webhost to increase the amount of php variables.
Now the problem has returned, so I have made some modification and that works like a charm.
1. Find your  /vamcore/app/Controller/GvausersController.php
2. Edit this file by doing the following:
    Around line 111 you need to put the following as comments to add multiline comments use /* and */:
                /*
                $email = new CakeEmail('default');
                $email -> emailFormat('html');
                $email -> sender($senderemail, 'VAM system');
                $email -> to($pilotmail);
                $email -> subject('VAM - New Callsign / Pilot Activation');
                $email -> send($emailbody);
                */
    Under it you put the following:
    $to = $pilotmail;
    $subject = "VAM - New Callsign / Pilot Activation";
    $message = "
                <html>
                <head>
                <title>New Callsign</title>
                </head>
                <body>
                <p>Dear $name,</p>
                <p>Your application is received and accepted. Please read the sections about rules of the airline good.</p>
                <p>Your new callsign is $callsign and your password is the one you have chosen during registration.</p>
                <p>We wish you to have a great time with us.</p>
                <p>Best wishes from your CEO</p>
                <p>Email generated by the Virtual Airlines Manager system</p>
                </body>
                </html>";
                // Always set content-type when sending HTML email
                $headers = "MIME-Version: 1.0" . "\r\n";
                $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
                // More headers
                $headers .= "From: <$senderemail>\r\n";
                //$headers .= 'Cc: myboss@example.com' . "\r\n";
                mail($to,$subject,$message,$headers);

With this the mail is not send as smtp, but at least the error is solved...
I hope this helps you...better later late then never.

Best regards, dohavik

3
Support for VAM 2.4 - 2.6 / Re: Help needed !!!
« on: September 28, 2021, 12:22:23 AM »
Dear loowecee,

I encountered the same problem as you and to resolve it I asked my webhost to increase the amount of php variables.
Now the problem has returned, so I have made some modification and that works like a charm.
1. Find your  /vamcore/app/Controller/GvausersController.php
2. Edit this file by doing the following:
    Around line 111 you need to put the following as comments to add multiline comments use /* and */:
                /*
                $email = new CakeEmail('default');
                $email -> emailFormat('html');
                $email -> sender($senderemail, 'VAM system');
                $email -> to($pilotmail);
                $email -> subject('VAM - New Callsign / Pilot Activation');
                $email -> send($emailbody);
                */
    Under it you put the following:
    $to = $pilotmail;
    $subject = "VAM - New Callsign / Pilot Activation";
    $message = "
                <html>
                <head>
                <title>New Callsign</title>
                </head>
                <body>
                <p>Dear $name,</p>
                <p>Your application is received and accepted. Please read the sections about rules of the airline good.</p>
                <p>Your new callsign is $callsign and your password is the one you have chosen during registration.</p>
                <p>We wish you to have a great time with us.</p>
                <p>Best wishes from your CEO</p>
                <p>Email generated by the Virtual Airlines Manager system</p>
                </body>
                </html>";
                // Always set content-type when sending HTML email
                $headers = "MIME-Version: 1.0" . "\r\n";
                $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
                // More headers
                $headers .= "From: <$senderemail>\r\n";
                //$headers .= 'Cc: myboss@example.com' . "\r\n";
                mail($to,$subject,$message,$headers);

With this the mail is not send as smtp, but at least the error is solved...
I hope this helps you...better later late then never.

Best regards, dohavik

4
Support for VAM 2.4 - 2.6 / Re: Cookies Problem
« on: September 09, 2021, 06:09:25 PM »
Hi Sophie,

It looks like VAM works with a session. It is however possible to create at the login page an additional option for cookies and then the number of days you want to use them.
Then after login, the cookies need to be created and the session data needs to be assigned to the cookies.
Then there must be some rework in: vam/index.php + index_vam_op.php + index_vam.php and check_login.php -> There is written that a session is opened...
but it should be programmed..
if no session exist -> are there cookies stored -> yes -> start a session and assign to the cookies to this new session.
                                                                   -> no  -> start a new session like it is programmed now.
else -> start new session...

I think things can be achieved like this...sessions normally dissapear with closing of the browser...so you really need to set cookies.

Greetings from Dohavik

5
I have tried to get in contact with Alejandro, but facebook is not existing anymore, with twitter I can not send messages and google plus does not exist anymore. So I send him a mail to his to me known mail address. that I could find on this site...I think this site should continue to exist...so let's see how far we can come. If someone has another mail address from Alejandro available, let me know, then I will send him also there a mail.

6
When I looked to the simacars.net page it is expired on 06 may 2021...and www.virtualairlinesmanager.net expires on 21 june 2021 on 19:12:06 UTC.
It is a very sad thing to see one of the best virtual airlines manager software websites with an active community dissapear. Is it possible to save the forum and put it on a site/webhosting
where the community can continue existing ?

7
Soporte para VAM 2.4 - 2.6 / Re: Nuevos Pilotos!!! ERROR
« on: January 04, 2021, 05:04:06 AM »
You can ask your host provider to increase the php variables. This worked for me.

8
Support for SIM ACARS / Re: ERROR SIMACARS AND ERROR 12 FSUIPC¬°
« on: November 10, 2020, 04:32:52 AM »
Problem Solved: Make sure that the Firewall and Antivirus avoid your FS, Simacars and other applications that you use for FS.

9
Support for SIM ACARS / Re: ERROR SIMACARS AND ERROR 12 FSUIPC¬°
« on: November 09, 2020, 11:48:07 PM »
Dear Alejandro,
I also had this problem with the Error 12 of FSUIPC. Microsoft Net reinstalled. Now trying settings with the Firewall.
9-11-2020 23:08:37
FSUIPC Error #12: FSUIPC_ERR_SENDMSG. Error sending message to FSUIPC.

9-11-2020 23:09:48
FSUIPC Error #9: FSUIPC_ERR_NOTOPEN. The connection to FSUIPC is not open.

9-11-2020 23:09:48
   at FSUIPC.FSUIPCConnection.Process(Byte ClassInstance, IEnumerable`1 GroupNames)
   at FSUIPC.FSUIPCConnection.Process(Byte ClassInstance, String GroupName)
   at FSUIPC.FSUIPCConnection.Process()
   at SIM_ACARS.Form1.reconnect()

9-11-2020 23:09:48
System.Collections.ListDictionaryInternal


That error FSUIPC gave.

Greetings from Dohavik.

10
Support for SIM ACARS / Re: VAeroCargo born
« on: November 09, 2020, 11:43:58 PM »
Congratulations with your new Virtual Airline. It looks very nice :) Great job :)

11
Support for VAM 2.4 - 2.6 / Re: Help with top bar customization.
« on: July 12, 2020, 10:23:45 AM »
Hi there :)

Please check out the following files in your vam_header.php and vam_index_header.php. Open them and then while browsing through the contents, you will see right away what you would like to alter. In case it does not work out, send a personal message.

Greetings from Dohavik.

12
Your site looks very nice JungleJim 7 :)

13
New and Announcements / Re: Communique Module
« on: May 01, 2020, 11:09:02 PM »
Of course :) Send a personal message with your email address and I make sure you get it right away.
I wanted to post it on the forum, but it is not possible, that is why if you are interested send me a personal message :)

14
Support for VAM 2.4 - 2.6 / Re: FLying from A to B and then to C
« on: March 30, 2020, 11:23:30 PM »
Dear Matthias,

You should be able to enter all kinds of flights.
Some remarks however:
1) If you have a pilot assigned to hub EDDP, then what happens is that you allow pilots to fly regular VAM flights, that they can choose a flight from the location they are.
Say these flights exist: EDDP -> EDDK, EDDK -> EDDN, EDDK -> EDDP. EDDN -> EDDF
In your hub..your pilots see only the flights from current location..so that will be: EDDP -> EDDK
Once your pilot arrives in EDDK...these flights show: EDDK -> EDDN, EDDK -> EDDP.
2) To make pilots just to fly from everywhere, let them fly Charter Simacars or manual pirep flights...then everything is possible. Charter flights means the pilot just enters his departure and arrival of choice and has actual no business looking for schedules on the airline site.

So in short, you decide how realistic things can get. I hope this answers your question.

Greetings from Donald.

15
New and Announcements / Communique Module
« on: March 07, 2020, 10:07:23 PM »
Dear fellow VAM users,

I have created a Communique module. A dedicated staffmember can go to the Pilot Actions menu and there he or she can press the Communique icon.
A subject and message can be entered and then after pressed on the send button, all pilots and stuff receive the communique per email.

if you are interested in this module, then PM me with your e-mail and I will send it to you.

The problem is with this forum that I get 406 errors while trying to post the module to the forum.

Greetings from dohavik.

Pages: [1] 2 3 4