Jump to content

Nabeel

Administrators
  • Posts

    8151
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Check your CSS, a couple of hard line breaks will help too.. <p style="clear:both;"></p>
  2. Nabeel

    Add bid

    I'll take a look as soon as I get a chance
  3. Every time you install? Is that what you mean?
  4. I omit the start letters in my code using regex
  5. To refer to a file use SITE_URL then the path: <style type="text/css">@import "<?php echo SITE_URL?>/assets/css/default.css";</style> That's probably why
  6. No prob, check out the API docs as well (see my sig) There's alot of functionality available
  7. Easiest way would be using this: http://tablesorter.com/docs/ And you can see in the code, that the tablesorter class is in the <table> tag, you should just have to include the javascript file, then it should just work... Why is there XML output in the middle of your code? There should be a start parameter for the GetSchedules - GetSchedule(start, limit, only_enabled), IIRC
  8. What do you mean hand-typing them every time? Well, more like, what do you mean by 'every time'?
  9. Nope...
  10. This thread: http://forum.phpvms.net/index.php?topic=272.0
  11. Use: <?php $country_name = Countries::getCountryName($userinfo['location']); Or whichever variable holds the country code (pretty sure it's "location")
  12. No prob! At least you are trying. You're getting blanks because you're using $pilot instead of $newpilot in some places eg, you just need: Login Pilot ID: <?php echo PilotData::GetPilotCode($newpilot->code,$newpilot->pilotid)?><br/>
  13. Nope, it's trying to find a scaling factor for the graph, that seemed to be where it was hanging up (infinite loop). SO you probably had another PIREP which gave it an exit
  14. You'll have to do what Nige said, since the pilot variable hasn't been assigned to the template. Using Vars::Post() is probably also cleaner, since it will filter, though I think you can use Vars::$post->code etc. But no difference
  15. Nabeel

    Add bid

    Yessir
  16. You'd have to ask them, I have no idea
  17. So just the manual PIREPs are showing without the leading zero?
  18. I meant checking threads in the FAQ http://forum.phpvms.net/index.php?topic=795.0 http://forum.phpvms.net/index.php?topic=798.0
  19. Nabeel

    Add bid

    When I checked the page, the schedules weren't there. Can you re-upload everything? Revert to the default schedules_* templates (for now)
  20. Great! Thanks
  21. Glad to see it fixed!!
  22. Thanks James!
  23. You can get the pilot code as: [code php] <?php $pilot = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); This will return: VMS001 Depending on the format specified for the pilot id's. And yes you can sign in with just an ID or a string with ID. It doesn't make a difference, since any leading text is stripped and just the ID is used, so VMA0001 will be stripped to 0001, and then leading zero's are erased. Generally people will use VMA001, or whatever their pilot ID is, so that's ok. Refer to API docs: http://docs.phpvms.net/api/ There's a couple other threads about forum integration, that will be the basic code you need to use, except just replace the SMF specific code with phpBB, and you should be set.
  24. Nabeel

    Add bid

    And make sure that folder/files in it at 777
  25. Nabeel

    Add bid

    Re-upload your /lib/js folder, you're missing js-front.js
×
×
  • Create New...