Jump to content

TennShadow

Members
  • Posts

    724
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by TennShadow

  1. Thanks guys. I'll look into both of those options.
  2. Is it possible for two VA's to share the same pilot table but nothing else? For example, I have VA "A" with 20 pilots and I want to create a new VA "B". I want the pilots from VA "A" to be able to login to VA "B" using the same pilotID and password they have in VA "A".. Other then the same pilot ID and password I want them the be completely separate. I'm basically wanting signal sign on between the two VA's. Thanks!
  3. Thanks guys - that worked. I got close to the above command but just not close enough. :-)
  4. Great job! I'll be getting this one shortly!
  5. I'm wanting to add the Pilot Hub of the Pilot to the email that staff get when a pilot submits a PIREP. I have located the email code in PIREPData.class.php but I'm not sure how to get the hub info to show up. I've tried several different things but my lack of PHP and database knowledge is definitely showing here. :-) Any help would be appreciated. # Send an email to the admin that a PIREP was submitted $sub = "A PIREP has been submitted by - {$pilotcode} ({$pirepdata['depicao']} - {$pirepdata['arricao']})"; $message = "A PIREP has been submitted by {$pilotcode} " ."({$pilotinfo->firstname} {$pilotinfo->lastname})\n\n" ."{$pirepdata['code']}{$pirepdata['flightnum']}: {$pirepdata['depicao']} to {$pirepdata['arricao']}\n" ."Aircraft: {$pirepdata['aircraft']}\n" . "Flight Time: {$pirepdata['flighttime']}\n" ."Landing Rate: {$pirepdata['landingrate']}\n"."Filed using: {$pirepdata['source']}\n\n" ."Comment: {$comment}\n\n";
  6. Wow - I really like that idea. I'm definitely interesting in this for my VA.
  7. I haven't tried this myself but it "should" work. Make a copy of your DB just in case before you start. 1. Open up phpvms_pilots and record your account ID# under the pilotid column 2. Open up phpvms_groupmembers 3. Create a new row by copying another row. id = Use the next available # ( you should be able to leave this blank) groupid = 1 pilotid = your pilot id from step 1 Good luck!
  8. We all can agree that HTTP is not secure and anytime you login your username and password is sent in clear text. There have been several people try to add SSL to PHPVMS but have had alots of issues. I'm not sure what can be done to make SSL easier to use in the next gen version of PHPVMS but I an for it. I would go SSL if I could.
  9. I'd like the ability to be able to delete things instead of just disabling them. Delete Pilots: I know you can delete pilots already but it also removes all their PIREPs. I'd like the ability to delete the pilot but an option to keep all their data. Delete Aircraft: It would be nice to be able to delete aircraft that are no longer in service. I know that PIREPs are tied to the aircraft but if there is a way to change the PIREPs to use a "dummy" entry so we can remove the aircraft. My hanger has over 100 disabled aircraft and I'd love to delete and keep it clean.
  10. Do you have access to the database?
  11. That site is coming up for me. You may have tried to get to it when they released their new Boeing 717 aircraft. It brought down their website for a bit.
  12. I do the same thing for my VA. The file you need to edit is called email_registrationaccepted.php or tpl depending on which version of PHPMVS you are using. You can find it in core/templates/ and then you can copy it to the /lib/skins/YOURSKIN/ folder.
  13. TennShadow

    FSUIPC error 12

    This mean that kACARS has to be running as an administrator in order to function correctly. I suggest a couple things when using kACARS. 1. DO NOT install in the Program Files directory. I'd install somewhere like C:\kACARS. 2. Go to the folder where you installed kACARS and then right-click on the kACARS.exe file. Select Properties, then the Compatibility tab. Then select the check box in Run this program as an administrator.
  14. It is possible but it will take some work. I just did this myself and it took a bit of time. I would recommend creating a test / dev site and doing all your changes there because you will run into errors along the way. There are a lot of VA owners that have moved over so just about every error you'll get has been discussed here on the forums. Good luck!
  15. Here you go. http://prntscr.com/djkqzh
  16. Here is what I have . My custom profile fields. IVAO ID VATSIM ID For VATSIM Column <?php $fieldvalue = PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); if($fieldvalue != '') { echo '<a href="http://www.vataware.com/pilot/'.$fieldvalue.'" target="_blank"><img src="'.SITE_URL.'/xxxx/vatsim.png" alt="Vatsim ID" border="0" /></a>'; } ?> For IVAO <?php $feildvalue = PilotData::GetFieldValue($pilot->pilotid, 'IVAO ID'); if($feildvalue != '') { echo '<img src="http://status.ivao.aero/R/'.$feildvalue.'.png" width="100" height="20">'; } ?>
  17. Are you talking about this? http://prntscr.com/dje9kq
  18. Awesome - thank you for this. I got a couple errors with this. First, it didn't like my complex password until I put the password in quotes. Then that error went away but then got a different one. No backup file is created or emailed. I did get the email that the file was suppose to be attached to but there was nothing attached due to the below errors. This was in the error logs. [13-Dec-2016 00:25:01 UTC] PHP Warning: session_start(): Cannot send session cookie - headers already sent in /home/xxxxxx/public_html/core/codon.config.php on line 40 [13-Dec-2016 00:25:01 UTC] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent in /home/xxxxxx/public_html/core/codon.config.php on line 40 This is from the email it sent me. <br /> <b>Notice</b>: Undefined index: DOCUMENT_ROOT in <b>/home/xxxxxx/public_html/admin/backup.php</b> on line <b>35</b><br /> <br /> <b>Notice</b>: Use of undefined constant localhost - assumed 'localhost' in <b>/home/xxxxxx/public_html/admin/backup.php</b> on line <b>37</b><br /> <br /> <b>Notice</b>: Use of undefined constant MYDBNAME_REMOVED - assumed 'MYDBNAME_REMOVED' in <b>/home/xxxxxx/public_html/admin/backup.php</b> on line <b>38</b><br /> <br /> <b>Notice</b>: Use of undefined constant MYDBNAME_REMOVED - assumed 'MYDBNAME_REMOVED' in <b>/home/xxxxxx/public_html/admin/backup.php</b> on line <b>40</b><br /> sh: -c: line 0: syntax error near unexpected token `)' sh: -c: line 0: `mysqldump --hex-blob --routines --skip-lock-tables --log-error=mysqldump_error.log -h localhost -u MYDBNAME_REMOVED -pPASSWORD MYDBNAME_REMOVED > 20161213_MYDBNAME.sql' mysqldump for localhost : MYDBNAME_REMOVED failed with a return code of 1 Error message was: tail: cannot open `mysqldump_error.log' for reading: No such file or directory - Backup Completed
  19. Hey guy, I'm looking for a backup script I can run as a cron job that will backup, compress, and the email me my databases nightly. I had a script several years ago that did just that but I don't have it anymore and my googling magic is not strong on this one. My host backups my site daily but I want the added protection of my databases being backed up off site from the host. Any help would be great. Thanks!
  20. Have you looked in core_navigation.tpl/php?
  21. It actually never worked. I thought it did but it really didn't after I tested it more. :-/ I'm currently using the default news code now and I hate it because of how much space it takes on my front page. I checked my normal list of payware devs but none of them offered a nice news module so for now I'll just keep using the default.
  22. I have mine in the same place as yours and I'm not seeing any issues using firebug. At this point, I'm not sure where the issues lie. I'll dig around more a bit later. I'm currently working on launching a virtual trucking company to go along with my VA so that has my priority at the moment. :-) Thanks for the assistance so far on this. It has been very helpful!
  23. Thanks for the help. I've gotten further then I have yet. I've gotten the news feed to show up but the actual news is below where it should be. I've tried several different placements but it didn't do much good. I'll give it another got later. http://prntscr.com/dbwb2s
  24. Thank for this suggestion. I just purchased it but it's already over my coding skills. I've tried a few times to get it to work but I don't even think it's calling the script. Oh well, I'll keep messing with it but it's only $3.00 so no big loss. :-)
  25. For those of you that use the Strider Hub Module. Use the below code. <?php echo file_get_contents("http://wx.ivao.aero/metar.php?id=$hubs->icao");?> <?php echo file_get_contents("http://wx.ivao.aero/taf.php?id=$hubs->icao");?>
×
×
  • Create New...