mt007 Posted May 29, 2012 Report Share Posted May 29, 2012 Hi, i have see Github, but i dont see were is talk about how we can change fuel decimal in airline stats. Can you help, please? Thx very much. Regards Quote Link to comment Share on other sites More sharing options...
STALKER Posted July 21, 2012 Report Share Posted July 21, 2012 Installed and working, thank you very much! Quote Link to comment Share on other sites More sharing options...
STALKER Posted August 15, 2012 Report Share Posted August 15, 2012 Hi all! I have this module working, but I would like set it also in main page, so I have modified frontpage_main.tpl but I cannot make it work, can you help me? Thank you <div id="mainbox"> <?php // Show the News module, call the function ShowNewsFront // This is in the modules/Frontpage folder MainController::Run('FrontBids', 'RecentFrontPage', 10); MainController::Run('TopPilot', 'RecentFrontPage'); ?> </div> <div id="sidebar"> <h3>Latest News</h3> <?php PopUpNews::PopUpNewsList(5); ?> <h3>Recent Reports</h3> <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?> <h3>Newest Pilots</h3> <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> <h3>Users Online</h3> . . . . . . . . . . Quote Link to comment Share on other sites More sharing options...
STALKER Posted August 15, 2012 Report Share Posted August 15, 2012 Solved! Template::Show('tp_index.tpl'); 1 Quote Link to comment Share on other sites More sharing options...
imnemina Posted September 25, 2012 Report Share Posted September 25, 2012 I am a novice user of phpvms, without any knowledge of php, database, mysql, or anything. Testing, reading forums, trying again but I managed to read up, install and configure phpvms and it is operating. Now I want to add some add ons, but I have fear of doing it wrong and lose all the work done so far (as happened to me once). The question is whether I can upload the Plugin configurator and install them easily this module. Top Pilot. Sorry for my English, but if something was missing for all costs me more work is ... not speak English. I Read and understand some things, I write very few and not talk about anything. Thank you for your patience and google translator for helping me with this issue. ;-) Quote Link to comment Share on other sites More sharing options...
imnemina Posted October 10, 2012 Report Share Posted October 10, 2012 Anybody can help me? two weeks and not answer? Best regards Quote Link to comment Share on other sites More sharing options...
lorlandi Posted October 14, 2012 Report Share Posted October 14, 2012 Hi you can found the plug in the SimPilot page, http://www.simpilotgroup.com/ enter the site and look in the menu the option "Modules" in this page is the Plugin Manager Regards Quote Link to comment Share on other sites More sharing options...
pavul0n Posted November 30, 2012 Report Share Posted November 30, 2012 Hi there guys. I've installed this modeule, and it works perfectly. But, I want it to be shown at front page: http://lumitex.pl/lot//index.php/ at the right side where Top Pilots is. But You can see it doesn't work. Today is 30.11.2012 and it says No Pireps Filed For December. What should I do to make it work? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted December 6, 2012 Author Administrators Report Share Posted December 6, 2012 The function bases it's time upon the server time, not your local time, is there a difference? Quote Link to comment Share on other sites More sharing options...
ChrisA Posted December 20, 2012 Report Share Posted December 20, 2012 Hi Guys, Seasons Greetings to all. I am having a problem with my Top Pilot Module. My Current Month and Historical Stats not showing up . Can someone please advise. Chris Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted December 31, 2012 Author Administrators Report Share Posted December 31, 2012 Did the sql table install correctly? If so, is there any data in it? Quote Link to comment Share on other sites More sharing options...
ChrisA Posted January 1, 2013 Report Share Posted January 1, 2013 The sql table is there but i not seeing any data Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 1, 2013 Author Administrators Report Share Posted January 1, 2013 Did you try running the initial command to populate the table with the base data? yoursite/index.php/TopPilot/refresh_pilot_stats Quote Link to comment Share on other sites More sharing options...
ronaldosantos2013 Posted February 4, 2013 Report Share Posted February 4, 2013 hello guys i installed everything working this year so that aparese top rider on the page that this is starting 1969 as I change?? Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted February 8, 2013 Moderators Report Share Posted February 8, 2013 hello guys i installed everything working this year so that aparese top rider on the page that this is starting 1969 as I change?? Number of reasons. 1) Clear your phpVMS Cache in your Admin Settings, Maintenance and Clear Cache 2) It usually happens when you don't have a PIREP Filed yet 3) It shows up on the first day of the month, but it goes away soon. Cheers! Quote Link to comment Share on other sites More sharing options...
XANDERER Posted May 10, 2013 Report Share Posted May 10, 2013 Where is files (attached package) I cant see. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted May 13, 2013 Author Administrators Report Share Posted May 13, 2013 Where is files (attached package) I cant see. All code is available on github - link in my signature Quote Link to comment Share on other sites More sharing options...
Ariel Posted August 21, 2013 Report Share Posted August 21, 2013 so im trying to the top pilot by flights flown by month and im adding this <?php TopPilotData::top_pilot_flights($month, $year, 5) ?> and <?php echo TopPilotData::top_pilot_flights($month, $year, 5) ?> but it doesnt display anything...i ran the url to load the tables required and im still not getting anything...there is pireps and some have been filed and approved since i put the code but still...nothing....any help? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted August 22, 2013 Author Administrators Report Share Posted August 22, 2013 so im trying to the top pilot by flights flown by month and im adding this <?php TopPilotData::top_pilot_flights($month, $year, 5) ?> and <?php echo TopPilotData::top_pilot_flights($month, $year, 5) ?> but it doesnt display anything...i ran the url to load the tables required and im still not getting anything...there is pireps and some have been filed and approved since i put the code but still...nothing....any help? Are the $month and $year variables being assigned prior to the call? If so, is there data in the table for the time period you are calling? This also only returns data, so you will want to assign it to a variable. To see what is there you can use var_dump(TopPilotData::top_pilot_flights('08', '2013', '5')); Quote Link to comment Share on other sites More sharing options...
Atcarrillo Posted August 22, 2013 Report Share Posted August 22, 2013 simpilot where would that code go? Lol Sorry im not good with this stuff lol Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted August 22, 2013 Author Administrators Report Share Posted August 22, 2013 simpilot where would that code go? Lol Sorry im not good with this stuff lol If you mean the code that Vanity is refering to, it would be most preferable to assign it in your controller - $this->set('topflights', TopPilotData::top_pilot_flights($month, $year, 5)); Then in your template the data would be available in the $topflights variable. You could also put it in your template and assign it to a variable there, which kind of defeats the MVC concept but - $topflights = TopPilotData::top_pilot_flights('08', '2013', '5'); Then use it in your template just as above. Quote Link to comment Share on other sites More sharing options...
Atcarrillo Posted August 22, 2013 Report Share Posted August 22, 2013 Okay I have placed the code just in the template like this: <?php echo $topflights = TopPilotData::top_pilot_flights('08', '2013', '5'); ?> Would that work? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted August 23, 2013 Author Administrators Report Share Posted August 23, 2013 Okay I have placed the code just in the template like this: <?php echo $topflights = TopPilotData::top_pilot_flights('08', '2013', '5'); ?> Would that work? No, you will need to loop through the data and echo that out, what you have there will not do much. To see what data is coming back that you can use you can do: var_dump($topflights); Quote Link to comment Share on other sites More sharing options...
Atcarrillo Posted August 23, 2013 Report Share Posted August 23, 2013 Okay I think I got it, thanks simpilot Quote Link to comment Share on other sites More sharing options...
Jonathan Posted September 21, 2013 Report Share Posted September 21, 2013 Hello thank you for your work on these models but the fool or the link to download the instaler because I want them on my site. Sincerely Jonathan Wargny Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted September 23, 2013 Moderators Report Share Posted September 23, 2013 Hello thank you for your work on these models but the fool or the link to download the instaler because I want them on my site. Sincerely Jonathan Wargny All simpilot modules and updates are now hosted at Github. https://github.com/DavidJClark Quote Link to comment Share on other sites More sharing options...
Omerr01 Posted December 14, 2013 Report Share Posted December 14, 2013 Hey guys, Im trying to get some of the top pilot tables to show on our homepage. Can anyone provide anyt insight as to what the code should look like and where should it go? Thanks a lot in advance Quote Link to comment Share on other sites More sharing options...
Junior Posted February 22, 2014 Report Share Posted February 22, 2014 im getting an error installing this module. The installation was ok, the sql was loaded without problem but im getting 404... already triple checked and the files/folder are in the right place.. any tips? ty Quote Link to comment Share on other sites More sharing options...
mitcheinfo Posted February 26, 2014 Report Share Posted February 26, 2014 Help please Notice: The template file "/homepages/10/d328219951/htdocs//core/templates/toppilot/tp_index.tpl" doesn't exist in /homepages/10/d328219951/htdocs/core/classes/TemplateSet.class.php on line 248 Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted February 26, 2014 Moderators Report Share Posted February 26, 2014 Check this please: http://forum.phpvms.net/topic/18860-i-have-a-xxxxxxtpl-file-not-found-error/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.