Jump to content

Kyle

Moderators
  • Posts

    2282
  • Joined

  • Last visited

Everything posted by Kyle

  1. Yeah I'm not sure, I'm not sure about it, I'm sorry I'll have to leave it to the skin expert, lol. I started skining my own things and used only basic JS.
  2. Wow, that's alot of JS. Give me a few to look at it.
  3. Yeah, I can tell it has to do with JS, becasue you said you are using the js for image slider, so that's the issue. But one thing, how many JS you have. One or more? I just noticed with my firebg that you have a lot of JS errors. So it looks like you have more than one JS, is that correct?
  4. let's look in the layout.tpl or header.tpl <title><?php echo $page_title; ?></title> <link rel="stylesheet" media="all" type="text/css" href="<?php echo SITE_URL?>/lib/skins/crystal/styles.css" /> <?php /* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> <?php /*Any custom Javascript should be placed below this line, after the above call */ ?> </head> <body> <?php /* This should be the first thing you place after a <body> tag This is also required by phpVMS */ echo $page_htmlreq; ?> You see where it says you place the JS after the call of echo $page_htmlhead; To call for the JS It works like this <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/someskin/script.js"></script> So here's our result <title><?php echo $page_title; ?></title> <link rel="stylesheet" media="all" type="text/css" href="<?php echo SITE_URL?>/lib/skins/crystal/styles.css" /> <?php /* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> <?php /*Any custom Javascript should be placed below this line, after the above call */ ?> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/someskin/script.js"></script> </head> <body> <?php /* This should be the first thing you place after a <body> tag This is also required by phpVMS */ echo $page_htmlreq; ?> And you should be good to go. Also one more thing, if you have more than one JS, then you will have to change which JS is first or is second as in order for the adding bid schedules or another phpVMS based JS. If any more problems, let me know.
  5. Hey simpIlot is it possabile for me that if I can remove the aircraft location feature? I don't want the aircraft location thing on, just the airport to airport ETC or would it screw up the whole module?
  6. Qoute from the thread in RealSchedule
  7. The issue is with the jquery that you must place after the line says header something in layout or header tpl. You may have to change places with the js stuff like what's first what's second. It worked out for me.
  8. Hey Nabeel, I read the readme but I'm not sure if i'm following the right path. What I did is that I imported the navdata sql into the phpVMS but I'm trying to get the route to know what route was it used on one of the PIREPS. What I am missing?
  9. Gonna need that!! 1+
  10. Awesome glad to help out
  11. It does looks right to me, although try it and see what it comes.
  12. I thought so too Nabeel. Just a simple fix to the module file I think. Because I have no hub. So adding a hub will stop the error. I never got that error before I updated my web services. So it needs "No Hub Selected" error
  13. Kyle

    PIREP Status

    Thanks simpilot
  14. Kyle

    PIREP Status

    Umm, seems it does not work as it is supoosed to be. Ok I'll explain what I am doing I'm creating a Recent PIREPS and I'm trying to get the status in order to what it says, here's it is the code how it is right now...... echo "<td align=center> $pirep->status == 0){echo 'Pending';} elseif($pirep->status == 1){echo 'Approved';} else {echo 'Rejected';} </td>"; So if the PIREP is still pending, I want it to say Pending, ETC..... But It's still showing the if($pirep->status == 0){echo 'Pending';} elseif($pirep->status == 1){echo 'Approved';} else {echo 'Rejected';} on the recent PIREP status, is there something I'm missing to display the correct thing?
  15. Kyle

    PIREP Status

    Thanks simpilot, I see how they work together for saying at a certain status.
  16. Kyle

    PIREP Status

    ok, so. It seems to work, but Still not sure what to do like disply the status like for ex) If it's still pending, I want to say Pending If it's apprvoed, I want to say Approved How are they worked in a way to know the number to say the status of the PIREP? P.S. sorry for being little annoying. I'm starting to trasit into php after times of skinning.
  17. Kyle

    PIREP Status

    Thanks lorathon, I'll give that a try.
  18. Hey guys, I'm trying to firgutre out what the code is of the status of the PIREP. here's my code $pirep->status"; Is it wrong or what? I want to display the stats of the PIREP, like rejected or approved. How can I do that?
  19. Nevermind of the second post, it's fix but I still need help with the first post please. Thanks.
  20. Second Problem Fixed..... First Post, still need help.
  21. Hey guys, I got an error when I am in editing a pilot's profile and I got the error as it's shown in the image What can be the cause of it? Thanks.
  22. Kyle

    Kacars: STOPS?

    I was referring to the alertnaive airport idea....
  23. Kyle

    Kacars: STOPS?

    Maybe Nabeel can put it into phpVMS and then you could implentment it info kACARS. That would be really cool!
  24. Kyle

    VAForum 2

    Hey tom, I asked that question about custom permissions and Nabeel said it's likely hard to add new permissions but you can look for that topic in supports from me called "custom permissions" or anything like that.
  25. Kyle

    VAForum 2

    Good idea tav1702!! That's what would we need!!!!!
×
×
  • Create New...