Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. damage plus what if any stage and the actualNiwali Keto pressure knowledgeable. 9.8% with mild/moderate issues and 17.7% with serious and impressive issues knowledgeable withdrawal; 19.6% with light and regular issues and 31.1% with impressive issues showed aggressive Niwali Keto /or other behavior issues, i.e. inappropriateNiwali Keto-related actions and 3.9% with mild/moderate issues verifying no problems; all those with more serious studying issues showed issues. However, as there was no control group, researchers recognize that they could not be assured as to whether anyNiwali Keto these recognized issues would are available regardlessNiwali Keto neglect. Enable https://evaherbalist.com/niwali-keto/
  3. Yesterday
  4. CanadaAirVirtual

    Cron job help

    Did I do something wrong?...28 hours and not 1 reply, how disappointing. How are we (newbies) supposed to learn anything?
  5. OWA001

    Help Me!!

    Hello, my problem is that I have installed version 5.5.x, I had to reinstall it 20 times already but I have the same error, when I enter the routes are not seen, and even the same thing happens with the aircraft. Someone else happens or is it just me in the desert?
  6. Hello, my problem is that I have installed version 5.5.x, I had to reinstall it 20 times already but I have the same error, when I enter the routes are not seen, and even the same thing happens with the aircraft. Someone else happens or is it just me in the desert?

  7. CanadaAirVirtual

    Airport look up don't work

    I followed this tutorial , Airport - Look up now works! Airport info API https://www.virtualairlines.eu/index.php/Blog
  8. bbuske

    Page not showing correctly

    Hello, 7.0.0 Alpha 2. Where can I check that? Cheers
  9. First off should I ask these type questions here or in the Off Top Bantor area? I think since they are related to phpVMS 7 & Laravel this will be alright, but let me know if I am wrong. So after getting Laravel installed and learning some very basic, I mean basic thing's about Laravel & phpVMS I have a few questions and some info. 1 - Is it possible to add a new function that would point to a view for say Awards in the http/routes/web.php and create a NEW view in the views folder and point it to the view and would it work? Just curious. Might give it a try just for the heck of it. 2- Also in digging around ( sorry if I am not suppose too ), I always wondered how I could change the number of pilots that show up on the Home page. Right now it is set for 4, and that is all it shows total! So I dug around and noticed a file that could be changed in the Http/Controllers/Frontend area called HomeController.php and guess what I found? This code and changed it, and it worked <?php namespace App\Http\Controllers\Frontend; use App\Interfaces\Controller; use App\Models\User; use Illuminate\Database\QueryException; /** * Class HomeController */ class HomeController extends Controller { /** * Show the application dashboard. */ public function index() { try { $users = User::orderBy('created_at', 'desc')->take(8)->get(); } catch (QueryException $e) { return view('system/errors/not_installed'); } return view('home', [ 'users' => $users, ]); } } Changed the 4 to an 8 , where it states take(8), and now I can list up to 8 NEW pilots Just having fun digging and learning the basics! Of 8 is it as NEW pilots register it kicks off the oldest one so it will never go over whatever number you make it. If that makes sense. And then of course there is the Pilot List anyway, which shows them all! So now it looks like this: I can show up to 8 of the newest pilots registrations instead of just 4. But like I said doubt you would want more or even change it, as you have the pilot/users list. But I must say I do at least like 8 Just messing around as I said! As you can see I also reformatted the way it looks, etc...
  10. in2tech

    Showing & Hiding Menu items by login

    If I would have looked closer I would have seen that one states logged_in=false and one says logged_in=true, and now that explains what links are show if logged in or not logged in, I think! Ot at least that is the way it is working for me the way I have it set up. Which I basically just copied it from the original nav_blade.php Finally got the basic Laravel install on my Mac working but no Homestead or Valet. Still learning and just trying to understand the code and maybe one day be able to create at least a simple module, just maybe! Mainly focusing on making a new theme, well converting one to v7 I should say, and although it looks fairly decent NONE of the phpVMS code actually works in it, Live Map, Registration, Filing New PIREP, but it kind of looks nice, but that's all! Converting templates the OLD school way like phpVMS 2 or 5 or whatever they are called now, by just copying Laravel code from the original default template or making a copy of it and then adding my template conversion! At least I am trying And it looks pretty good, just nothing works
  11. flyalaska

    Page not showing correctly

    Make sure your css is linked correctly. Looks like it is not. What version of phpVMS are you using?
  12. CanadaAirVirtual

    Out of memory

    Has anyone yet achieved a cron job that archives pireps older than 3 month and removes them from the main table?
  13. Miggel

    Destination Map

    My aim is that (Link). With Zurich in black, and the rest gos from Zurich to Destinations...
  14. Miggel

    Destination Map

    Hi @all I will do an Destination Map (like this: Link). How can i do that? My Code (but only one airport work, and loadtime is very long) <?php $allairports = OperationsData::GetAllAirports(); ?> <?php foreach ($allairports as $airport) {?> <!-- Styles --> <style> #chartdiv { width: 100%; height: 500px; } </style> <!-- Resources --> <script src="https://www.amcharts.com/lib/3/ammap.js"></script> <script src="https://www.amcharts.com/lib/3/maps/js/worldLow.js"></script> <script src="https://www.amcharts.com/lib/3/plugins/export/export.min.js"></script> <link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css" media="all" /> <script src="https://www.amcharts.com/lib/3/themes/none.js"></script> <!-- Chart code --> <script> /** * Define SVG path for target icon */ var targetSVG = "M9,0C4.029,0,0,4.029,0,9s4.029,9,9,9s9-4.029,9-9S13.971,0,9,0z M9,15.93 c-3.83,0-6.93-3.1-6.93-6.93S5.17,2.07,9,2.07s6.93,3.1,6.93,6.93S12.83,15.93,9,15.93 M12.5,9c0,1.933-1.567,3.5-3.5,3.5S5.5,10.933,5.5,9S7.067,5.5,9,5.5 S12.5,7.067,12.5,9z"; /** * Create the map */ var map = AmCharts.makeChart( "chartdiv", { "type": "map", "projection": "winkel3", "theme": "none", "imagesSettings": { "rollOverColor": "#089282", "rollOverScale": 3, "selectedScale": 3, "selectedColor": "#089282", "color": "#13564e" }, "areasSettings": { "unlistedAreasColor": "#15A892", "outlineThickness": 0.1 }, "dataProvider": { "map": "worldLow", "images": [ { "svgPath": targetSVG, "zoomLevel": 5, "scale": 0.5, "title": "Vienna", "latitude": 48.2092, "longitude": 16.3728 }, { "svgPath": targetSVG, "zoomLevel": 5, "scale": 0.5, "title": "<?php echo $airport->name; ?>", "latitude": <?php echo $airport->lat; ?>, "longitude": <?php echo $airport->lng; ?> }] }, "export": { "enabled": true } } ); </script> <!-- HTML --> <div id="chartdiv"></div> <?php } ?>
  15. Last week
  16. bbuske

    Page not showing correctly

    Hello, I have installed phpvms and installation worked fine. However, pages are not displayed correctly. Here is what I mean: http://virtualairline.buske-it.com.ve/index.php/dashboard I use PHP 7. I am on shared hosting. Any advice? Cheers
  17. Sovereign

    PHPVMS and WBB4 Forum

    exactly. my goal is that after the registration in the phpvms automatically the user in the forum is created with pilot number, first name and password. Password changes which should then be made in the phpvms then forwarded to WBB.
  18. CanadaAirVirtual

    Cron job help

    I think I figured it out. Would I not just navigate to /core/local.config.php, then replace the following script Config::Set('USE_CRON', false); with this Config::Set('USE_CRON', true); then add the following command to a cron job php /home/canadaai/public_html/admin/maintenance.php Any help/assistance would be greatly appreciated.
  19. Nabeel

    PHPVMS and WBB4 Forum

    Are you trying to get username/password from phpvms working in wbb or the other way around? I'm not familiar with WBB
  20. Nabeel

    Showing & Hiding Menu items by login

    If you look at the foreach, it says: @foreach($moduleSvc->getFrontendLinks($logged_in=false) as &$link So it's grabbing all of the frontend links as $link. If the module you create says that's allowed for guest users, that will get the link as defined for that module. I need to write some extra documentation around this feature: http://docs.phpvms.net/developers/add-ons-and-module
  21. ncd200

    Where to start?

    Qpilot, It totaly depends on what you want, if you want to use a freeware released template released here on the forum you can download that and modify the logos for example. Personaly I think the best way is to find a good template on the net and convert it to phpvms which is not hard to do, just see the tutorial for that in the skinning forum. then you have the complete freedom to create it to your taste and modify every part you like, also you know your site inside out so it is way easier to modify parts at a later stage. Also I have done it with hardly no programming experience. so If I can do it, you also can. PM me if you need help.
  22. QPilot

    Where to start?

    Hi everyone. Im currently interested to change my VA website. i have programmimg background. Basic of website design. My question now is, where and how do i start ? Which file should i use as a template or do i really have to start everything from scratch? Which file should i modify? For ezample, im confused if i should use the frontpage_main and modify it or otherwise. Hope you guys are able to help me here
  23. CanadaAirVirtual

    Cron job help

    How would I go about setting up the below cron job, or can anyone direct myself to any tutorials on how. Our VA runs phpVMS Version simpilot 5.5.2 Cron If you have the ability, it's best to setup a cron-job to run the maintenance script. The command to add is: php -f /home/canadaai/public_html/admin/maintenance.php It's recommended to run this sometime between 2-6am (pick an artibrary time when you would least-likely have any flights). Also, remember to change in local.config.php, USE_CRON to true, so phpVMS doesn't try to automatically schedule these tasks to run. Note: If you setup the cron to run, it's recommended to also run it by hand once to ensure data is populated, unless you want to wait for it to run automatically.
  24. Sovereign

    PHPVMS and WBB4 Forum

    Hello Unfortunately I did not know in which category this belongs, so off topic. I'm trying to pass password changes and registrations to the WBB4 forum. I have already created a new function in "RegistrationData.class.php" public static function ChangePasswordForum($pilotid, $newpassword) { #Find Firstname in phpvms DB $sql = 'SELECT firstname FROM `'.TABLE_PREFIX.'pilots` WHERE pilotid =\'' . $pilotid . '\''; $firstname = DB::get_results($sql); #load Forum Stuff require_once '../../forum-new.skyline-va.de/global.php'; #Prepare Forum DB Search and execute $newpilotid = sprintf('%03d',$pilotid); $forumname = '{$newpilotid}_{$firstname}'; $sql = "SELECT userid FROM `wcf1_user` WHERE username = '$forumname'"; $statement = wcf\system\WCF::getDB()->prepareStatement($sql); $statement->execute(); $row = $statement->fetchArray(); $userid = $row['userid']; $userAction = new \wcf\data\user\UserAction(array($userid), 'update', array( 'data' => array( 'password' => '$newpassword', ) )); $userAction->executeAction(); } in the Module Profile.php i have added the follow code above "RegistrationData::ChangePassword(Auth::$pilotid, $_POST['password1']);" RegistrationData::ChangePasswordForum(Auth::$pilotid, $_POST['password1']); Now the Problem: When i now change my Password in phpvms i have an error from WBB4: <<<<<<<<d57dc542d6dc2d59ed543ea4a58252dd09aa1ae3<<<< Sun, 14 Oct 2018 01:43:03 +0000 Message: PHP notice in file /var/www/vhosts/skyline-va.de/httpdocs/iCrew/core/common/PilotData.class.php (856): Trying to get property of non-object File: /var/www/vhosts/skyline-va.de/forum-new.skyline-va.de/wcf/lib/system/WCF.class.php (309) PHP version: 5.5.38 WCF version: 2.1.10 (Typhoon) Request URI: /index.php/profile Referrer: https://icrew.skyline-va.de/index.php/Profile/editprofile User-Agent: Mozilla/5.0 (Linux; Android 8.0.0; SM-N950F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36 Information: "" Stacktrace: #0 /var/www/vhosts/skyline-va.de/httpdocs/iCrew/core/common/PilotData.class.php(856): wcf\system\WCF::handleError(8, 'Trying to get p...', '/var/www/vhosts...', 856, Array) #1 /var/www/vhosts/skyline-va.de/httpdocs/iCrew/lib/skins/iCrew/profile_main.php(70): PilotData::getFieldValue('87', 'Profile Style') #2 /var/www/vhosts/skyline-va.de/httpdocs/iCrew/core/classes/TemplateSet.class.php(238): include('/var/www/vhosts...') #3 /var/www/vhosts/skyline-va.de/httpdocs/iCrew/core/classes/TemplateSet.class.php(181): TemplateSet->getTemplate('profile_main.ph...', false, true, false) #4 /var/www/vhosts/skyline-va.de/httpdocs/iCrew/core/classes/Template.class.php(82): TemplateSet->showTemplate('profile_main.ph...') #5 /var/www/vhosts/skyline-va.de/httpdocs/iCrew/core/classes/CodonModule.class.php(92): Template::show('profile_main.ph...') #6 /var/www/vhosts/skyline-va.de/httpdocs/iCrew/core/modules/Profile/Profile.php(66): CodonModule->render('profile_main.ph...') #7 [internal function]: Profile->index() #8 /var/www/vhosts/skyline-va.de/httpdocs/iCrew/core/classes/MainController.class.php(218): call_user_func_array(Array, Array) #9 /var/www/vhosts/skyline-va.de/httpdocs/iCrew/index.php(70): MainController::RunAllActions() #10 {main} <<<< I have Create a new php file on my Webserver to test the WBB4 Code: <?php require_once '../forum-new.skyline-va.de/global.php'; $username = 'XXXX'; $sql = "SELECT userid FROM `wcf1_user` WHERE username = '$username'"; $statement = wcf\system\WCF::getDB()->prepareStatement($sql); $statement->execute(); $row = $statement->fetchArray(); $userid = $row['userid']; $userAction = new \wcf\data\user\UserAction(array($userid), 'update', array( 'data' => array( 'password' => 'XXXXX', ) )); $userAction->executeAction(); echo $userid, $username; ?> This Code works perfect to change the Password. I don't find the error in my code or I'm too stupid to find him is someone here who can help me with this and assist me with the existing registration and password changes to the WBB4? I am also willing to pay something for the work. Edit: PHPVMS version is 5.5 from Simpilot, WBB4 with WCF 2.1 Best Regards, Jan
  25. DesComm

    Change Retired Status

    Currently when a pilot is market inactive/Retired they have to contact Staff to to change their status. Where is this set in the code? We want them to be able to file a PIREP and change their status back to active. The filing can be done either manually or via ACARS.
  26. Heritage1

    Showing & Hiding Menu items by login

    ur welcome, sorry couldn't be better help to you, as I'm running the older phpvms 5.x.xx , however if I can help in the future, just poke me, I am in and out of here often take care, Jim
  27. in2tech

    Live Map - v7 - Console Error

    Not really sure what I did when creating a NEW theme for phpVMS v7, but some how I screwed up either a reference to a javascript file or something. Works fine in the default theme, but when I switch over to mine I get this console error, and I must say I don't really know how to read them I may just have to start over or walk through each step I took when I started working on this month's ago. Any ideas at all? Any help appreciated! I did look through the default theme and did not even see a reference to this so it may be something I have in the theme that does not even exist in the default one!
  28. PeterWeiland

    Needed Livery Repainter

    Still need one?
  1. Load more activity
×