-
Posts
275 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Tylor Eddy
-
G'day Guys, I have a frustrating little problem that i cant get rid of, there is a little gap at the top of my dev site here: http://qantasvirtual.com/dev/ I am unsure how to get rid of it, this is the css i am using for the header div.qlogin { margin-top: 0px; background: url(../images/header.jpg) no-repeat center center; height:120px; left: 50px; padding:0 20px; } p.qlogin { color:#fff; } label.qlogin { color:#fff; } Any help would be greatly appreciated Cheers Tylor
-
Yea, take a percentage off the total depending on what went wrong, like overspeeds, excessive landing rate etc.
-
[SOLVED] Protect local.config.php file on FTP
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
G'day Keith, All good now, turns out the password i set was wrong, i must not have copied it all when i got one generated from cpanel. Thanks very much Keith for helping me through this Tylor -
[SOLVED] Protect local.config.php file on FTP
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
No worries Fatal error: Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>Access denied for user 'qantasvi_dev'@'localhost' (using password: YES) (1045)</b></font>]<br />[<font color=000000><b></b></font>]</font><p> </blockquote><hr noshade color=dddddd size=1> thrown in /home/qantasvi/public_html/dev/core/classes/ezdb/ezdb_mysql.class.php on line 99 The user has full permissions when i set the account up Cheers Tylor -
[SOLVED] Protect local.config.php file on FTP
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
Ok i've created a new MySQL user, and set them details in the local.config.php, but i get a fatal error with ezdb_mysql.class.php on line 99 -
[SOLVED] Protect local.config.php file on FTP
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
Ok i think i've got it sorted now, Also the cookie information was already commented out, is that normal ? Thanks for your help so far, i think we're getting closer now Cheers Tylor -
G'day Guys, A member of my management team brought up this idea. Being able to fine pilots based on risky decisions/poor flying, and give them the hours they gathered from the flight instead. Basically when a pilots pirep is rejected, they still receive the hours, but don't get paid, or loose and amount of pay. Cheers Tylor
-
[SOLVED] Protect local.config.php file on FTP
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
G'day Keith, He will still be able to get the password from the file, as its the same password as my production site, as both databases are on the same server i am not given an option to set a password when creating a database. i have my site within a subfolder, which is all he can access, he cannot access the production site in any way, Also my app.config.php is a bit different to yours, i've got //Config::Set('SESSION_COOKIE_NAME', 'VMS_AUTH_COOKIE'); under my cookie information, i take it i uncomment this ? -
G'day Guys, I have recently appointed a dev guy within my VA, and I'm trying to allow him access to the dev site to work. Currently i have setup the account so he can access the files, but he can also access the local.config.php, and other sensitive files that contain passwords and information i don't want him to get at, how can i prevent him from accessing these files ? i have tried the permissions but that doesn't seem to stop the account. I setup the ftp account through my host's cpanel option. I can see that i can password protect a directory, but why not a file ? I'm not sure you guys have done this before but if someone has, any help would be great. Cheers Tylor
-
Ok i see where you guys are coming from now, I have tried something similar but don't believe it worked out so well. I'll have to give it another shot ( it'd be much easier to select a few registrations from some drop down lists within the schedule adding function, and have one be pulled randomly within the pilot brief though ) Cheers guys Tylor
-
doesn't that cause conflicts with the pirep system, as it doesn't know which flight to call ?
-
G'day Guys, Just wanted to express an idea i've been thinking about, for a possible release in the next version of phpvms, what i was thinking of being able to select a few different aircraft for a route, and then have one randomly selected when someone looks at that bid, as most airlines use more than one aircraft on one route, and depending what they've got available at the place and time they use. Hopefully this could be looked into, as i believe it'd add the the realism. Cheers Tylor
-
G'day Simpilot, How can i make the emails stay structured once sent. Once they get sent, it doesn't account for any spacing between lines, or look the way i originally set it out. Is there anyway to change this ? i was reading about wrap="physical", but it doesn't work with mozilla, is there any other options to make these emails a bit easier to read ? Cheers Tylor
-
exactly what i was looking for, thanks Mark Tylor
-
G'day Simpilot, Love this addon, works like a charm. I have something to consider for an update, i personally would be interested in it. Currently i have the random shot code on the sidebar of my site, I've linked it up so it takes me to the large version of the shot. I have had to shrink the large version of the screenie to fit within my site (this is taking away from the potential of the shot, as it's lost its true resolution when it was shrunk), otherwise it will leak over into the sidebar, so i was wondering if you could make it 'pop out onto its own page, I'm not sure if its some third party script that does that, but any info here would be great. Once again keep up the good work simpilot Tylor
-
Works Great Simpilot! Thanks very much for creating this module, just what I've been looking for Keep up the good work Tylor
-
G'day, I would like to display an amount for all pilots an ATC, as well as my pilots online on vatsim using this code, how would i got about displaying the pilots and ATC online ? I've seen it done before, i'm not sure how it was done though. Also, I've just tried this code <?php require_once("VatsimPHPgenerator.php"); $VatsimPHP=new VatsimPHP; $pilotlist=$VatsimPHP->airline("put your va's call letters here"); for($i = 0; $i < count($pilotlist); $i++) { echo '<p>'; echo $pilotlist[$i][0].':'; echo $pilotlist[$i][2]; echo '</p>'; } if(count($pilotlist) == "0") { echo "<p>Currently no operations</p>"; } ?> I would like to display an amount of pilots, not every pilot with that callsign, how can i edit this to display a number for the amount of pilots online ? Cheers Tylor
-
Schedule Search (Airline, Aircraft, Arrival, Departure)
Tylor Eddy replied to simpilot's topic in Simpilot Group Addons
Sorry about this post, realised that my custom database names were what was causing a conflict with this module, all fixed now Keep up the good work simpilot, it's a great module Cheers Tylor -
G'day Simpilot, Ok i found the problem, i have custom database names, so i needed to redirect it to them, now i am having trouble displaying info, i want to display the top 5 pilots with the greatest number of hours for a month i have this, but am sure the syntax is wrong <?php echo TopPilotData::top_pilot_flights(08, 2011, 5) ?> my other question. Is it possible to have automatically start display statistics for the previous month, so i don't have to go in and change it every month, i am aiming of showing the previous month's stats. Thanks Tylor
-
G'day Simpilot, I can't get this module to populate the table withing my database, im using phpvms v2.1.934 When i go to (mysite Qantas VA)/index.php/TopPilot/refresh_pilot_stats, it just shoes a blank page, i seen that this was initially created for 2.0.874, is that the reason it isn't working? If that's the case, how's v2.0 coming along Cheers Tylor
-
That's an alternative, but i really want it to be done automatically to reduce workload
-
G'day Guys, I was wondering if anyone has tried to make a checkbox under the emails to send out an email to inactive pilots. I'd like to make my HR managers job a little easier, by being able to mass mail pilots that are inactive within the airline. There's an option for active pilots, i would like to know if the same can be done for inactive pilots, any help would be great Basically i want to be able to automatically create and update an inactive pilots group Cheers Tylor
-
Using the Contact form code for other Forms
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
Cheers, works great -
G'day Guys, Just wanted to know if there was any further development on this, looking at something similar for my airline as its just one more thing to add to the realism, also if you were able to take that aircraft out of service for repairs would also be great, or options such as periodic maintenance checks where the aircraft is taken out of service, and a complete rebuild option for those older aircraft Just though id add to the list of ideas Tylor
-
Using the Contact form code for other Forms
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
G'day Guys, A quick question, how can i set up these forms so they can only be used by members ? That will save using a captcha.