Jump to content

mark1million

Moderators
  • Content Count

    2274
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. mark1million

    jetva.co.uk

    And we are STILL active 8 years later
  2. mark1million

    jetva.co.uk

    And off we go..... We have finally launched jetva.co.uk, After a few weeks of waiting and tweaking and a big thanks to Roger for his skin were now open for business. Come on over and have a look, feedback extremely welcome, we are of course based on easyjet
  3. mark1million

    Google warning on charging for maps

    Anyone else get a email from Google saying they are going to charge for the api access to their maps? I can verify this is true and genuine, they will allow a certain limit of access up to a value of $200, after this they will start to charge you, this new process requires you have a valid credit card or the like linked to your maps api account. Just letting you know what i found out.
  4. mark1million

    ReCaptcha Termination 31 March 2018

    Google are removing the V1 recaptcha from use on the 31st of this month. Two questions, how do i recode for V2 or disable in the registrations. Has this been answered before?
  5. mark1million

    ReCaptcha Termination 31 March 2018

    Ha ha :) If you have the entrance exam you generally find that's all the spam protection you will ever need. I have never had any spam registrations.
  6. mark1million

    There was an error adding the airport | Help!!

    Name Perth International Airport Country AU Latt -31.940300 Long 115.967003
  7. mark1million

    There was an error adding the airport | Help!!

    What airport are you trying to add? just make sure the coordinates are in the correct format
  8. mark1million

    There was an error adding the airport | Help!!

    Just add it manually with the coordinates found on Google or something.
  9. mark1million

    ReCaptcha Termination 31 March 2018

    Sorry chaps been crazy busy here. To remove Captcha from the native registration do the following, registrationmaindform.tpl or php Back up your files before editing i take no responsibility if your site breaks! Find the following and delete it or just comment it out. <dt>ReCaptcha</dt> <dd> <script type="text/javascript"> var RecaptchaOptions = { theme : 'white' }; </script> <?php echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error); ?> </dd> <dt></dt> Go to the Core>Modules>Registration>registration.php and remove of comment out this as i have, /* $error = false; $resp = recaptcha_check_answer (Config::Get('RECAPTCHA_PRIVATE_KEY'), $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if(!$resp->is_valid) { $error = true; $this->set('captcha_error', $resp->error); } else { $this->set('captcha_error', ''); } */ If you have Davids Entrance Exam you need to edit some more files but because it used the native phpVms registration process then you will need to edit that also in the core modules registration registration.php as well. To remove from the entrance exam you need to edit the following in the entrance folder of your skin or template where ever you installed it. registration_form.php and entrance_form.php, remove this from both. <dt>reCaptcha</dt> <dd> <?php echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error); ?> <p class="error">* Please note these are required fields and must be completed to register.</p> </dd> <dt></dt> remove this same thing from both those files Finally in teh Core>modules>Entrance> Entrance.php remove the following or comment it out as i have. /* $error = false; $resp = recaptcha_check_answer (Config::Get('RECAPTCHA_PRIVATE_KEY'), $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if(!$resp->is_valid) { $error = true; $this->set('captcha_error', $resp->error); } else { $this->set('captcha_error', ''); } */ This will remove Captcha from your registration process. Back up your files before editing i take no responsibility if your site breaks!
  10. mark1million

    ReCaptcha Termination 31 March 2018

    Quick update, I have the entrance exam by David, I have managed to fully remove ReCaptcha from the normal registration process and the entrance exam process. If your stuck and want to know how just post here, its easy enough with only a few edits.
  11. mark1million

    Signature Create error

    Hi, For some reason this has just started to popup on my site when accepting pireps, Warning: imagecreatefromstring(): Empty string or invalid image in /core/common/PilotData.class.php on line 1016 so i went over and deleted all the signatures and recreated them all from the admin side, that produced the same error but the images are being created, any ideas what is causing this? Generating signatures... Generating signature for Mark Grant Warning: imagecreatefromstring(): Empty string or invalid image in /core/common/PilotData.class.php on line 1016. Those lines are here # Add the Rank image if (Config::Get('SIGNATURE_SHOW_RANK_IMAGE') == true && $pilot->rankimage != '') { $cws = new CodonWebService(); $rankimg = @$cws->get($pilot->rankimage); $rankimg = imagecreatefromstring($rankimg); <--- This is 1016 if (!$rankimg) { echo ''; } else { $r_width = imagesx($rankimg); $r_height = imagesy($rankimg); imagecopy($img, $rankimg, $width - $r_width - $xoffset, $yoffset, 0, 0, $r_width, $r_height); } } Nothing has changed that should have effected that, any clues would be appreciated.
  12. mark1million

    Tour issue

    I got version 1, anyone know of a hook to use as it used to work, I don't know how it worked but it did as nothing is there for the check.
  13. mark1million

    Tour issue

    George can you help he please with this solution?
  14. mark1million

    Tour issue

    I dont seem to have the event listener in the toup.php module, i must have changes something ages ago. Do you have the event listener piece of code?
  15. mark1million

    Tour issue

    Since Daves is no longer available does anyone have the code i can look at for the auto credit of a flight for the tour system?
  16. mark1million

    Acars data not deleting from database

    That setting will clear your recent filed pireps not clear the acars table, if you want to clear that table then go to the admin and settings there is a link there to manually clear it or run it as a cron job.
  17. mark1million

    Trouble with several installed addons

    update the modules with extension php not tpl
  18. mark1million

    kAcars - not compatible with phpvms v7

    phpvms2 is no where near that phase yet.
  19. mark1million

    Advanced Fleet Manager [SOLVED]

    you need to update the files to public static function from public function.
  20. mark1million

    phpVMS Hosting Now Available!

    I thought you wanted to debug the old phpvms on php7. My mistake, sorry.
  21. mark1million

    Installer Feedback

    Yes it's all good now. Let me know what functions you need testing as I have been playing about with things already.
  22. mark1million

    phpVMS Hosting Now Available!

    If you have command shell experience you can get a dedicated vps up and going for $5 a month, use code DOCS10 to get more credit when you sign up. I have experience with Linode and they can provide a dev box to work on, you do have to install everything but there are guides to get you going easily, you can deploy install sql server php 7.1 and apache or what ever you like in under 30 minutes. That is what i did to try and figure out phpv2.
  23. mark1million

    Top Pilot Missing Flights

    I have no idea, since hosts are starting to phase out 5.3 to 5.6 im hoping Nabeel can work his magic for this new version to migrate over to.
  24. mark1million

    Installer Feedback

    For information i found out that the error was....... Changed web directory to "all" so it was allowed to parse the .htaccess file and good to go.
  25. mark1million

    Installer Feedback

    Will do i just created a new dedicated server for this and yes it is apache, ill PM the logs over to you now.
×