Jump to content

ProAvia

Administrators
  • Posts

    1695
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by ProAvia

  1. Ah - Seeing that pic helps. So the skin isn't loading at all then. If you change back to the default crystal skin, does it display correctly?
  2. No idea why you are getting an error referencing header.tpl and footer.tpl - it shouldn't be calling any tpl files. The skin uses app_top.php for the header and app_bottom.php for the footer. In referende to your error_log - Line 231 of which file? The layout.php file has only 113 lines.
  3. The header and footer won't show if not on the login or registration pages. See layout.php starting on line 53 <body> <?php echo $page_htmlreq; ?> <?php // var_dump($_SERVER['REQUEST_URI']); # Hide the header if the page is not the registration or login page # Bit hacky, don't like doing it this way if (!isset($_SERVER['REQUEST_URI']) || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/login' || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/registration') { if(Auth::LoggedIn()) { Template::Show('app_top.php'); } } ?> <div id="content"> <?php echo $page_content; ?> </div> <?php # Hide the footer if the page is not the registration or login page # Bit hacky, don't like doing it this way if (!isset($_SERVER['REQUEST_URI']) || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/login' || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/registration') { if(Auth::LoggedIn()) { Template::Show('app_bottom.php'); } } ?>
  4. I am guessing you are using phpVMS 5.5.2..... Did you delete all the tpl files first and then replace with the PHP files? Anything related in the error_log file or issues in the console?
  5. Have a look through the v7 documentation - http://docs.phpvms.net/ You can contact your hosting company to help you set up a subdomain.
  6. Glad you got it working. Several users have reported issues with MariaDB 10.2 and 10.3 I can't speak to the issues you saw with Visual Studio - but a simple code editor like Notepad++ seems to work well. There are several other free code editors available also.
  7. For phpVMS v7 check the requirements - http://docs.phpvms.net/
  8. I used Notepad++ It appears you are using MariaDB - if it is any version other than 10.1, you will probably experience issues. Change to MariaDB 10.1 or to MySQL 5.6 or 5.7. If you deleted the original RanksData.class and created your own - you are on your own. What was the purpose of deleting the original? What did you change in the one you "created"? It appears that RanksData.class was not changed for version 5.5.2.72 - it is the same as the original in 5.5.2 (simpilot version).
  9. I couldn't tell you if its a Visual Studio issue or not as I don't use it. Are you getting any errors in the error_log file or in the Chrome browser console? What exact file did you delete and create anew? Have you in any way edited the original downloaded files?
  10. ProAvia

    BlueIce V2

    The registration is built into phpVMS. You don't need a separate addon module.
  11. Probably not the correct place to post about adding a bidding system. But if you can't find/view ezdb_mysql.class.php chances are you can't add or edit any files either. Free hosting is never a good option to successfully run phpVMS. If you don't have issues now you will- sooner rather than later. If you are serious about running a successful VA, pony up and pay for hosting.
  12. 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.
  13. 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.
  14. 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
  15. 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.
  16. 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!!
  17. 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?
  18. What base template are you planning to use for there two skins?
  19. What base template are you using for this skin and your 2 new skins?
  20. 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.
  21. 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?
  22. 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.
  23. 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
  24. phpVMS version? Free or paid hosting? What does line 103 of ezdb_mysql.class.php contain?
  25. 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.
×
×
  • Create New...