-
Posts
381 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by magicflyer
-
-
On 10/13/2019 at 11:47 PM, Captthud said:
Is there a way to order the table by ICAO cod rather than database id
I've got the ICAO code added to the table, but I'd like it to order the fleet by ICAO so I don't have to go to the database and change the database id every time I add a new plane to the fleet
Thanks
Rick
Woah somebody is still using this. (Thanks!)
Anyways, all the database queries are in: https://github.com/RyanHerga/Advanced_Fleet/blob/master/common/FleetData.class.php. I don't know what the name of the db field you're trying to order by, but you'd essentially be appending "ORDER BY `icao`" at the end of line 17
-
The variable $pilot_list is either undefined or an empty object. Where in the code are you assigning a value to it?
If your core/modules/Pilots/Pilots.php file is the same as this: https://github.com/nabeelio/phpvms_v2/blob/master/core/modules/Pilots/Pilots.php
Then you should instead be using $allpilots instead of $pilot_list.Also, noticing you have one pilot in the VA, try adding another pilot and see if the results change.
-
The problem isn't in that file.It's the jQuery - You must be loading in a conflicting library that also uses the $ symbol to call jQuery (I'm guessing this is a new theme that is using bootstrap?). You're probably loading two versions of jQuery on the same page.
This might help: https://api.jquery.com/jQuery.noConflict/
You can also try loading the new bootstrap jQuery before every other script in the file core_htmlhead.tpl -
A couple of ways to get this done. If you have access to the Unix Shell, run the following command:
chmod -R 755 /var/www/phpvms/storage
If you do things by cPanel, go to the file manager and browse to that directory above (/var/www/phpvms/storage) then right click on the (storage) directory and Change Permissions. Set it to 755 and check the box for recursive. Here's what it should look like:
-
Common Causes include:
- Javascript is Disabled
- CSV is not comma delimited
- CSV does not have the proper columns
- First row is not recognized (Either because you have column names or because you're missing column names)
-
Depends on what version of phpVMS you're looking for. The picture is a bit out-dated - You actually have the right files for the newer phpVMS 7.
If you want the original one that is no longer maintained (But has tons of modules to be used): https://github.com/nabeelio/phpvms_v2 (I suggest you stick with his one if you're not prepared to either code a lot or spend a lot of money getting custom modules for it)
-
When linking external images or scripts on the header of your site, be sure to use the following format:
<img src="//site.com" />
Rather than:
<img src="http://site.com" />
This insures that the client selects the most appropriate network protocol. In other words, if your site is https then external links should only use the https protocol.
Some web browsers also prevent cross-protocols from loading on the same page, so it cloud explain why you're missing styling or animations on the site.
-
13 hours ago, TheGmader said:
Download link downn
Sorry not maintained anymore. No plans to re-create or re-develop for phpvms at this time.
-
Should be just this:
git pull
Run it while in the main phpvms directory where the .git file is. If you've made changes to the original version that won't work instead use this...
git stash git pull --rebase git stash apply
I like this: http://rogerdudler.github.io/git-guide/
Git will override any code on there. Be ready to handle merge conflicts - Those are always fun.
- 1
-
Checklist:
- Check Credentials and Spelling (Do it again, even if you think you're right)
- Does the user 'xxxxxxx' have read/write access to the database? (I'm assuming you're hiding the actual username right?)
- Did you set a password? Sometimes LAMP environments default to empty or 'root' or 'password'
If that doesn't work, please share what LAMP environment you're using on localhost and if you have access to the localhost phpmyadmin.
-
Well, it's one way to spend those v$ lol. Congrats for the release @servetas
- 1
-
Y'all do know this was posted a year ago lol? If you want web dev projects go to upwork.com
- 1
-
I haven't ran a VA in a while - But consider this: Most Established VAs have their own forum and it would probably be technically difficult for them to transfer their posts or start over from scratch. Their pilots would probably get angry if they lose their post history. God knows why lol.
-
That first image doesn't load...Could that be the problem? Try replacing it with a valid URL.
-
On chrome, go to that pilot pending page Right click > Inspect > Console then copy/paste or screenshot all the error messages to here. Like this:
-
I'm not going to code it...but if anyone were to implement this efficiently you would use a Graph Data Structure with Dijkstra's algorithm to find the shortest path between two destinations (This is probably the same algorithm that big airlines use for booking system). I guess an easy way to cheat around is just to code a multi-leg schedule system. So to answer your first question, yes it is possible. This would be a pretty good Software Engineering challenge for someone in the community.
-
9 minutes ago, Nabeel said:
Are you looking to do this for the new/upcoming version?
I'm trying to learn Laravel, but obviously the current Codon Framework on PHP7 version is more popular. So, most likely the latter but I'll give the former a shot later.
12 minutes ago, flyalaska said:A detail stats page. For pilot and airline.
Sounds Easy. What kind of data do you want to see?
-
Hey guys, been a long time since I coded in PHP so I thought why not go back to where I started as a refresher. So, I'm looking to put together a phpVMS Module. Personally, I'm looking for something simple yet needed. But some other dev may be interested in picking up your idea.
So, Post your module ideas for phpVMS.
I'd love for this to be an open discussion by the community to see what they can improve about phpVMS as a whole.
-
3 hours ago, Nabeel said:
Which zip? Can you link me?
It's the v2.0 phpVMS with php 7
https://www.virustotal.com/#/file/df4d159938ddea35d42049ad50ac73131074162800c547580f85e3d1a62bb147/detection
Webroot has it listed.
The php5 is also listed with the same database- -
3 hours ago, Nabeel said:
I'd ask for details on what files. They could also be referring to a vulnerability list with "open-flash-charts" on it, which had a vulnerability, that I patched in subsequent versions a long time ago (when the vulnerability in that library was first reported)
I ran a checksum on VirusTotal a couple weeks ago and the phpVMS .zip file is listed on one of the databases. Maybe add a .txt file, lol?
-
6 hours ago, Nabeel said:
What's the version they're currently on?
A2Hosting is 7.1 defaults to 7.1
Bluehost is 7.0
InMotion is 7.1 defaults to 7.0
I thought I had a GoDaddy one, but that's managed WP(Which defaults to 7.0 and can't change)
-
7.2 hasn't caught on with the host I use(A2Hosting). I checked a couple client accounts and its not being used by InMotion nor Bluehost either. That should definitely be out of the question, for now.
-
It shows that the Facebook Plugin & The map you have is loading really slow. See what happens if you comment that out. I guess this is just a matter of optimizing the code and minifying the CSS and JS. I'm a little curious as to how it works on certain directories and others not. Please let me know if you find an answer, I'd love to know it.
Edit: I wonder, is there a difference in the .htaccess files? -
16 hours ago, flyalaska said:
The other domain is hosted on my VPS. All the settings are the same. Thats why it makes no sense.
Ok. Now, that's a tough one. When you say it loads slow, what do you mean? Does the screen stay white for a long amount of time, or does the page load and just the progress circle keeps going? I did a test on pingdom, and I'm getting 5seconds which isn't too bad given all that's going on in the page.
Schedules Discussion
in Support Forum
Posted · Edited by magicflyer
A lot of VA's just use a single aircraft registration for each type (B737, B747, etc..) So you'll be perfectly fine by doing that. phpVMS does support this.
Also when you purchase a VA Schedule, that's going to be the case anyways. Besides, I don't think a lot of pilots really care about the registration of the aircraft they're flying. It doesn't bring any added realism except maybe some role-play value.
Edit: Jim and I replied to your post seconds apart. Read what he wrote - He brings up some good points worth noting.