Jump to content

mark1million

Moderators
  • Posts

    2283
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. Thanks Nabeel, that's working ok now. Another thing for your radar, Finances, http://www.easyjetva.com/index.php/Finances Pilot Pay is frozen across all entries to the same amount. I see the twitter update, is there something i need to do to get the feed to push to Twitter?
  2. Ok i get you now, it was with the added pages using the api and also i have created other php pages and linked in to the codon config which started messing about.
  3. Sorry the most recent update caused the admin template to get screwed up. Rev v2.1.934-121-gd9f78aa - fixed approve all pirep bug, changelog update
  4. Currently all of them, when you go to admin the pages load within the existing active pilots skin minus the nav bar on the left.
  5. Now the admin side is displaying using my main css lol. Its all good fun running a VA
  6. Just looking at the codon config this line is missing at the bottom. define('SKINS_PATH', LIB_PATH.DS.'skins'.DS.CURRENT_SKIN); I will readd it to see what happens
  7. Ok so i have been digging about and where ever i am using for example <?php Template::Show('core_navigation.tpl');?> <?php Template::Show('footer.tpl');?> Also i know why my mage is not showin either, MainController::Run('Tour', 'details', $id) No longer works so its in the codon config i believe Its not showing them just defaults to the core templates not my skins, how strange.
  8. Nabeel, im not sure which update has done it may have been this one or the next but some pages on my site are reading from the default core template files and not the skins folder. Trying to track down what's causing.
  9. Im sure you guys know of this but i use teamviewer.com to rdc to my guys, its lightweight and can be run instead of downloaded and installed if required, its a great support tool.
  10. You could use the same code above but you need to include the codon config to phpvms at the top of the new page to access the api.
  11. Any chance of getting that twitter feed to go the other way? post to the airlines account the activity feed?
  12. I replaced that function with Jeffs update in the other post and it seems to work ok again now for the public profile the total hours are displayed, still the same "0" for pireps and hours running the maintenance script. public static function getPilotHours($pilotid) { $sql= 'SELECT SUM(TIME_TO_SEC(`flighttime_stamp`)) AS `total` FROM `'.TABLE_PREFIX.'pireps` WHERE `accepted`=' . PIREP_ACCEPTED.' AND `pilotid`='.$pilotid; $totaltime = DB::get_row($sql); if(!$totaltime) { $totaltime = '0'; } else { $totaltime = explode(':', Util::secondsToTime($totaltime->total)); $totaltime = $totaltime[0].'.'.$totaltime[1]; } return $totaltime; }
  13. Currently for some reason some pilots hours are at 0 this morning and i have this in the logs, PHP Notice: Undefined variable: total in /core/common/PilotData.class.php on line 554
  14. Yes have a search here, I had one working the code is here somewhere, the only downside was when users registered on the main site an admin or moderator had to manually accept in phpbb in to the correct user group and approve the account. It worked well if you can live with that.
  15. What seems to be happening is that Easy_Upload_Templates/unzipper.php is starting a session, so does phpvms, you can either try to distroy the Easy_Upload_Templates/unzipper.php session, but im thinking its there for a reason or if the thing is working just put error reporting='0', At the top of the page put between the php tags, error_reporting(0);
  16. Everything seems fine except for the maintenance script even after running it all seems ok but the following errors are seen, when running the script the output given is, Pireps are still at 0 and Notice: Undefined variable: total in /core/common/PilotData.class.php on line 554 EZY0001 - found flight hours for number Doesn't seem to effect anything on the site though.
  17. That means there is already a session started, i had this when i force a pilot to view page a before page b, as phpvms starts sessions, just do a google to destroy a session, add that to the top of that code and see what happens.
  18. Still checking on this one but looks good so far..... Loving the activity feed, just need to find that code i used and wire that up to my twitter feed now
  19. HI, if you have cleared the acars table from the admin panel then he must still be connected and sending data. If so have a look at the ipaddress and ban it see if it goes away.
  20. You can contact me depending on what it is.
×
×
  • Create New...