Daniboi
-
Posts
35 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Daniboi
-
-
Hello! Just a quick question, what does the Reset Pilot PIREP count actually mean? Does it mean to update it to 0 (zero) or just readjust them to be right?
-
Okay, Thank you! I don’t have, or want to spend money for now on hosting, but why does free hosting has some limitations?
-
I am attempting to add a bid from schedules view.
I am using Free hosting
I will contact and hear.
What file is the view call in?
-
I Get the same errors with the Default skin.
Phpvms version is 5.5.xPhp version is 5.6
The Mysql version is not stated.
I am mainly using Elaskin as my skin
-
Hello, When I Click on Bid flight, I Get this error: Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Schedules’ does not have a method ‘viewaction.php’ in /home/vol8_3/epizy********/norwegianairvirtualcc.rf.gd/htdocs/core/classes/MainController.class.php on line 218.
-
-
On 11/15/2016 at 4:25 PM, Parkho said:
I have created a new tab version for Toppilot itself. Please download and replace the template files and download and add JS, CSS files. Don't forget to add the following to your layout.php
<script type="text/javascript" src="<?php echo fileurl('lib/js/toppilot.js');?>"></script> <link rel="stylesheet" href="<?php echo fileurl('lib/css/toppilot.css');?>" />
between <head></head> tags.
Cheers
Screenshots
Where can I download the JS and CSS files @Parkho? -
I got them, but Thank you for helping 👍🏻
-
I didn’t Get the template files in the zip file I downloaded
-
14 hours ago, PikoSim said:
So the code i gave is it correct or its not what you wanted?
It’s perfect, as what you saw if you clicked on the Picture link, you can see what I did with your help, Thank you!
-
-
And this is the code I use to try to display the reports, but it only gives an empty Array:
<?php echo PIREPData::getLastReports($pilot->pilotid, 5, PIREP_ACCEPTED); ?>
-
This is the code in PIREPData.class.php:
public static function getLastReports($pilotid, $count = 1, $status = '') { if($pilotid == '') { return false; } $sql = 'SELECT * FROM ' . TABLE_PREFIX . 'pireps WHERE pilotid=' . intval($pilotid); # Check it via the status if ($status != '') { $sql .= ' AND accepted=' . intval($status); } $sql .= ' ORDER BY submitdate DESC LIMIT ' . intval($count); if ($count == 1) return DB::get_row($sql); else return DB::get_results($sql); }
-
It shows all stuff for the pilot in the database, but it still have a empty Array.
-
That code made it show everything for the pilot, but not the thing I wanted?
-
26 minutes ago, PikoSim said:
Could be your id code id wrong. Can you check what result it is giving by using this
<?php echo json_encode($pilot) ?>
if it is giving a result then probably you can use the object it is returning
Am I going to add that in the pilot_public_profile.php file?
-
Hello once again!
Today, I got a problem because I want to view 5 most recent flights for a pilot in the pilot_public_profile.php file.
this is what I tried to add, but didn’t work, I just got a emty Array of the flights:
<?php echo PIREPData::getLastReports($pilot->pilotid, 5, PIREP_ACCEPTED);
The $pilot variable is the variable that is Main used in the file.
-
No, I haven’t changed, the Mark Swan skin works with the map.
So I don’t know what to do.
-
Okay, does someone have Issues with the map on paid hosting? I have tried to Get my Maps I have been working on there.
-
Does someone know How to fix the issue of the map? @CarlosEduardo2409
-
Yes it’s a free hosting, that hosting is pretty good, but that might be the problem?
-
Yes, the error is:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'viewaction.php' in /home/vol8_3/epizy.com/epiz_**private**/**mydomain.com**/htdocs/core/classes/MainController.class.php on line 218
-
-
Hello, as it says in the title, the Google map and Bidding isn’t working in Ela Skin 2018.
When I go to a Schedule for example, it says: "Google couldn’t Load right on this Page, more info in the JavaScript console".
And with the Bidding, when I tap on the bid flight I Get a error.
Reset Pilot PIREP count
in Support Forum
Posted
Thanks for the answers! I did a backup, and the actual result was it will recalculate the Count so if a pilot would have a wrong count it would be corrected.
Sometimes, I need to just fiddle around to learn about the admin section 😅