Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Posts posted by mark1million

  1. If i remember right what i did was put the flightboard code on a separate php page so in the root of your install, then all i did was include that page where i wanted the flight board to show up.


    I put the include in a div and used javascript to auto refresh it.


    So in my case it was this at the top of the page frontpage_main.php


    <script type="text/javascript">
    setInterval(function() {
        $("#fboard").load(location.href+" #fboard>*","");
    }, 60000);

    And where i wanted the flight board to show up,


    <div id="fboard"><?php include 'flightboard.php';?></div>

    There are probably better ways to get this accomplished but this works in every browser without problems, you can also look at using jquery 


    Hope that helps.


  2. Hi, you need to comment out the event listener


    class TopPilot extends CodonModule {
        public static $tour_center = 1; // 0:if no tour system -or- 1:for SimpilotGroup Tour Center -or- 2:for CrazyCreatives Tour Module
        public $title = 'Top Pilots';
       // public function __construct() {
          //  CodonEvent::addListener('TopPilot', array('pirep_filed'));
        public function EventListener($eventinfo) {
            if($eventinfo[0] == 'pirep_filed') {

    Every time a pirep is filed it recalculates the data which caused a massive delay.


    You will then need to run a cron every hour or 5 hours to update the stats manually.


    Give that a try if it works i can tell you how to manually run the update of stats.

  3. You need to edit your my.cnf configuration file for your mysql server, find the fine tuning section, MAKE A BACKUP FIRST,


    These are my settings for guidance they may not work for you so change one thing at a time and test out.


    # * Fine Tuning
    key_buffer		= 348M
    max_allowed_packet	= 16M
    thread_stack		= 192K
    thread_cache_size       = 8
    key_buffer = 512M
    table_cache = 1064
    sort_buffer_size = 4M
    read_buffer_size = 1M
    read_rnd_buffer_size = 8M
    myisam_sort_buffer_size = 64M
    thread_cache_size = 8
    query_cache_size = 128M
    long_query_time = 3
    innodb_buffer_pool_size = 3G
    # Try number of CPU's*2 for thread_concurrency
    thread_concurrency = 16
    table_open_cache =200
    key_buffer = 128M
    sort_buffer_size = 128M
    read_buffer = 2M
    write_buffer = 2M


  4. SMTP should be the following,

    # Add multiple SMTP servers by separating them with ;
    Config::Set('EMAIL_SMTP_SERVERS', 'smtp.gmail.com');
    Config::Set('EMAIL_SMTP_PORT', '465');
    Config::Set('EMAIL_SMTP_USE_AUTH', true);
    Config::Set('EMAIL_SMTP_SECURE', 'ssl'); # must be "ssl" for Google Apps
    Config::Set('EMAIL_SMTP_USER', youremailaddress');
    Config::Set('EMAIL_SMTP_PASS', 'yourpassword');


    Google API key for what?


  5. 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. 



  6. On 3/19/2018 at 9:52 PM, TAV1702 said:

    TO bad API2 was not in place first. You all are going to have 500 new Russian hot chicks registering overnight and informing you that if you send them $9875 they will send you your UK lottery winnings and by clicking this lucky link you can view all their nasty pics that you want. VIRUS FREE!

    Please tell me you all have a captcha of some type installed now and not just a help yourself registration?

    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.

    • Like 1
  7. 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.

    <script type="text/javascript">
             var RecaptchaOptions = {
                theme : 'white'
             echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error);

    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'),
    		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.

             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>


    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'),
          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!

  8. On 28/06/2012 at 1:32 PM, servetas said:

    Tours system will only process the PIREP if it is submitted with an scars client. I send you the solution via pm.

    For your information you must not request support for payware modules here. You can open a ticket here.

    George can you help he please with this solution?

  9. On 28/06/2012 at 2:21 PM, MrAmsterdam said:

    I understand. Usually Simpilot answers the questions that we post here. I was hoping that there is a quick solution for this. It works while rebuilding, so the priority is low... just wondering.

    If Simpilot did not respond here, i'll create a ticket.

    Thanks for the help.


    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?

  10. On 05/01/2018 at 12:57 AM, HyPn0zEr95 said:
    when phpvms v7 will be compatible with kAcars or smartCARS? Also in phpvms v7? there is still a problem with the connection.?
    I do not really know where to upload kACARSII files - Site Files, to which folder in phpvms v7?

    phpvms2 is no where near that phase yet.

  • Create New...