Jump to content

Daniboi

Members
  • Posts

    35
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Norway, Bergen
  • Interests
    Programming: html, css, JavaScript, php.

    Flight simulator.

    Cubing

Recent Profile Visitors

3536 profile views

Daniboi's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In Rare

Recent Badges

1

Reputation

  1. 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 😅
  2. 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?
  3. Hello @CarlosEduardo2409 when someone tries to update their profile from the edit profile Page. They Get the error: The email address cannot be blank. That always happen. I also Get this error when I aprrove a flight or someting similar Warning: imagecreatefromstring(): Empty string or invalid image in /home/vol8_3/epizy.com/epiz_24713782/norwegianairvirtualcc.rf.gd/htdocs/core/common/PilotData.class.php on line 1016 Thanks
  4. Okay, Thank you! I don’t have, or want to spend money for now on hosting, but why does free hosting has some limitations?
  5. 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?
  6. I Get the same errors with the Default skin. Phpvms version is 5.5.x Php version is 5.6 The Mysql version is not stated. I am mainly using Elaskin as my skin
  7. 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. Thanks:
  8. Where can I download the JS and CSS files @Parkho?
  9. I got them, but Thank you for helping đŸ‘đŸ»
  10. I didn’t Get the template files in the zip file I downloaded
  11. 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!
  12. Thank you @PikoSim! this is what I did with what you helped me with, I am into php, but the phpvms is diffrent from what I am used to. Picture And @ProAvia, it wasn’t pilot Information site I would like to reach, I have already it and I just wanted to show the latest flights from that pilot.
  13. 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); ?>
  14. 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); }
×
×
  • Create New...