Jump to content

ProAvia

Administrators
  • Posts

    1761
  • Joined

  • Last visited

  • Days Won

    79

Everything posted by ProAvia

  1. I do know how to create a module. Getting it to successfully work is another thing. LOL Hopefully another member will see this and be able to assist you. Let us know how this all works out.
  2. Mine doesn't redirect until you click a link on the index.php page. How about if you edit frontpage_main in the skins folder? <?php if(Auth::LoggedIn()) { header('Location:'.SITE_URL.'/index.php/profile'); } else { header('Location:'.SITE_URL.'/index.php/login'); } ?> In the 'else' section, have /index.php - without the /login. Of course, you would need to provide a login section on the index.php page. Or have a totally different page to go to if not logged in - but it would still need a login section or link to the login page. Like I said, I don't have a crew center skin and don't really know if the above would work with it or not.
  3. If you go to your domain... http://urlhere.org/welcome - it should load the index page. clicking any link there will load to the /portal directory If you go to your domain/portal... http://urlhere.org/welcome/portal - it should load the same index page I don't use a crew center type skin. My log in box is in the upper right corner of the page. I just wanted to main domain and the phpvms directory to show the same page. https://mysite.com - domain https://mysite.com/phpvms - where my phpvms files/folders are
  4. If the template is no longer freeware, I don't think you can continue to distribute any skin using it - unless you and/or the end-user pays for a license to this (now) payware template. I believe this would apply to each and every skin that is used from the date the template became payware. I suggest you contact the template owner and get clarification on your continued usage of their (now) payware template in your original skin (which initially used the freeware template). It is possible that they updated the template and then made it payware. They may allow you to continue to use the freeware template version - but you will need to ask them. And get their response in writing to protect yourself and the user of your skin.
  5. No worries - just wanting to know the origin of the base templates. And not wanting anyone to step outside of the licensing of the template. Kin of keeps everyone safe - you and users of your skins. As a suggestion, include the original template license with your skins (you may already be doing this, just mentioning it here as a reminder to all). And maybe state in your documentation that the skin is based on <insert name and link here> template. Good luck with your new skins!!
  6. Well, the developer of phpVMS also offers hosting, so I would bet that it will work with phpVMS. See the "hosting from vmshost.io" forum in Control Tower here on these forums. Other options are available as well. Are you planning to use phpVMS v7 or another version?
  7. What base template are you planning to use for there two skins?
  8. What base template are you using for this skin and your 2 new skins?
  9. This will work for the default index.php file that comes with phpVMS - this file should be in the same directory where phpVMS files/folders are Copy the index.php file from /welcome/portal (where your phpVMS files/folders are) to /welcome (one directory up from your phpVMS files/folders) Open the /welcome/index.php file (NOT /welcome/portal/index.php) Find these lines define('CODON_MODULES_PATH', dirname(__FILE__).'/core/modules'); define('CODON_DEFAULT_MODULE', 'Frontpage'); include 'core/codon.config.php'; Change to (set for the folder structure you posted above) define('CODON_MODULES_PATH', dirname(__FILE__).'/portal/core/modules'); define('CODON_DEFAULT_MODULE', 'Frontpage'); include 'portal/core/codon.config.php'; Save the /welcome/index.php file and test if it works for you. Let us know if that works for you. I would guess that you could set up the index.php file in /welcome any way you like (map, newest pilots, etc.) - but you need to have the above edited lines so it can find phpVMS stuff.
  10. Does this static front page reside on the same domain/sub-domain as your phpvms installation? Is this static front page intended to be the same as the phpvms index.php page but in a directory other than the phpvms files?
  11. You should be able to get into file manager or access via FTP to view all files on your host. How did you upload the files to install phpVMS? If you can't see the files, there is no way to edit the program or add any modules.
  12. phpVMS doesn't fully work with free hosting - at least not consistently There is no phpVMS version 5.5 - there is 5.5.2 and 5.5.2.72 On your host, find this file and open it. Find line 103 and post the contents here
  13. phpVMS version? Free or paid hosting? What does line 103 of ezdb_mysql.class.php contain?
  14. If he is pilot number 1, don't delete him. I would guess he is one of the VA's founders. Best to leave any founder alone. If you delete anyone, their pilot hours get deducted from the VA's totals also. Just change to INACTIVE in admin - and if unable there, go to db - pilots table - <this user> - retired... and change the number there to a 1.
  15. Do you have access the the database? You can delete him there. Be aware, it's better to leave this pilot in the roster and mark him as inactive. If you delete him, I believe his pilot hours are subtracted from your VA's total hours.
  16. It looks like your install isn't seeing the css Get the latest dev build from here: http://downloads.phpvms.net/phpvms-7.0.0-dev.tar.gz And do a fresh install on a new database
  17. You do realize you are replying to a 2 year old post, right? Two years ago, kACARS would have been a possible option. Today there will be other ACARS options - but you may have to wait until after phpVMS 7 is released.
  18. Does your webhost offer other versions of PHP and MariaDB? Also ask them if they offer MySQL 5.6 or 5.7 .
  19. There is no "classic" version that will presently work with PHP 7.3 And some users have reported issues with MariaDB 10.2 and higher. Does your webhost offer other versions of PHP and MariaDB?
  20. Version 2.1.936 won't work with PHP 7.3 Checkinstall hasn't worked well in years. What versions of PHP does your host offer? What version of MySQL/MariaDB are you using?
  21. Be sure that any quoted text will appear in English.
  22. To find the version number, look in admin panel on lower right. Have you looked in the error_log file in the main phpvms directory and in /admin directory for errors? You can update to a newer version, but will need to tweak many of your modules and other customizations.
  23. To me, the email is just a notification that a pilot filed a PIREP - and that I need to go to the admin side of the site to review and process it. I don't use the Accept All (it is actually disabled) - I review each and every PIREP. And by going to the site to review them, I can see what aircraft was flown.
  24. If you look in your aircraft table in the database, you will see the record numbers in the first column. There may be an easy way to add the code to have it display aircraft type or aircraft registration. Maybe someone will be along to help you sort that out.
  25. Oh, the aircraft registration number. Right now it shows the aircraft record number because that is what the pirepdata shows. I guess do could recode it to call the actual aircraft registration number.
×
×
  • Create New...