Jump to content

TennShadow

Members
  • Posts

    724
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by TennShadow

  1. I noticed that. I wonder if he is no longer supporting that version.
  2. Wow -thanks! No bugs found and it works great. I appreciate the help on this.
  3. After reading that again I believe I just misworded that statement. I just meant something like aircraft "1" will start at airport A -> airport B -> airport A. Just thinking about doing that is daunting. That is why I was reaching out to others that may have done something like this. A scheduling system is something I could definitely pay for if someone made a module for it. :-)
  4. My current VA policy is very lax. I only have one aircraft registration per type for all schedules of that type. However, as I am recreating my VA, I'm leaning more towards a realistic schedule approach. One aircraft per schedule rotation, etc. However, I've never done anything like this before. My question is to the VA owners that have done things like this. Could you provide me with any tips on how to start this? I'm sure I'm making this harder than it probably is and am over thinking this. Anyways, any tips or suggestions would be greatly appreciated.
  5. Thanks guys. I had to change several things to get it to work. This has been very interesting switching over to the new version of PHPVMS.
  6. I recently switched to PHPVMS 5.5.2 and downloaded this via the plugin manager so I'm running the correct version. I've getting the below error on my frontpage_main.php page. Fatal error: Using $this when not in object context in /home/xxx/public_html/core/modules/PopUpNews/PopUpNews.php on line 33 I've tried a couple suggestions in this thread but no go. Any thoughts?
  7. I'm just curious how other VA owners handle pilots that stop flying for there VA. I'm rewriting my VA rules and am interested in others views on this subject. Thanks, Keith
  8. That's correct. The errors are gone now but my above posted code no longer works in the 5.5.2 version. It worked fine on the previous version but I'm stumped as to way I'm now getting no errors but the screenshots are not showing up.
  9. Did you have any luck with this? This is something I've been thinking about as well given the fact that http is not secure.
  10. Thanks for the help. I just needed a fresh set of eyes. That fixed the ExtraData class issue. However, whenever I change the public function to public static function in the actual module it breaks. Here is the error I'm still getting in the logs. PHP Strict Standards: Non-static method Screenshots::get_pilots_newscreenshot() should not be called statically, assuming $this from incompatible context in /home/xxx/public_html/lib/skins/xxx/pilot_public_profile.php on line 162 Maybe it will help to tell you want I'm trying to do. I'm trying to show the last 4 screen shots of a pilot on the public profile. I had it working fine on the public version of PHPMVS but it's not working on the 5.5.2 version. It shows that I don't have any screenshots. Here is my ugly code for this on the public profile. <?php echo '<table class="table">'; echo '<thead>'; echo '<tr>'; echo '<th colspan="7">'.$userinfo->firstname . ' ' . $userinfo->lastname.'\'s Last 4 Submitted Screenshots</th>'; echo '</tr>'; echo '</thead>'; $allscreenshots = ExtraData::get_pilots_newscreenshot($userinfo->pilotid, 4); if(is_array($allscreenshots)) { echo '<tbody>'; $tiles=0; $rowclass = 0; foreach($allscreenshots as $screen) { if ($tiles == '0') { echo '<tr class="row'.$rowclass.'">'; } echo '<td align="center" valign="top"> <a href="'.SITE_URL.'/index.php/Screenshots/large_screenshot?id='.$screen->id.'"> <img src="'.SITE_URL.'/pics/'.$screen->file_name.'" border="0" width="200px" height="150px" /> </a><br /> Date: '.date('m/d/Y', ($screen->date)).' </td>'; $tiles++; if ($tiles == '4') { echo '</tr>'; $tiles=0; } $rowclass = 1 - $rowclass; } echo '</tbody>'; } else { echo '<tr><td align="center">No Screenshots Yet!!</td></tr>'; } echo '</table>'; ?> Here's the call from ExtraData public static function get_pilots_newscreenshot($pilot_id, $count) { $query = "SELECT id, file_name, file_description, pilot_id, UNIX_TIMESTAMP(date_uploaded) AS date FROM screenshots WHERE pilot_id='$pilot_id' AND file_approved='1' ORDER BY date_uploaded DESC LIMIT $count;"; return DB::get_results($query); }
  11. Hi guys, I'm slowly trying to convert my site to PHPVMS v 5.5.2 using PHP 5.5. I installed this module via the Plugin Manger which I just assumed all these would have been fixed in this version. However, I'm still getting the below errors. I've went into the module and change public function to public static function but all that does is completely break my template. Nothing works at that point. Any suggestions? PHP Strict Standards: Non-static method Screenshots::show_random_screenshot() should not be called statically, assuming $this from incompatible context in /home/xxxx/public_html/lib/skins/xxx/frontpage_main.php on line 440 PHP Strict Standards: Non-static method Screenshots::get_pilots_newscreenshot() should not be called statically, assuming $this from incompatible context in /home/xxxx/public_html/lib/skins/xxx/pilot_public_profile.php on line 162 PHP Strict Standards: Non-static method ExtraData::get_pilots_newscreenshot() should not be called statically, assuming $this from incompatible context in /home/xxxx/public_html/lib/skins/xxx/pilot_public_profile.php on line 177
  12. Yes, I bought this. I found some bugs and worked with Servetas to get them fixed. I also suggested a few changes to the permission system of the forum that will make this even more awesome. Hopefully those are doable. But either way this is a great system and has most of the features I need. The best part for me is no more two systems to maintain. Thanks, Keith
  13. TennShadow

    help

    Awesome - Glad to hear it!
  14. TennShadow

    help

    Make sure you haven't installed kACARS in the Program Files directory. If you have , uninstall it and reinstall in C:\kACARS or something similar. After you have installed it, go into that folder and look for kACARS.exe. Right click and select properties. Go to the Compatibility Tab and make sure you select Run As Administrator.
  15. TennShadow

    help

    Are you talking about your VA website or something that runs on your computer?
  16. Awesome - thanks for checking. I'm currently running the old version of PHPVMS but and also building out my VA using the 5.5 version. I'm definitely using this module when you release it!
  17. Love it! Will this be available on both versions of PHPVMS?
  18. I don't doubt it. There are a lot of internet trolls that hide behind their emails. Most people will happily accept constructive criticism with solid feedback. However, like you said you only got one reply.
  19. You will not be able to please everyone I'm afraid. I thought the system you created was more fair than what the first version of VACentral had. Obviously it's your call but I'd add it back. :-)
  20. Where ever you want the live map to show up. :-)
  21. Use this: <?php echo PilotData::getPilotCode($pilot->code, $pilot->pilotid); ?> That will display the Pilot ID. Just add that to email_registrationaccepted.tpl or php
×
×
  • Create New...