Jump to content

natcret

Members
  • Posts

    63
  • Joined

  • Last visited

Everything posted by natcret

  1. I can't rememebr what the pilot stats page under the Pilot Center looks like orignally. Can anyone post a screen shot showing what it is supposed to look like or just let me know what chart type is needed to show the stats. Thanks!
  2. Does anyone know if there is a replacement or some type of fix to be able to view a pilots stats on their Pilot Center page? I am using the 5.5.2 phpvms release. Flash is no longer being used right? Stay safe!
  3. Copy. But when you see it on a web page, it stops showing at 15 which I have not yet been able to figure out.
  4. Thanks! Yes it is payware. Didn't realize thaat it can't be discussed in a public forum. Kinda hard to get support since David (Simpilot) left so I was trying to find out something. Hopefully another member can PM me a solution. Thanks!
  5. Thanks Strider. If I understand correctly you need to see the site page? Below is a link to the site and one of the pages: https://flymirageva.org/index.php/tour/details/4
  6. Can anyone point me to which file I would modify to increase the number of pilots shown on a tour detail page when signed up for a tour? For example, I have tour that has 30 pilots signed up, however the tour detail page only shows 15. Any ideas? Regards
  7. I have recently started php logging in order to troubleshoot another issue I am having. In the php log, it shows the following over and over: Here is the code for that section: Any ideas? Regards, Nat
  8. Keep getting the following error: Deprecated: Non-static method VAStatsData::monthly_flight_stats() should not be called statically, assuming $this from incompatible context in phpvms\core\modules\vStatsCenter\vStatsCenter.php on line 36
  9. Will apologize upfront, however this is rather confusing. Is this code specifically for use with the Hub Module or is this referencing somewhere else? Regards, Nat
  10. That was the ticket. Thanks!
  11. Hi folks, If anyone could lend help with this, I would appreciate it. Per this post, I was able to modify the download_list.php file get the image added. What I am trying to figure out now is how to make a link out of the IMG tag so that if a person clicks on the reduced size picture (reduced due to the width attribute), they would be able to see the original full size picture (in a separate window of course). <li style="overflow:hidden;"> <a href="<?php echo url('/downloads/dl/'.$download->id);?>"> <?php echo $download->name?></a><br /> <img src="<?php echo $download->image?>" style="width:150px; vertical-align:middle;" /><br /> <?php echo $download->description?><br /> <em>Downloaded <?php echo $download->hits? times</em></li><br /> Regards, Nat
  12. I realize this is a very old thread. I am wondering does anyone have any recent examples of integrations they have done with phpVMS and phpBB? Is the information that Nabeel provided in this thread still valid today? Is thre any type of security issue as it relates to the "connect statement" as mentioned in a couple of responses? Regards, Nat
  13. Sorry it took so long to test. Everything works well. So to clarify the two updates per Servetas' code above makes updates to the profile.php and PIREPData.class.php files. Thank you both again for all of your help!
  14. When I roll back to the original code prior to Servetas' fix, all is ok. So to make sure I understand, do you want me to put his code back in along with your update, or just your update with original code?
  15. I spoke to soon, Another Issue: TOR114 CYYT KCVG 9 () 04.29 12/31/1969 Notice the 9 () and the date. The 9() is replacing all aircraft under the Aircraft field and the Submitted for all aircraft is showing the 12/31/1969. Something in the new code? Regards, Nat
  16. The new code by Servetas worked perfectly! My sincere thanks to both of you for taking the time to look at this. I also learned some new stuff too! Regards, Nat
  17. Thank you so very much! The schedules limit code change worked as advertised. Unfortunately, I am still having problems with the pirep item. Under the Profile.php, I find this statement: $this->set('allfields', PilotData::getFieldData($pilotid, false)); $pirep_list = PIREPData::getAllReportsForPilot($pilotid); $this->set('pireps', $pirep_list); $this->set('pirep_list', $pirep_list); So when I replaced: $pirep_list = PIREPData::getAllReportsForPilot($pilotid); With what you had above: $this->set('pireps', PIREPData::getLastReports($pilotid, 10)); I get "no reports to be found". I know that can't be correct because this particular pilot flies at least 3-5 small flights a day. I then changed the code back to the original line. Below is the original code for that section and I am using the phpvms 5.5.2: public function view($pilotid='') { #replacement for OFC charts - Google Charts API - simpilot $this->set('chart_url', ChartsData::build_pireptable($pilotid, 30)); #end $pilotid = PilotData::parsePilotID($pilotid); $pilot = PilotData::getPilotData($pilotid); $this->title = 'Profile of '.$pilot->firstname.' '.$pilot->lastname; $this->set('userinfo', $pilot); $this->set('pilot', $pilot); $this->set('allfields', PilotData::getFieldData($pilotid, false)); $pirep_list = PIREPData::getAllReportsForPilot($pilotid); $this->set('pireps', $pirep_list); $this->set('pirep_list', $pirep_list); $this->set('pireps', PIREPData::GetLastReports(Auth::$userinfo->pilotid, '10')); $this->set('pilotcode', PilotData::getPilotCode($pilot->code, $pilot->pilotid)); $this->set('allawards', AwardsData::getPilotAwards($pilot->pilotid)); $this->render('pilot_public_profile.php'); $this->render('pireps_viewall.php'); } Thoughts?
  18. I apologize, I think I may have misunderstood and caused even more confusion. I went back and checked. I have both Advanced Fleet and vFleetTracker installed but my initial question is related to the Advanced Fleet module and how do you limit the amount of scheduled aircraft shown: http://flymirageva.org/phpvms/index.php/fleet/view/9 My other question is related to the default public pilot profile and how to shorten the number of pireps listed on a page. Example link below: http://flymirageva.org/phpvms/index.php/profile/view/5 Again, I am sorry for the confusion.
×
×
  • Create New...