Jump to content

mark1million

Moderators
  • Posts

    2288
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. Yeh that's why i said its not ideal. Like simpilot said you might as well be better off creating your own, you can try this and expand on it, In the pilots_list.tpl you can try, <?php $this->set('pilots', PilotData::getAllPilots()); ?> <div class=â€mcrightâ€> <table width="700" cellspacing="1" cellpadding="5" border="1"> <tr> <td>Pilot</td> <td>Country</td> </tr> <?php foreach($allpilots as $pilot) { echo '<tr>'; echo '<td>'.$pilot->firstname.' '.$pilot->lastname.'</td>'; echo '<td>'.$pilot->location.'</td>'; echo '</tr>'; } ?> </table> </div> Just add to the fields you want to display, not the ideal solution as you have the code in the template.
  2. I don't have much time but this is a quick hack, not the ideal solution but it may be OK for you, Just a couple of edits, Find pilots.php in the core/modules/pilots and comment out the following,line 31 and 32, //$this->set('title', $hub->name); //$this->set('icao', $hub->icao); Then go over to the template pilots_list.tpl in your skins profile and remove the h3 tag at the top.
  3. Yes i seen a post here somewhere, let me have a look and ill get back to you with the code after testing it.
  4. HI these settings are in the app.config.php, just copy them over to your local.config.php and change as you wish, you will need to regenerate your signatures from with in the admin panel once you have changed the settings. # Options for the signature that's generated Config::Set('SIGNATURE_TEXT_COLOR', '#000'); Config::Set('SIGNATURE_USE_CUSTOM_FONT', true); Config::Set('SIGNATURE_FONT_PATH', SITE_ROOT.'/lib/fonts/tahoma.ttf'); Config::Set('SIGNATURE_FONT_SIZE', '10'); Config::Set('SIGNATURE_X_OFFSET', '10'); Config::Set('SIGNATURE_Y_OFFSET', '17'); Config::Set('SIGNATURE_FONT_PADDING', 4); Config::Set('SIGNATURE_SHOW_EARNINGS', true); Config::Set('SIGNATURE_SHOW_RANK_IMAGE', true); Config::Set('SIGNATURE_SHOW_COPYRIGHT', true); If you want to use a custom font just download it and place it in the referenced folder.
  5. I have 2 airline codes in my schedules and they both search fine by selecting the airline, sorry to sound a but stupid but have you tried a copy and paste from the default template in to yours and adapt that? Or even still trying with the default skin see if its doing what you want.
  6. yeh just do a search for image rotation on Google, you'll come up trumps. Even better do a search on here i remember pointing someone in that direction before.
  7. Oh well cant please everyone, by the time i got to the bottom of this thread i calmed down a bit but please don't complain about the lack of support here. Please detail your exact problem now you have the attention of most of the expeienced phpvms'ers. and im sure we can help you.
  8. HI is there a way to redirect to the requested page if members are not logged in? For example, someone tries to reach a page that requires them to be logged in so they are firstly directed to the login page then after successfully logging in they are taken to their initial requested page.
  9. I have been doing some work tonight so the file is on hand That will get you the first name lastname and their pilot code. <?php echo $pilot->firstname.' '.$pilot->lastname ?> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?>
  10. It depends really, if you have full server access you can control what page is served up first, you can serve up any page my moving it up the priority list, you could have default.html server up before any .php files for example, it really depends how much access you have to the configuration of your server.
  11. Yes Just put the phpvms in a folder in the root of your site and place a php or html page in your root. So your site root would contain a index.php or index.html with links to the folder, myva, the full url would be then www.myva.com/myva
  12. Nabeel, Dave rocks big time The schedules were in excel or i could have put them in top any format but Dave parsed the whole file saved me days of manually doing it. Eternally grateful
  13. In the template tpindex.tpl at the very top <div class="mcright"> and close it off at the bottom
  14. Everything needs to sit between those two divs, class="mcright"
  15. As for modification of the way the list is displayed that is in the code modules pilots and pilots.php
  16. In the registration you need to add the custom field just go to the admin and add custom field "ivao" and "Vatsim" whatever you call them you can then add this to the pilots list, the code is in here somewhere, sorry im, not at my home pc or i would post the code.
  17. Yes, can i pm them to you?
  18. Here you go Dave, If you need it in another format just shout. Its not fully complete for the world but i dont think its too far out. Im sure it will cover all the commercial fields. IATA to IACO.zip
  19. Thanks for that Dave im just collecting all the data now ill post it here in about 30 minutes.
  20. Nabeel is there a parser or a way i can make a modification to import schedules to the system from IATA codes insted of ICAO codes? I have a massive sheet with new schedules all listed in IATA codes, i thought id try a sneaky test import and change to the geo names server but didnt work. Im just trying to save me a days work to convert the codes.
  21. HI the form you need to add the divs to is in your template folder its contact_form.tpl, if its not in your skins folder then copy it from the core template folder.
  22. Yes, In that template add a content div to in, At the top <div class="mcright"> and close it off and the bottom of the page.
  23. I can second that, we have just had an updated system from Jeff, always the model businessman and always a pleasure to deal with.
  24. Hey good job Dave, nice to see you still about
  25. Can you post your code for that list and ill have a look, with that code this is the results with my VA but this is on a separate page with an include, http://www.easyjetva.com/Aerosoftid.php
×
×
  • Create New...