Jump to content

Vangelis

Members
  • Posts

    1076
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Vangelis

  1. try putting these settings in your local.config # Email Settings Config::Set('EMAIL_FROM_NAME', 'Name to be displayed'); Config::Set('EMAIL_FROM_ADDRESS', 'from@email.com'); Config::Set('EMAIL_USE_SMTP', true); # Add multiple SMTP servers by separating them with ; Config::Set('EMAIL_SMTP_SERVERS', 'yourmailserver'); Config::Set('EMAIL_SMTP_PORT', '25'); Config::Set('EMAIL_SMTP_USE_AUTH', false); Config::Set('EMAIL_SMTP_USER', 'fullusernameofemail'); Config::Set('EMAIL_SMTP_PASS', 'passwordofemail');
  2. The files in core/modules wont get overwriten during an update
  3. You haven't mentioned 1 php version 2 what is the link of your site 3 who is your hosting company Then we might be able to help
  4. the corect link to call a module is <li><a href="<?php echo url('/Vatspy'); ?>">Vatspy</a></li> And i would loose the "-" in the template name
  5. What is you website link ?
  6. You will create and save the template as a normal html project and then you will follow the process of converting the html to phpvms template
  7. Something did not upload cortctly retry to upload the specific file /cc_vaskin_01S/header.tpl
  8. Replace public function index() { // Get all of our hubs, and list pilots by hub $allhubs = OperationsData::GetAllHubs(); if(!$allhubs) $allhubs = array(); foreach($allhubs as $hub) { $this->set('title', $hub->name); $this->set('icao', $hub->icao); $this->set('allpilots', PilotData::findPilots(array('p.hub'=>$hub->icao))); $this->render('pilots_list.tpl'); } $nohub = PilotData::findPilots(array('p.hub'=>'')); if(!$nohub) { return; } $this->set('title', 'No Hub'); $this->set('icao', ''); $this->set('allpilots', $nohub); $this->render('pilots_list.tpl'); } With public function index() { $this->set('allpilots', PilotData::getAllpilots()); $this->render('pilots_list.tpl'); } In /core/modules/Pilots/Pilots.php
  9. New Version including the full name of the aircraft Do not forget to put your email and website address in core\modules\RouteSubmit\RouteSubmit.php core.zip
  10. You have made the rest ? like map roster menu's etc ?
  11. Have a look at this never used it but it should be something that you can use https://github.com/inouire/php-metar-decoder
  12. Replace your layout.tpl with this one layout.zip
  13. sorry my bad it should be <?php Template::Show('nameoftemplate.php'); ?> or if you have an echo statement in your function then it should be <?php nameofmodule::nameoffunction(); ?> like in the news module of simpilot quote from github
  14. then you must have it on the wrong place as i get 404 Not Found The server can not find the requested page: 67.23.226.241/~vaseapor/lib/skins/ocean_blue/styles/ocean.css (port 80) Please forward this error screen to 67.23.226.241's %20404%20Not%20Found%20for%2067.23.226.241/~vaseapor/lib/skins/ocean_blue/styles/ocean.css%20port%2080%20on%20Saturday,%2011-Apr-2015%2015:37:26%20EDT"]WebMaster.
  15. are you sure all schedules are enabled ? airport information are corect ?
  16. <?php nameofmodule::nameoffunction(); ?>
  17. are you sure you uploaded everything ? as i have find that 2 files are missing for sure both ocean.css and style.responsive.css are missing
  18. I dont understand what you mean can you try to explain it a litle more ?
  19. How have you setup your website ? With a cms or custom html do you have a link ? so i can propose a solution that will work best for you
  20. With what ? I didnt realise this is a question : )
  21. You all need to change the email recipient because i forgot my email in it so i am getting your emails go to core/modules/RouteSubmit.php and change the email
  22. Because it would take a lot of time to explain how MVC programing works here is your module if you want to do some changes i would sugest to have a look on how it is constructed if you have any questions post them here . Just put the folders into their location and call the module by linking to www.yoursite..com/index.php/RouteSubmit for your info with the same way you can also add make a query to add it directly to the database Module.zip
  23. Do you want it to automaticly add the schedule to the database and make it flyable ? or do you want first to be accepted by an admin ?
  24. i wanted to reply to the other post that you made What are you trying to do ? because i think you have mixed some things If you have a look on this site http://gsairways.gr/site/ this is joomla & phpvms if you want something like that i could explain how i did it
  25. are the templates in the corect place ? they should be located in /core/templates/SimBrief if not you can contact me via skype and pass me over your ftp info and i can do it for you
×
×
  • Create New...