-
Posts
117 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by CedGauche
-
Ok, thx.. is still need some help, how do I create the second function in the module?
-
Hi, I want to include some sub tpl files, these tpl files are in the same directory as the index file (poker.tpl): This is the module: When I start the game it works fine, but when the game wants to start it's included tpl, I get an error: This is the code inside the poker.tpl for the include: I am working on this for hours now..thx for help
-
Okay, thx for the information! But I was more searching for a va intern module
-
Are there still any plans for a stock market module? We are intereseted, perhaps we can program a module together?
-
No just stock, the only addon we use is your bonus landing system (http://forum.phpvms.net/topic/7921-bonus-your-pilot-skill/)
-
Hey, every time when we reject a pirep the pilot lost about 30% of his total money. How can we fix that? thx
-
no, it doesn't work, perhaps it's my fault, I hadn't enought time to check it out.
-
Yes, we have a custom acars and before every flight a pilot has to klick yes or no, if his flight was on IVAO. I had coded a script that check this in the admin menu, if his flight was online (IVAO Tracker). thx for your help parkho.
-
Hi, yes for sure, this is a part of the log: and this is the class for the pirep_details, i am sure the logfile is in there:
-
I just added it after the pilotbonus option. But I think it's the right variable. So I don't know whats the problem.
-
Hi, thx for the help, but it dosen't work, no pilot get's a bonus. Also I have added ";" after $FindIvao = strpos($pirep_details->log,IVAO), cause without I get an error. Perhaps "$pirep_details->log" is the wrong variable?
-
Is it possible to give bonus to a pilot, if the pireplog contains a string like "IVAO"? I had coded something, but every pilot get the IVAO bonus money after accepting the Pirep, also the offline pilots. This was my code:
-
This is a solution, I will try this..thx
-
Hi, this is the code: I guess the code is uncomment. When I try to login with an retired test account, there is the message,the account is retired and no access. Perfect But when I never log out from the page and the session cookie is still active, I can acces the page with an retired account.
-
Hey, we have some inactive / retired users, they are still online and writing airmails and downloading stuff etc. I guess they have cookies or autologin-sessions. How can we solve that? thx
-
Again we have this problem, I don't know what to do: Fatal error: Uncaught exception 'Exception' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's message inbox on 09/01/2015', '23', '1441093324')' at line 2' in /var/www/web1112/html/va/core/common/MailData.class.php:92 Stack trace: #0 /var/www/web1112/html/va/core/modules/Mail/Mail.php(138): MailData::send_new_mail('94', '1', 'Monatsbericht A...', 'You received a ...', 23, 1441093324) #1 /var/www/web1112/html/va/core/modules/Mail/Mail.php(38): Mail->send() #2 [internal function]: Mail->index() #3 /var/www/web1112/html/va/core/classes/MainController.class.php(218): call_user_func_array(Array, Array) #4 /var/www/web1112/html/va/index.php(60): MainController::RunAllActions() #5 {main} thrown in /var/www/web1112/html/va/core/common/MailData.class.phpon line 92
-
We have the same issue, I found nothing to fix it
-
OK thx, I will try it
-
Thanks for this code! We also use it, but we have a problem. In our Fleet is a helicopter with the aircraft id 5, this 'aircraft' is not allowed to gain bonus. We use this code: But still the helicopter pilots earn bonus, what is wrong?
-
you have to edit the routesmap module or the local config to enter a number to show the routes
-
just enter your va adress/index.php/routemap
-
Hi, i try to use the API for the pilot stats Show pie chart for all of the aircraft flown by a certain pilot. AircraftFlownGraph() But i get this error: Fatal error: Class 'googleChart' not found in /var/www/web1112/html/va/core/common/StatsData.class.php on line 383
-
Thanks is there also a pie chart that counts just the flights per aircraft and not the hours?
-
Is this pie chart still in the phpvms system? I've never seen it. Is there another way to show aircraft usage per pilot? I've tried this, but this also give no results: http://forum.phpvms.net/topic/4823-aircraft-type-usage-chart/
-
No nothing changed there