Jump to content

simpilot

Administrators
  • Posts

    2773
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by simpilot

  1. Is there an .htaccess file in the site root? If so try removing it and access the site. I have run into servers that do not have mod_rewrite configured correctly that will present with this same condition.
  2. That looks close, I think you will want to change flight.cfm?id= to pilot.cfm?cid=
  3. http://www.airlineroutemaps.com/
  4. You need to make it a text area and then in your template make it a link. That is what I have done.
  5. That would be great Mark Glad the change worked for you.
  6. It will show up between Site Settings and View Your Site in the menu when you have any addon's. If there are none using this code then it will not show up at all.
  7. As the module is built now there is no option for the seperation of hub pilots. Maybe something to look at as a module extension or for a future updated release.
  8. You could replace the table and the php loop with this and it will give you a drop down with a go button; <script type="text/javascript"> function submitForm() { var list = document.navList.subMenu; var page = list.options[ list.selectedIndex ].value; if (page != "home") window.location = page; return false; } </script> <form name="navList" onsubmit="return submitForm();"> <select name="subMenu"> <option value="home">Current Month</option> <?php while ($startyear <= $today[year]): { $month_name = date( 'F', mktime(0, 0, 0, $startmonth) ); echo '<option value="'.url('/TopPilot/get_old_stats?month='.$startmonth.'&year='.$startyear.'').'">'.$month_name.' - '.$startyear.'</option>'; //advance dates if ($startmonth == $today[mon] && $startyear == $today[year]) { break; } if ($startmonth == 12) { $startyear++; $startmonth = 01; } else { $startmonth++; } } endwhile; ?> </select> <input type="submit" value="Go" /> </form> An example is at the bottom of the page here -> http://www.virtualaca.net/index.php/TopPilot
  9. http://forum.phpvms.net/topic/3984-phpvms-schedule/page__view__findpost__p__26845
  10. Your news items can be added, edited, and deleted from the admin panel. The module draws all its information from those news posts.
  11. You can use phpMyAdmin or the command line to change the size limit of the field in your database.
  12. Did you upload the new datbase tables to your MySql database that phpvms is using?
  13. You have an extra set of php tags in the file echo '<td><?php and ?></td>';
  14. simpilot

    ReCaptha

    Comment out lines 34, and 171 thru 182 in Registration.php. Remove all the reCaptcha code from the registration_mainform.tpl file.
  15. Not sure if I am following you fully but there are options in the admin panel to create whatever routes you would like and you can assign them to any aircraft in your fleet.
  16. It is probably the use of mootools in the template, I have had it conflict with jquery before which the route passed error is being generated from. Most, if not all of the functions that mootools is capable of, jquery does as well so there is no real need for both, but you will have to change any code in the templates that is using mootools as a base and convert it to use with jquery.
  17. You will need to add a couple lines in the PopUpNews.php controller after line 40 add; Template::Set('subject', $row->subject); Template::Set('postedby', $row->postedby); then in the popupnews_list.tpl you will have $subject and $postedby available to you. The $posted by will only be the db id # for the poster that you will have to convert to a pilot number in the template.
  18. The title field is limited to 30 characters in the database. If your title is longer than that, anything past the 30 characters is not being saved in the database.
  19. The only thing available right now is here -> http://forum.phpvms.net/topic/1954-pilotshop-releases-tracking/. Don't know if that might help you out.
  20. Had this around for a while so I thought I would post it. Just a simple port that you can build upon. The original license with the requirements for use is included in the folder. The only change that is not included in the skin folder is to change the map dimensions in local.config.php # Google Map Options Config::Set('MAP_WIDTH', '600px'); Config::Set('MAP_HEIGHT', '400px'); Set up using phpVMS ver 934 Original template is here -> http://www.freecsstemplates.org/preview/equivalency/ equivalency.zip
  21. @Tylor Your error is -> open_basedir restriction in effect It is a php setting that you need to have your host change it, but on free hosting they may not do it.
  22. Looking at the module the times are added as if they were tenths. It has been a while since I put this one together, looking at my install that must be why I round all the numbers for display. You will have to do some work to intergrate the native add time function into the module, but that would probably clear up the minutes versus tenths issue.
  23. Try asking your host if they can change the setting for your server space, if they will not, find out if you can put a custom php.ini file in your server root.
  24. You va has no hubs defined by the looks of your screenshots. Try assigning a hub and assigning your pilots to it and see what shakes out after that.
  25. This setting in php needs to be changed on your server. What type of hosting is this?
×
×
  • Create New...