Jump to content

Parkho

Moderators
  • Posts

    1375
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Parkho

  1. 5.5x version already has the new recaptcha.
  2. Open "templates/toppilot.php" and change the following line: <li><a href="javascript:void(0)" class="toppilotdet" onclick="toppilottabs(event, 'br')">Best Revenues</a></li> To this: <li><a id="defaultOpen" href="javascript:void(0)" class="toppilotdet" onclick="toppilottabs(event, 'br')">Best Revenues</a></li> Now add the following at the end <script> document.getElementById("defaultOpen").click(); </script> If you want to open the next vertical tab you can do the above in "toppilotdetailbr.php" just remember the link id must be unique.
  3. I have created a new tab version for Toppilot itself. Please download and replace the template files and download and add JS, CSS files. Don't forget to add the following to your layout.php <script type="text/javascript" src="<?php echo fileurl('lib/js/toppilot.js');?>"></script> <link rel="stylesheet" href="<?php echo fileurl('lib/css/toppilot.css');?>" /> between <head></head> tags. Cheers Screenshots
  4. Okay! I'm working on the CSS to make it as simple as possible.
  5. I think its javascript has a conflict with your website. Are you using Bootstrap?
  6. Okay. Open all TPLs and change the <table> tags to the following: <table width="100%">
  7. No! I mean inside the TPL files. The reason is that maybe your skin uses some kind of a CSS that conflicts with the styling of the TPLs.
  8. Also, remove all the styles from the TPL files.
  9. I think it's the rank image. Try disabling the image to see if it's fixed.
  10. Give me the link to your page. Maybe the javascript has a conflict with your website
  11. All functions in class file must be changed from "public static function" to "public function". What version of phpVMS you're using anyway?!?!
  12. in your "core/modules" folder there should be a folder for your ACARS(your case, smartcars). I would look in there to see how it gets its data from site. I don't have smartCARS installed and cannot run it to tell you what's wrong but try look into that folder to see what you can find out.
  13. That's because it is written to match phpVMS 5.5x which means host's php version 5.x. If you want to revert it back to TPL, you'll have to change multiple files not just their extensions.
  14. Unfortunately the json page used, doesn't provide specific airline status and I couldn't find a solid API for VATSIM statistics, so the answer to your Q is NO!
  15. Open "core/local.config.php" and look for the following: Config::Set('ACARS_LIVE_TIME', 720); 720 is the time the flight stays on the map on your website and is eqaul to 12 HRS. Change it to your desired number.
  16. I checked the codes on my website everything seems to be working fine. What's you website?
  17. Is that the only error you get?
  18. TopPilot_V2.0 Install: Download the repository at Github and unzip in a desired location. Upload files into coresponding folders on your website in the oreder. Include the following codes into your "layout.php" between <head></head> section. <script type="text/javascript" src="<?php echo fileurl('lib/js/toppilot.js');?>"></script> <link rel="stylesheet" href="<?php echo fileurl('lib/css/toppilot.css');?>" /> Access it using <?php echo url('/toppilot') ;?> Enjoy! Support: Visit www.parkho.ir and fill out "Contact Me" form. I will get back to you as soon as possible[/font][/color][/color] Demo: At my website www.parkho.ir Screenshot:
  19. layout.php in your top nav menu
  20. lol Ray, thanks for noticing the misspell. Actually, I do know that "Aiviation" is not correctly spelled and since we speak Farsi in Iran and it has nothing to do with English what so ever and as an ESL, I would like to apologize for making these mistakes once in a while and will try to avoid them as much as possible.
  21. I'll make the change. Thanks for the tip.
  22. Okay! In "core" folder you have 3 other folders "common", "modules", and "templates". Inside "common" there is php file which will go to your "root/core/common" folder. Inside "modules" there is another folder called "WTHR" with a php file inside it, copy the whole folder to your "root/core/modules" folder. Finally, inside "templates" there is a folder called "wthr" with 2 php files inside it, copy the folder to your "root/lib/skins/(name of the skin you're using)" folder and you're done. Same procedure goes with all of my modules.
×
×
  • Create New...