Jump to content

RedKingOne

Members
  • Posts

    52
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by RedKingOne

  1. @ProAvia thanks for the response. The HTML resides in its own subdomain and the PHPVMS is inside of that. http://urlhere.org/welcome - This is were the HTML resides. http://urlhere.org/welcome/portal - This is were the PHPVMS resides. Since I am using a crewcenter build, it cant sit on a domain. It has the login page prior to entering the crew area and its designed to be in a subdomain. But I would like to show the live map and some basic stats like pilot count, fuel burned and so on to guests who don't have a login hens the reason for the static html front page.
  2. Greetings all! I've had a long hard look around the forums in reference to getting information pulled from phpvms and displayed on a static html front page. The most common suggestion I see are to add the following on to the static HTML page. Option 1 Option 2 or some other variation of the above. I think I've attempted at least 12 different variations to try and get those codes to work with no luck. If anyone can provide me some assistance or guidance on this, it would much appreciated.
  3. First things first, anyone wanting to use simbriefs API be sure to read this >> http://www.simbrief.com/forum/viewtopic.php?f=6&t=243&sid=9c5c763b31a09ce919973b42c8839ae6 << has a full step by step. At the bottom of this page you will find this >> https://github.com/vangelisb/Simbrief << it is a pre-build module for the integration of simbrief into your VA via its API. The whole process takes 5 simple steps. Fair warning, simbrief will not provide any type of support if you run into trouble with integrating via the module (they did not create it). It took me 20min to read the directions. Took me about 5min to get it working using the module.
  4. If you haven't sorted this out, Im happy to assist you. I just rolled it out on my own crew center. Let me know if you still need help on this topic.
  5. Hello All! I've got a new one for you today. I want to create a new home page for crew center. As far as skinning it, I can handle that part. What I cant figure out is how to make it public to the point where it will show the page itself along with the nav menu to the left. I can make it public and see the page but no nav to the left. Any suggestions would be much appreciated.
  6. Thank you, I noticed that after posting it...I PM Vangelis directly. I am hoping he can assist me. Thanks again.
  7. Could you please share the solutions you arrived at? I am having the same trouble now.
  8. That's what we do now. Same set of rules actually. As for getting the info, pilots would just speak to an admin. They would still need to provide proof the flight actually happened. Like they do now. We dont accept manual PIREPs for anyone who completes a flight off-line.
  9. Thank you to everyone else for your comments and ideas. The only reason for this request is in the event something happens with smartCARS we as good administrators can go in and file corrections for our pilots. I don't want them to use as a normal item to circumvent smartCARS.
  10. YASH Thank you so very much for the help. After editing the files as directed, the pilot name stil shows grayed out. web541 thank you for your support too. I attempted using your version of the code, I ended with the same result as YASHs code. Any further support your willing to offer is much appreciated.
  11. Greetings! I would like to modify this page a bit. would appreciate any help i can get. I dont want pilots to be able to submit manual pireps themselves . Instead, I want admins to submit for them. So the change i need is unlocking the pilot name at the top of the form. additionally, i need to make it a drop-down for all pilots within the VA. Any ideas?
  12. I tested the default skin as requested. In the default skin it works exactly like it should. It only shows JFK dep when i hit search. I am using Mark Swans CrewCenter. While this skin is enabled, it throws back all airports instead of just JFK.
  13. They key issue is that it shows all the airports, not only JFK
  14. I am using this code on my version of crewcenter now. I am wondering if I can limit the search results. At the moment even if I type KJFK as dep airport, results comeback from the whole database. Any help would be appreciated. Thanks
  15. This is exactly what I am looking for. Works perfect. Based on your images I can see that you have already fixed my next question and im hoping you can tell me how to fix it. I am using the following code <div class="small-box bg-darken-3"> <div class="inner"> <center><h4>KDEN METAR</h4></center> <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://api.checkwx.com/metar/kden'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, ['X-API-Key: API_KEY']); $result = curl_exec ($ch); curl_close ($ch); print_r($result); ?> </div> </div> as a result the I get this http://prntscr.com/poweyl. Can you tell me How I can remove the items underlined in red and just leave the metar itself showing.
  16. I am working on adding some weather tools to my VA using this skin. I've been looking around and have found some useful information. Aviation Weather V1.0 by Parkho is a great tool for doing individual airport searches. You can check out that forum > HERE < I am having some trouble finding a code to display live METARs for specific airports. I have found plenty witch show the METAR of the pilots current location, but I am looking to display the current METARs for my hubs all in one page. I came across the following by Tylor Eddy and I am wondering if it can be edited to my needs. Any help in this area, would be appreciated. For Departure Airport: <?php $metar = $_POST['metar']; $url = 'http://metar.vatsim.net/'.$schedule->depicao.''; $page = file_get_contents($url); echo $page; ?> For Arrival Airport: <?php $metar = $_POST['metar']; $url = 'http://metar.vatsim.net/'.$schedule->arricao.''; $page = file_get_contents($url); echo $page; ?>
  17. As far as I know Mark created it this from the ground up. Beyond that I would say try and reach out to him directly for specifics.
  18. is the source file no longer available? I got so used to working with it, I can't download it anymore.
  19. So in not so many words, when you loaded the schedule the system did not register the aircrafts. Simple solution. Using the VA Admin Panel > upload the schedule again and select the option to override the existing schedules. Has happened to me more than onces.
  20. for those that want to know the solution to my issue, it was as simple as making sure I had aircraft assigned to the routes. Wana thank, ProSkyDesign for the help, really very awesome job.
  21. Can anyone expand on this topic, please?
  22. Note that the coding above works using phpvms 5.5 and runing php version 5.6 on my server. That's my config at least. Also r you using the .tpl or .php version of the crewcenter. That will change the formatting as shown above.
  23. I was using 5.6 downgraded to 5.5. After reading the forums more, learned my version of phpvms works more stable on 5.5. as for the front page acars map, ill have to sort something out.
×
×
  • Create New...