Jump to content

Karamellwuerfel

Members
  • Posts

    91
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Karamellwuerfel

  1. Oh okay! But my internet and PC is normally really fast and no website takes so long to load Maybe an issue with the preloader? I dont know --> now it works
  2. I've a question about the website: Why does it load sooo long? There's so long the preloader. It only disappear if I go to the source code in "Chrome" and delete the preloader. And the navigationbar isn't there on many pages. Pro: The website has a very good and modern look. It's clear and structured - well done. Regards, Philipp
  3. Fixed some display issues (°C) in version 1.2
  4. Added in Version 1.1 - thanks! http://philippdalheimer.de/phpvms-demo-1/index.php/instantweather
  5. Mh... I tried something like this, is it correct? I first added a function public function get_metar() { echo "HELLO"; } and then I added the code in my frontpage_main <?php MainController::Run('InstantWeather', 'get_metar()'); ?> Nothing happens. Even if I declare a new variable in the get_metar() function and ask for it in the frontpage. Any ideas?
  6. I created the InstantWeather Module. Okay. Now I have there an variable for example "$iwm_metar". Now, how can I show THIS $iwm_metar variable on the frontpage_main for example? Now it works only for the Module-page of InstantWeather. Hope you understand now^^ THANKS
  7. Hey guys! I've made a Weather module that shows you real time and instant weather informations of the current airport where the logged in pilot is. DEMO VIDEO: www.youtube.com/watch?v=Cx0HCaW-a5I #########INSTALLATION######### 1. Copy the "core/modules/InstantWeather"-folder into your "core/modules"-folder of your va 2. Copy the "core/templates/instantweather"-folder into your "core/templates"-folder of your va 3. To show the module in the navigation: <li><a href="<?php echo url('/instantweather'); ?>">InstantWeather</a></li> USE INFORMATION ON OTHER PAGES (v 1.9) --> More on github project README.md Use MainController::Run to display all different information of the table on other pages. Available functions: <?php MainController::Run('InstantWeather', 'metar'); ?> // example: EDDS 070920Z 26004KT 230V300 9999 FEW012 SCT025 BKN068 18/16 Q1015 NOSIG <?php MainController::Run('InstantWeather', 'pressure'); ?> // example: 982 mbar <?php MainController::Run('InstantWeather', 'wind_speed'); ?> // example: 4 kts <?php MainController::Run('InstantWeather', 'wind_degrees'); ?> // example: 260° <?php MainController::Run('InstantWeather', 'temperature'); ?> // example: 18.0 °C <?php MainController::Run('InstantWeather', 'dewpoint'); ?> // example: 16.0 °C <?php MainController::Run('InstantWeather', 'visibility'); ?> // example: 6.21 mile <?php MainController::Run('InstantWeather', 'skycondition'); ?> /* example: Sky condition level 1 FEW 1200 ft Sky condition level 2 SCT 2500 ft (Scattered) Sky condition level 3 BKN 6800 ft (Broken) */ DOWNLOAD (Tested on PHPVMS Version 2.1.936)
  8. Hey! This code snippet shows the METAR of the current location airport of the pilot. You can put it anywhere (I use it on my frontpage_main) <?php $last_location = PIREPData::getLastReports(Auth::$userinfo->pilotid, 1, PIREP_ACCEPTED); if(!$last_location) { echo ''; } else { ?> <br><br>Your current airport METAR: <i><?php echo file_get_contents("http://wx.ivao.aero/metar.php?id=$last_location->arricao"); ?></i> <?php } ?> This code snippet uses the IVAO-METAR.
  9. Hey. I want to use a variable of my own module in the frontage main. How I get access to that variable? I tried this Template::Set('MODULE_TEST', $clients); but does not work... Thats the answer from this topic. Many thanks!
  10. I'm on creating a newer admin template and better one. It's not ready so far.... Your Problem with ocean blue - PN me please
  11. Hey Jesper! What do you mean with the login page? This one? --> http://www.pandaair.de/phpvms/index.php/login Sure you can edit the style of this template with CSS, PHP and HTML.
  12. Look at your css code in site width Maybe its more than your desktop resolution! or change it to "100%" in css
  13. You have to think in other ways.. it's possible, but complicated http://mrdonutbutter.bplaced.net/
  14. what do you mean? I simply use Notepad++ to programm with PHP, HTML and CSS
  15. It works!!! I opened the admin\templates\news_list.tpl and deleted at the top this: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> Now the delete works! but.... I hope I annoy you guys not too much..... the "Viewing Active Schedules" site doesnt show the content... The files content:
  16. No. I've implemented the jQuery Code from google. header: <link rel="stylesheet" href="<?php echo SITE_URL?>/admin/lib/layout/plugins/jvectormap/jquery-jvectormap-1.2.2.css"> navigation: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> jQuery(document).ready(function( $ ) { $('.counter').counterUp({ delay: 10, time: 4000 }); }); </script> <script type="text/javascript"> jQuery.noConflict(false); </script> There is ONE error on the NEWS site but not jquery: header("Content-type:text/html; charset=utf-8"); (The news site is the site where I cant delete news... on the "pages" site it works..)
×
×
  • Create New...