Jump to content

simpilot

Administrators
  • Posts

    2773
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by simpilot

  1. First custom auto update simpilotgroup flightboard installed at -> Caribe Virtual
  2. @mark - the entrance exam system demo link is in my site and has admin login's on the front page and the module is available in the module listings.
  3. Customized flight boards are available from simpilotgroup.com now. Live Demo HERE
  4. I just removed the option choice from the registration form and set a hidden field with the airline I want them to be assigned to -> remove <dt>Select Airline: *</dt> <dd> <select name="code" id="code"> <?php foreach($allairlines as $airline) { echo '<option value="'.$airline->code.'">'.$airline->code.' - '.$airline->name.'</option>'; } ?> </select> </dd> and replace with <input type="hidden" name="code" value="UAL" />
  5. How about something like this in your mail data class public static function get_unopen_count($pid) { $query = "SELECT COUNT(*) AS total FROM airmail WHERE who_to='$pid' AND deleted_state='0' AND read_state='0'"; $count = DB::get_row($query); return $count->total; } and then in your template <?php echo MailData::get_unopen_count($Auth::$userdata->pilotid); ?>
  6. You can just remove the display of the time slot in the public pages and set the open slots to 1 in the admin panel. That way it will just show a list of pilots and always show a signup button for anyone that has not signed up.
  7. It is an issue for anyone running the latest beta. The variable in the template has changed to $schedule_list from $allroutes 2 options for now: 1 - Change the variable name supplied to the template in FrontSchedules.php OR 2 - Create a dupllicate of the schedule_results.tpl file, name it something else, change the reference from $schedule_list to $allroutes in the template, and change the template being called in FrontSchedules.php.
  8. @chris2 - Your answer is in the error. That template (events_index.tpl) is not in the folder where it is supposed to be "admin/templates/events/". Check the folder and see if it is there or if it is corrupted.
  9. Are you the pilot with database id # 1?
  10. Did you put in a link for the page as it is described in the first post?
  11. @fsx, does the db table have anything in the landing rate column?
  12. And the bickering by both of you isn't a turn off for developers? I think this is done. Locked.
  13. @fsx I do not think xacars reports any landing rates. Look in your pireps database table and see if there is any data in the landing rate field. By your error it looks to me like there is no data in that column.
  14. <img src="<?php echo SITE_URL; ?>/lib/signatures/status/<?php echo $pilotcode; ?>status.png" alt="Status" />
  15. @vader21 Where are you placing this? Are you loading the $res variable prior to this code?
  16. Is the touchdownstatsdata.class.php file in the correct place and not blank?
  17. In the release thread for RSL is the information for setting the per mile price for jumpseat tickets. # Jumpseat Ticket Cost Per NM Config::Set('JUMPSEAT_COST', '.25'); You can just remove the link to the native schedules function from your menu's if you do not want pilots to access that section.
  18. Nice site, but why isn't it compatable across all the major browsers?
  19. The answer to this error is at the beginning of the thread, the file is not where it is supposed to be. Copy the files into the same folders on your website as they are in within the download.
  20. Have you added any code to your files for the event addon? Try uploading the admin files again and see if that solves it.
  21. If you do not have root access to the server you are probably going to have to conatct your host as most shared environments do not allow some configuration items in local php.ini files.
  22. Nice site, I hope you purchased the no attribution license from Nabeel.
  23. You need this changed in php.ini -> open_basedir restriction in effect
  24. ugh! Unfortunatly there are a few in every crowd. The last time this happened to me I went right to the host with the evidence and they took the site down within 12 hours and it has never returned. A simple C&D letter to them in the form of an email will get their attention in a hurry and host's are protected from any lawsuit brought for taking down content they deem copyrighted. I also sent a copy of the letter to the domain name registrar, and the ISP for good measure. I notice the name on the whois is a Carl DuFault, not Jeff Stanhope.... and dang, the host is fivedev... Maybe he will use some good sense and take the material down and move on with his own.... one can only hope.
  25. It will work in the tpl file, controller, or model, but the design preference of MVC is to have all database interaction within the model.
×
×
  • Create New...