Jump to content

Virtualei

Members
  • Posts

    367
  • Joined

  • Last visited

Everything posted by Virtualei

  1. Hi When I put this on my frontpage my little aircraft on my acars map on my fronpage disappears. Anyone got any ideas why Thanks
  2. Hi web541 Yes I am using 5.5 That function has worked. Thank you very much for your help. Much appreciated Alan
  3. Ok I have been doing a little investigating into this error and my smartcars logs come up with Call to undefined method PilotData::UpdatePilotPay() in <b>/home/virtualei/crew.virtualei.net/core/common/PirepAcData.class.php</b> on line <b>170</b><br /> Any help please I used @web541 zipped version of PirepAcData.class.php I am missing a function I think in PirepAcData.class.php but I dont know how to find it public static function approve_pirep_post($id) { $pirepid = $id; if($pirepid == '') return; $pirep_details = PIREPData::GetReportDetails($pirepid); # See if it's already been accepted if(intval($pirep_details->accepted) == PIREP_ACCEPTED) return; # Update pilot stats SchedulesData::IncrementFlownCount($pirep_details->code, $pirep_details->flightnum); PIREPData::ChangePIREPStatus($pirepid, PIREP_ACCEPTED); // 1 is accepted PilotData::UpdateFlightData($pirep_details->pilotid, $pirep_details->flighttime, 1); PilotData::UpdatePilotPay($pirep_details->pilotid, $pirep_details->flighttime); RanksData::CalculateUpdatePilotRank($pirep_details->pilotid); PilotData::GenerateSignature($pirep_details->pilotid); StatsData::UpdateTotalHours(); # Call the event CodonEvent::Dispatch('pirep_accepted', 'PIREPAdmin', $pirep_details); } PirepAcData.class.zip
  4. Hi I get this error. Can anyone say if it was fixed. Cant seem to find a fix in this thread @Vangelis Many thanks
  5. VA hosting can now also be purchased yearly for £30. This gives you 2 months free. Please visit http://ajcwebservices.com/hosting.html for more details
  6. Glad you are sorted please mark your thread as Solved
  7. Where do you have your key placed. When I inspect your acars page I get this https://gyazo.com/a8eebd992cab9e000141ca8670f69ea3 It should only be in your core_htmlhead Check that it is not in your acarsmap.php or maybe your layout.php
  8. http://forum.phpvms.net/topic/23838-please-help/#entry125268
  9. You need to put an astrix at the end. This gives it a wild card for all variations of your URL It should look like this sasvirtualgroup.com/* Make sure yo give it about 5 minutes to register
  10. You need to add your URL to your API key at google
  11. http://forum.phpvms.net/topic/23604-google-maps-api-key/page__hl__%2Bgoogle+%2Bmaps+%2Berror
  12. You need a google API key
  13. Check out http://forum.phpvms.net/topic/20629-most-common-fixes-phpvms-installation/ I would guess its your PHP version
  14. This worked for me
  15. Do you have any files in your old skin folder to do with schedules. If so they maybe need to be moved to your new skin folder
  16. Hi all, I have cut the price of my hosting. I now offer VA Hosting for £2.99 a month and a Standard Hosting for £3.99 a month Please visit http://ajcwebservices.com/hosting.html for more details
  17. You could use Parko's Flight Booking System and take the Jumpseat option away http://forum.phpvms.net/topic/8315-flightbookingsystem-v10/
  18. Its up to you but probably the frontpage_maiin so as your members and visitors can see if staff are online
  19. This will show Admins that are logged onto the website but not necessarily the admin panel <?php $shown = array(); $staff = StatsData::UsersOnline(); foreach($staff as $pilot) { if(PilotGroups::group_has_perm(PilotGroups::getUserGroups($pilot->pilotid), ACCESS_ADMIN)) { if(in_array($pilot->pilotid, $shown)) continue; else $shown[] = $pilot->pilotid; ?> <a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></a><br />
  20. From looking at this you have </div> missing
  21. Hi all, I have released a pilot center with a sliding door effect. If you would like this there is a small charge of £10 and it can be downloaded from https://ajcwebservic...php?_url=/login You will have to register if not registered. Registration is free and payment for the Pilot centre is via paypal Unzip the folder and copy the css into your style.css file. Place the profile_main.php in your active skin folder Enjoy
×
×
  • Create New...