Jump to content

in2tech

Members
  • Content Count

    290
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by in2tech

  1. Was just wondering if Nabeel updated his hosting yet to run PHP 7.1, 7.2, etc... Anyone know?
  2. in2tech

    Acars Beta Testers

    Just wanted to say very nice work from the screen shots, keep it up! Looks amazing!
  3. in2tech

    Spam messages

    Thanks to all the moderators and administrators that take care of this site. Much appreciated!
  4. Customized File New PIREP form page: Nothing fancy, just a little more compact. I like it! It's also the Edit PIREP form: A few minor alignment issues I need to fix.
  5. I know that the version 7 is still being worked on, and have no idea when it will be ready for wide release but I have been learning the basic's of Blade Templating and converting an existing Bootstrap & HTML template to phpVMS v7. I am also trying to learn the basic's of Laravel for v7. I am not a coder by any mean's just enjoy making template's for the old version's of phpVMS and also learning how to make them or customize them for v7. I am making video's and was wondering if anyone is interested, while I work on them. My way is just the simple old school way similar to the older version's. Still have to learn SASS, Laravel, etc... but the basic's of the look of the templates do work, so that you can have something look different than the stock one, and hopefully we can learn and help each other. Please let me know if you are interested in these very basic video's. I have the first one done that show's you how to get the converted template to show up, and now have to work on the navigation, drop down menu, content, etc... video's! I have not made very many, if any, (wait I did make one Adobe Muse one for menu's that is super simple about 3-4 years ago and for some strange reason has like 80,000 views), and they are not very professional, still learning, but get the job done! phpVMS 7 is still in development, not recommended to use as a production virtual airline! Alright, here is the first video in I hope to be a series. I worked on the navigation and Snag It crashed, a lot of work down the drain. Have to redo it at some point! I do all my editing on a Mac, but it's the same for WIndow's! Just use the editor of choice and FileZilla type program, etc... This is how I do although there are a ton of different ways! phpVMS v7 template links and basics - Part 1 Thanks!
  6. Alright so after Nabeel ( developer of phpVMS 7 and original phpVMS ) explained this to me, and I am sure he will chime in here when he has time. The way I understand it is that the text in his original default v7 theme and in v7 that will be showing to users is a Laravel library I think it is called and instead of entering code like I did below in my nav.blade.php file below ( chopped up code not complete ). Well not really code but TEXT for the navigation names: <ul class="nav topnav"> @if(Auth::check()) <li class="dropdown active"> <a href="{{ route('frontend.dashboard.index') }}">Dashboard</a> </li> @endif <li><a href="{{ route('frontend.livemap.index') }}">Live Map</a></li> <li><a href="{{ route('frontend.pilots.index') }}">Pilots</a></li> You would instead include the Laravel library language code so that it will display for different languages, say like Spanish. How it does this I have no clue! But this is what you would copy over from the default nav.blade.php file. There is also a language file and can't remember where it is, with a bunch more options. <ul class="nav topnav"> @if(Auth::check()) <li class="dropdown active"> <a href="{{ route('frontend.dashboard.index') }}">@lang('common.dashboard')</a> </li> @endif <li><a href="{{ route('frontend.livemap.index') }}">@lang('common.livemap')</a></li> <li><a href="{{ route('frontend.pilots.index') }}">{{ trans_choice('common.pilot', 2) }}</a></li> I thought this would mess up my text and so forth from my template, but it has not yet, and should not. I also can't remember the {{ trans_choice('common.pilot', 2) }} code meaning cause I looked it up a long time ago.If I remember correctly the number 2, makes choices this instance between the singular PILOT and the plural PILOTS! I am still learning! Hope this help's someone. I almost sure you DON"T have to use the language files, it's up to you.
  7. in2tech

    Are these Laravel references in v7?

    Cool, makes total sense now!
  8. Alright so for the longest time I wondered what some of these were, such as @lang('common.dashboard') , which I now know are references to display names. Are these referenced some where and we can change them or choose from a list? Not sure what these mean, {{ trans_choice('common.pilot', 2) }} , or what the number at the end means. Just wondering. I know we can place static text where we need too to replace those! Thanks!
  9. in2tech

    Are these Laravel references in v7?

    Although I am still going through the Laravel 5.7 Tutorials, I don't grasp these instead of just test yet? But I did find the master file, just trying to understand why these instead of text. Is it like a CSS file one reference takes care of them all? Or something like that?
  10. in2tech

    Edit Title on these Forums?

    Apparently too simple for my brain to comprehend Thank's to both of you!
  11. How can I edit my Title on a post I made? Can I? Specifically I want to add the word TUTORIAL to my Customize a v7 template to a v7 Theme! Thanks!
  12. in2tech

    Edit Title on these Forums?

    So it was you Once again Thanks!
  13. in2tech

    Edit Title on these Forums?

    Whom ever fixed it, Thank You!
  14. Making room for the future, when I find more info to put into the duplicate table with different info hopefully! Latest Profile page. Now I can't stop I would like to have total va hours, miles, total pilots, total passengers, etc... info if anyone knows how to do that already? Thanks!
  15. I'll have to add this to a table or something in the future, but here is the reformatted Profile page. Or the start of it I like it just have to clean it up When taking screen shot's although the info is bogus, get used to not showing your API key, email, etc... Luckily I noticed right away, although it's all bogus! That was close
  16. I am gonna try and make a few video's of changing the content on pages like Dashboard, Home, etc... but I don't really have a method to my madness at this point, so I will try in the future to make one that hopefully people will understand although I am not exactly sure. I edit this and then I edit that, and I test, and it does not work, so I try that etc... until I get some kind of result I like so it's kind of hard at this point to make a video. Maybe when I get better at it. Having said that I did figure out why my map, registration, filing a pirep, etc... was not working. I had to put this code above all my script's at the bottom of the app.blade.php file. Something like this: As you can see the required phpVMS 7 file references are now ABOVE my Javascript library links and now most items work properly although I have to format a ton of pages! Best of luck to every one. Also, I said in the first video I knew nothing about these files so ignore that and copy these links from the default Theme in the app.blade.php file into your Serenity app.blade.php file and although it might look horrible, the map, flight's, pirep's, registration, and such should work, SHOULD! Let me know if anyone tries to follow my first 2 video's and get the Serenity template basic's working in v7? Good luck!
  17. Who knew you could use the new button group in I think bootstrap 4 for the pilots info? Not me, until I tried, and it looks pretty good! No cookie cutter here Now it's starting to be fun! Have to say though, doing this part takes a lot of time and trail. You screw it up, you try something different and a ton of trouble shooting, for me at least!
  18. in2tech

    Installation Error

    Well you know v7 is not for a LIVE virtual airline right? If so that's for sure version 7 as it is the only one that gives you that Whoops Error Free host? If so not sure it will work and it takes PHP 7.1 to be able to run on your server! Let us know!
  19. in2tech

    Tables wont install

    Yes, you should use phpVMS 5.X for a virtual airline at this point, as v7 is still being developed, and is still in the testing stages. You CAN install v7 just to have a look around, but there are still thing's to be worked out. Have no idea when v7 will be in major release to public, but if you like learning thing's you should TRY v7, just to mess around! But NOT for production of an actual VA!
  20. in2tech

    Page not showing correctly

    Your welcome and the customizing existing template to v7 theme tutorial is up now. At least the first two parts in the series. People should actually be able to get started at least now, the ones that know nothing at all, hopefully! Have a great day, let us know about your progress in the future!
  21. Just some screen shots of the work I am doing on the template. Might be kind of hard to explain this part in a tutorial but I will try at some point! Number 1: Number 2: Number 3: A lot more work to do as this file point's to that file and you edit that file and then it point's to another file, and then you have to find where the button is to match your site, etc... I am learning a bunch and for the most part it is fun, for the most part Just nice to know we can have our own customized theme in v7! And yes of course we can, but we have to figure it out, and that's the fun part, mostly! Tell me what you think?
  22. Here is part 2 of how to customize the navigation from the Serenity template and convert it to work with phpVMS 7! Sorry about some of the sniffling through my nose and some loud cough's! phpVMS v7 Navigation - Part 2 How do I edit the title as I want to add Tutorial to it?
  23. in2tech

    Learning Basic Laravel & phpVMS 7

    That would be cool, where would it be, admin panel? Yeah so long since I posted this, I am not sure what #1 means either anymore. I was more likely asking if I could make a NEW route and a View for info, I guess, but not really sure anymore Sorry, should have made it more clear when I posted it! I'm old and just forgot!
  24. First off should I ask these type questions here or in the Off Top Bantor area? I think since they are related to phpVMS 7 & Laravel this will be alright, but let me know if I am wrong. So after getting Laravel installed and learning some very basic, I mean basic thing's about Laravel & phpVMS I have a few questions and some info. 1 - Is it possible to add a new function that would point to a view for say Awards in the http/routes/web.php and create a NEW view in the views folder and point it to the view and would it work? Just curious. Might give it a try just for the heck of it. 2- Also in digging around ( sorry if I am not suppose too ), I always wondered how I could change the number of pilots that show up on the Home page. Right now it is set for 4, and that is all it shows total! So I dug around and noticed a file that could be changed in the Http/Controllers/Frontend area called HomeController.php and guess what I found? This code and changed it, and it worked <?php namespace App\Http\Controllers\Frontend; use App\Interfaces\Controller; use App\Models\User; use Illuminate\Database\QueryException; /** * Class HomeController */ class HomeController extends Controller { /** * Show the application dashboard. */ public function index() { try { $users = User::orderBy('created_at', 'desc')->take(8)->get(); } catch (QueryException $e) { return view('system/errors/not_installed'); } return view('home', [ 'users' => $users, ]); } } Changed the 4 to an 8 , where it states take(8), and now I can list up to 8 NEW pilots Just having fun digging and learning the basics! Of 8 is it as NEW pilots register it kicks off the oldest one so it will never go over whatever number you make it. If that makes sense. And then of course there is the Pilot List anyway, which shows them all! So now it looks like this: I can show up to 8 of the newest pilots registrations instead of just 4. But like I said doubt you would want more or even change it, as you have the pilot/users list. But I must say I do at least like 8 Just messing around as I said! As you can see I also reformatted the way it looks, etc...
×