-
Posts
292 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by in2tech
-
So it will be responsive now? If so nice, and thanks!
-
Same thing here? Ask the host for the "allow_url_open" thing?
-
Not unless a well known phpVMS hosting company does
-
Demo? I am interested?
-
But can't be done when car's flight filed right? Also, would like to see this as an option in version 4 or 7?
-
True it Is not responsive but it does work
-
Something like this will do it. You have to edit your pilot_list.php or tpl file: <tr> <th align= "center" width="100px">Avatar</th> <th align= "center" width="100px">Pilot Hub</th> <th align= "center" width="100px">ID</th> <th align= "center" width="200px">Name</th> <th align= "center" width="100px">Rank</th> <th align= "center" width="100px">Flights</th> <th align= "center" width="100px">Hours</th> <th align= "center" width="100px">Vatsim</th> <th align= "center" width="100px">IVAO</th> <th align= "center" width="100px">Status</th> </tr> This is how I lined mine up! I think I got the code here somewhere! Of course you edit it for your options!
-
Thanks, Since I have done this the schedules used to appear on the page as soon as I selected the menu item. Now I have to click on Find Flights for it to show up and it also appears to opening in a separate page if that makes sense. Wonder why they are no longer showing when I click the menu by default. Used to show schedule results right under this with schedules listed. Now I have to click Find Flights and it shows on another page! This is what it used to look like when you clicked the schedules link in the main menu: Thanks for all your help!
-
Thank you, is this also true of the other options, airports. aircraft, etc... I think it is just those three? Odd they are not showing up when I click the schedule link now, but if I click find flights the updated ones are there. Any ideas?
-
So in the early stages of testing the virtual airline. For the most part working on the template which does not effect the database or anything like that. In trying to learn the CSV import and export functions, I noticed that there is an option in the Import for Schedules that states : "Delete all previous routes - NOTE: this could potentially mess up any PIREPS from ACARS flights which are currently in progress, whose routes have changed. " , which like I said we are in the testing phase. So If we say have 1,000 schedules as an example and we edit the spreadsheet to have 500 and tick the DELETE, it will delete the 1,000 first right and than upload the new 500 on the spreadsheet? Is this the way it works for schedules, airports, etc...? Thanks!
-
For some reason after a few days it cleared itself up. Maybe bad data was coming from Google. But now it is fine! Go figure, as I didn't change anything
-
I had to put the latitude and longitude in manually but double checked the info and it is right. But the filed PIREP's are showing flight's in Russia What's up! The Main acar's map is fine! Main Map: PIREP's Map's is in Russian!
-
Agree, pagination please in the new version!
-
I am having the same problem, and got the static map google code and entered into the head file and this is what I see. I am doing something wrong http://www.fswbreak.com/phpvms/index.php/acars
-
ProAvia, No it is not a template. Those are 2 different templates of mine. And my second template has pagination code already in it and styled, so I just had to find the right DataTable styling to pull it out. If that makes sense I am trying to get the first picture to look like the second one but have not figured it out myself yet. I am pretty sure the DataTable code is pulling information that works with my templates. For example, my second picture ( The RED one) is heavily relying on Bootstrap and my second templates is basically built on Bootstrap so the DataTable CDN code is pulling the right info ( the DataTable stylesheet link). You really just have to mess with it and see if it works. There is a page on DataTable that you can choose what you want and it adds it to the DataTable style and script codes. You just have to mess around and see if it works out. Or dig deep in the code and figure it out yourself. It's called the Download Builder: https://www.datatables.net/download/index It's kind of hard to understand at first. I just selected the styling options I wanted until it worked. You choose what you want, I think I ONLY choose the Bootstrap option at first and tried it. And than it generated the codes at the bottom to try. I mixed and matched them, and finally it worked on my RED template BACKUP, BACKUP, BACKUP your original file before trying this. You might just get lucky Also, if you have another template or skin try it on that one too and see what happens. Also, be careful that the generated code does not cause a No Routes Passed Error, check often! Good luck,
-
ProAvia, Show us a screenshot or provide a link. Does it look like this: Instead of this: These are 2 different templates. And actually the one at the top when you hover over the numbers, or next, last, etc... has a hover effect. Does yours? Best thing is to show a screen shot while hovering if you can, or even better a link.
-
Accidentally got rid of the default Search Form, which I really don't need anyway because DataTable Search does everything. I would still like to get it to work, or make another version to work. That's really all I need. You can search for anything the default search for does Although I got ride of the search form by accident...need to figure out how and why...well I know it was the No Conflict code and where and how I placed it But heck this works really well...I think! Well actually it does not as now I get a No Routes Passed error..... Really odd some times it works, sometimes I get the No Routes Passed...strange!
-
You mean the tabs in the search form like this: <div id="tabcontainer"> <li><a href="#depapttab"><span>By Departure Airport</span></a></li> <li><a href="#arrapttab"><span>By Arrival Airport</span></a></li> <li><a href="#airlinetab"><span>By Airline</span></a></li> <li><a href="#aircrafttab"><span>By Aircraft Type</span></a></li> So forth and so on.... I have added this code to the page but no luck on search form or results. This is what I have in my layout.php file too to get DataTables to work on my other pages. <script> jQuery.noConflict(); </script> I must say I am very confused about this. Can you give an example(s) of a fix to guide me please... I would really like to get DataTables working on my schedules page. Thanks,
-
For me in the schedule results I always have an issue with it messing up the search form, when I apply the DataTables. On my test sites I have to use the javascript no conflict code to get DataTables to work for me. Once again I would try to get the width working without any DataTable code or links to DataTable styling and so forth and than go from there. But like I said I have always had issue's trying to get it to work with the schedule results. If I get the results working with DataTables it messes up the search form horribly. Not sure why yet. Let us know,
-
ProAvia, For some reason I have had trouble trying to get it to work with the schedule results page at the moment. But really haven't tried a lot. For one thing your table should fill the entire width. Something is wrong and probably that is messing up your other items, like the pagination at the bottom. Fix that first with out the DataTable code and than add the DataTable code. Should look similar to this before the DataTable code: Try <table id="table" class="table"> or <table class="table"> and see if that makes it fill almost the entire page.
-
Show us your link or links please. Are you using the CDN script's that get's the styling and so forth for the DataTables? There should be no reason why you have to make them buttons. Now sure if it matter's or not but is your template bootstrap? It should look similar to this, although might not be exactly. I will say one thing I can not get to work most of the time, is the X that should let you clear the search and take you back to your default ordering. Not sure how to fix this? But I really want to get it to work at some point. Any ideas anyone? How to get the X, for clearing the field to work? From the DataTables website: Yeah the DataTables are amazing. Trying to figure out some of the options and getting them to work sometimes takes awhile. Like I have tried some of the styling options, but I think my main css style sheets are taking over at times. I can get the bootstrap table styling to work, but not the DataTable styling. Might be another CDN link I need See the X for clearing and starting over is working in this template. It's really nice when it works. Just easier to clear and start over your new search!
-
PM Sent!
-
Got it working. If I had been paying attention, I would have noticed I only needed a comma on the line above...duh!!!!! Working DataTable code with length options and now ordering options. You can add or change ton's of stuff in the DataTables code: <script type="text/javascript"> $(document).ready(function() { $('.table').dataTable({ "sPaginationType": "full_numbers", "lengthMenu": [ [ 5, 20, 40, -1], [ 5, 20, 40, "All"] ], "order": [[ 2, "asc" ]] }); }); </script> <table class="table"> ( your phpVMS code goes here, like pilot list code, pirep viewall code, etc...) </table> You can see now it starts off ordering the Pilot ID column. https://www.screencast.com/t/KZZuQsWv Notice I have a 2 in the order although it is column 3 from the left.
-
web541, I had this working once and can not find the original code I had it working in. I need to add only the BOLD order part: $(document).ready(function() { $('#example').DataTable( { "order": [[ 3, "desc" ]] } ); } ); To this: <script type="text/javascript"> $(document).ready(function() { $('.table').dataTable({ "sPaginationType": "full_numbers", "lengthMenu": [ [ 5, 20, 40, -1], [ 5, 20, 40, "All"] ] }); }); </script> I had this working once and know I have it somewhere but can not find it. I will say the column order is kind of funky as I have to use like column 2, which is really column 3 to get it to work. I guess it is ignoring a column or something. With the ordering code added you can set for instance Pilot ID to be the default ordering column, ( or any column with data )! Of course images and ranks don't work. You just have to mess with it to find the correct column you need ordered And of course you can change desc to asc depending on how you want it to order. Thanks,