mt007 Posted May 29, 2012 Report 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
STALKER Posted July 21, 2012 Report Posted July 21, 2012 Installed and working, thank you very much! Quote
STALKER Posted August 15, 2012 Report 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
STALKER Posted August 15, 2012 Report Posted August 15, 2012 Solved! Template::Show('tp_index.tpl'); 1 Quote
imnemina Posted September 25, 2012 Report 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
imnemina Posted October 10, 2012 Report Posted October 10, 2012 Anybody can help me? two weeks and not answer? Best regards Quote
lorlandi Posted October 14, 2012 Report 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
pavul0n Posted November 30, 2012 Report 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
Administrators simpilot Posted December 6, 2012 Author Administrators Report Posted December 6, 2012 The function bases it's time upon the server time, not your local time, is there a difference? Quote
ChrisA Posted December 20, 2012 Report 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
Administrators simpilot Posted December 31, 2012 Author Administrators Report Posted December 31, 2012 Did the sql table install correctly? If so, is there any data in it? Quote
ChrisA Posted January 1, 2013 Report Posted January 1, 2013 The sql table is there but i not seeing any data Quote
Administrators simpilot Posted January 1, 2013 Author Administrators Report 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
ronaldosantos2013 Posted February 4, 2013 Report 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
Moderators Kyle Posted February 8, 2013 Moderators Report 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
XANDERER Posted May 10, 2013 Report Posted May 10, 2013 Where is files (attached package) I cant see. Quote
Administrators simpilot Posted May 13, 2013 Author Administrators Report Posted May 13, 2013 Where is files (attached package) I cant see. All code is available on github - link in my signature Quote
Ariel Posted August 21, 2013 Report 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
Administrators simpilot Posted August 22, 2013 Author Administrators Report 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
Atcarrillo Posted August 22, 2013 Report Posted August 22, 2013 simpilot where would that code go? Lol Sorry im not good with this stuff lol Quote
Administrators simpilot Posted August 22, 2013 Author Administrators Report 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
Atcarrillo Posted August 22, 2013 Report 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
Administrators simpilot Posted August 23, 2013 Author Administrators Report 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
Atcarrillo Posted August 23, 2013 Report Posted August 23, 2013 Okay I think I got it, thanks simpilot Quote
Jonathan Posted September 21, 2013 Report 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
Moderators Kyle Posted September 23, 2013 Moderators Report 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
Omerr01 Posted December 14, 2013 Report 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
Junior Posted February 22, 2014 Report 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
mitcheinfo Posted February 26, 2014 Report 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
Moderators servetas Posted February 26, 2014 Moderators Report Posted February 26, 2014 Check this please: http://forum.phpvms.net/topic/18860-i-have-a-xxxxxxtpl-file-not-found-error/ Quote
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.