Jump to content

Jeff

Members
  • Posts

    1307
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jeff

  1. Someone didn't search first. http://forum.phpvms.net/topic/2197-schedule-search-airline-aircraft-arrival-departure/page__view__findpost__p__14669
  2. Pages that you create automatically read from your skin and the CSS the skin is using. When you create a new page, name the new page and save it. Next, open your FTP program and open the htm file (core/pages/yourpage.htm) and add the code you want. Do not include any js or css unless the are tied into a table or code (<script></script>). save the htm and reload it back to your core/pages/ folder. After 17:00 (Eastern Standard Time) I will be available if you are still encountering problems getting it to work.
  3. Do a search for Drop Down menu, as this has been covered several times. If you continue having problems, post the problems you are having in this thread and we will try to get you sorted out. It is not a daunting task and can easily be incorporated in any template.
  4. The aircraft can be found in your database (phpMyAdmin). If you don't have any pireps associated with those planes (they haven't been used in any flights), you can just remove the planes you do not want. They can be found under phpvms_aircraft
  5. No problem. Glad that you have it working.
  6. Wait until he can get the forums restored 100%. Be patient he's working as fast as he can.
  7. Re-upload those files to your site, as it seems that maybe they weren't fully uploaded the first time.
  8. Are you guys using the BETA Release or the Full Latest Release? I use the Latest Release, and everything works fine.
  9. It's there in the code to uncomment the code to not show retired pilots.
  10. Jeff

    Bluelight

    Try refreshing the web browser. Sometimes you need to reload the css for it to show up if you changed something in the css.
  11. Thinking that it might have had something to do with the recent down time, I thought that I would check to see if I could duplicate your problem. Everything went through with no problems what-so-ever. I'm not sure what would be causing your issue.
  12. After you get your website up and running, delete (or rename) the install folder.
  13. It looks like you inserted the install folder in the www/install As soon as you enter the File Manager, the install folder goes directly in there. Do not open any other folders. It should be directly in the /public_html folder
  14. If the menu comes with its own css, just upload the css to your site and link to it where all the other links are at the top of the layout.tpl Next look for where the other menu's code is located (in layout.tpl) it probably says something like Template::Show('core_navigation.tpl'); in php tags. Remove that and paste your menu there. (Make sure that you make a backup of the layout.tpl before editing it so you still have it in case you have to revert back to it if the other menu isn't working.
  15. What kind of drop-down menu are you trying to add (a link of the menu's website would be preferred) and how have you tried to add it?
  16. core/templates/profile_main.tpl
  17. Very nice indeed. Well thought out, and the front page looks very nice as well.
  18. You need to link to the files. You cannot just paste this: <link type="text/css" href="menu.css" rel="stylesheet" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="menu.js"></script> You have to paste it like this: <link type="text/css" href="http://www.yoursite.com/path to menu.css" rel="stylesheet" /> <script type="text/javascript" src="http://www.yoursite.com/path to jquery.js"></script> <script type="text/javascript" src="http://www.yoursite.com/path to menu.js"></script>
  19. Exactly what I did on my menu as well.
  20. You'll have to use an FTP program like FileZilla (or similar) to edit the .htm pages since they contain php codes, then upload them back to the site.
  21. Yeah. I actually have a lot more info about the hub in there, but this is a start for you.
  22. <h3> Pilots based in Amsterdam</h3> <?php $pilots = PilotData::getAllPilotsByHub('EHAM'); ?> <?php if(!$pilots) { echo 'There are no pilots in that hub, so there must be at least one pilot so the hub can run.'; return; } ?> <table id="tabledlist" class="tablesorter" cellpadding="1" cellspacing="0" width="100%"> <thead> <tr> <th style="background-color: #FF0000; color: #FFF;">Pilot ID</th> <th style="background-color: #FF0000; color: #FFF;"width="200px"><div align="left">Name</div></th> <th style="background-color: #FF0000; color: #FFF;"><div align="left">Rank</div></th> <th style="background-color: #FF0000; color: #FFF;"><div align="left">Flights</div></th> <th style="background-color: #FF0000; color: #FFF;"><div align="left">Hours</div></th> <th style="background-color: #FF0000; color: #FFF;"><div align="left">Last Flight</div></th> <th style="background-color: #FF0000; color: #FFF;"><div align="left">Joined</div></th> </tr> </thead> <tbody><?php foreach($pilots as $pilot) { /* To include a custom field, use the following example: <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> </td> For instance, if you added a field called "IVAO Callsign": echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign'); */ // To skip a retired pilot, uncomment the next line: //if($pilot->retired == 1) { continue; } ?> <tr> <td width="1%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo $pilot->firstname.' '.$pilot->lastname?> </td> <td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <td><?php echo $pilot->totalflights?></td> <td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <td><?php echo date(DATE_FORMAT, strtotime($pilot->lastpirep));?></td> <td><?php echo date(DATE_FORMAT, strtotime($pilot->joindate));?></td> <?php } ?> </tbody> </table>
×
×
  • Create New...