-
Posts
2773 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by simpilot
-
hmmmm... I wonder where Kyle got this idea.... http://www.westjetvirtual.net/index.php/Screenshots
-
The function does not return anything to echo, it returns a variable filled with the info you requested. An example to use it would be to set the variable, preferably in your module: $this->set('myvariable', TouchdownStatsData::get_stats('5')); Then in your template use a foreach command to show what data you want to display: foreach($myvariable as $variable) { Do Stuff } To see what is available to echo do a: print_r($myvariable); in your template. If you want to call the data within the template just do: $myvariable = TouchdownStatsData::get_stats('5'); in your template before you need the info.
-
Without a link to the site I am not sure what you have the sidebar <div> named but you would need to create some div classes within that sidebar division with some background colors or pics for backgrounds, or you can directly call an image within the division -> <div class="sidebar"> <img src="path/to/your/image" alt="your image" /> Text Text </div> or create a new div in your css file CSS .newdiv { width: (sidebar width); height: (height of image); background: url(path/to/your/image); } then in your template call <div class="sidebar"> <div class="newdiv"></div> Text Text </div> Or just add a background color to your sidebar css with background: #colorcode;
-
REALScheduleLite beta 1.0 [DEPRECATED]
simpilot replied to simpilot's topic in Simpilot Group Addons
Everything but the base index function of the module seems to be working on your site. I get timeout errors when trying to access the index of the module. Did you create looping routes for all of the enabled aircraft? It seems to me that the system gets stuck looking for the next flight leg for the aircraft which may not exist. -
As far as the positioning of the ExamCenter table in your screenshot, that is a css and html issue, not a issue of functionality. You can adjust the tables to fit your skin, the module is only supplied with a generic layout. For the images not showing up, double check that the examimages folder in in the root of your install, and that tthe files do exisit inside of it. If you could post a link to the install I may be able to tell you more from there.
-
You need to move the $depname = OperationsData::RetrieveAirportInfo($flight->depicao); $arrname = OperationsData::RetrieveAirportInfo($flight->arricao); within the foreach loop foreach($list as $flight) { $depname = OperationsData::RetrieveAirportInfo($flight->depicao); $arrname = OperationsData::RetrieveAirportInfo($flight->arricao); There is no $flight variable available prior to that.
-
You can put it anywhere within your phpvms install. Some put it in the main menu, some in the pilot center. It is really just your preference.
-
REALScheduleLite beta 1.0 [DEPRECATED]
simpilot replied to simpilot's topic in Simpilot Group Addons
Quote Security Error: Content at http://googleads.g.doubleclick.net/ may not load data from http://forum.phpvms....elite-beta-10/. Not sure what all this is - you have links to google and back to this forum.... -
I am not sure what you are using for variables, but if you are basing it off of what I posted a while back you could do -> $depname = OperationsData::RetrieveAirportInfo($flight->depicao); $arrname = OperationsData::RetrieveAirportInfo($flight->arricao); right before your table row within your foreach loop, then change your table cells to -> <td>'.$depname->name.'</td><td>'.$arrname->name.'</td> And it will display the name of the airport instead of the icao code.
-
At this point there is nothing built in to the ExamCenter to accomplish this. I think your best bet would be to set your ranks to manual, not automatic and just make sure they have both the hours and test you require before promoting them. I have the ranks set to manual in my VA and actually it helps to accomplish a few other things as well. All the staff positions are within the ranking system so they will show up in my rank and roster lists. I will look at including something automated within a new version if I ever do get a chance to write it.
-
There is nothing built into the system to allow you to do that. I set up a data field for one airline so they could assign and display a PID for each pilot, but the system still has to use the db assigned id for everything to operate correctly. You can display the assigned id from the new datafield where you want to see it that way on your site, it is really only a display function.
-
go up two posts
-
Guys, I think I have figured out what you are trying to do. I have created a module that creates a "status" image depending on the pilots current flight status. It is similar to the vatsim indicators function except it is tied to the phpvms system. What I have done, Get all pilots and check to see if there is acars data available if there is acars data available check and see if it is more than 10 minutes old if it is current create a "online" status indicator image with the pilot name, id , flight, and phase detail from acars if it is more than 10 min old create a "offline" status indicator image with the pilot name, id , flight, and phase detail (should be Arrived) from acars In the case there is no acars data look for the last pirep if there is a pirep use the newest one to create a "offline" status indicator image with the pilot name, id , last flight, and the date it was filed as "Last Seen" if there are no PIREPS filed for the pilot create a "offline" image showing the pilot name and pid and the text "No Flights Filed" This is all seperate from the signature badges. Is this what you are thinking. This is what I get.... http://www.westjetvirtual.net/index.php/Status/show_all
-
Check the permissions on your root/lib/signatures folder - If you are using an ftp client to change permissions also make sure you check the "recurse into subdirectories" box so all the files within the folder have the same permission set. It may also be something to do with the host, free hosts sometimes limit a lot of features on their services. I dont think the // is an issue.
-
Very cool idea, I have downloaded this and am working on it.
-
REALScheduleLite beta 1.0 [DEPRECATED]
simpilot replied to simpilot's topic in Simpilot Group Addons
Hi Trev, If I am following you, I think both pilots can file a PIREP for the same flight and the aircraft will end up where you want it to be. The module uses the last PIREP destination to place the aircraft, so no matter which pilot files first they will both be at the same destination so the aircraft should be there as well. -
lacks a cfg file like other apps..... I think that is one of the positives of the application, and you only have to type the url in once, or at least in the paid version you only have to do it once.
-
Very cool Jeff! need to figure out the dropdown....
-
FSAcars is no longer supported by new versions of phpVMS -> http://forum.phpvms.net/topic/2526-dropping-fsacars-support/ The files only remain for those that have the desire to use it, or can even get it to be stable long enough to use it. The code has not been updated in quite some time. If I remember correctly, the heading bug was found to be a client side issue in the past. A quick search of the forum finds http://forum.phpvms.net/topic/2154-fsacars-heading/page__p__14296__hl__%22heading%22__fromsearch__1#entry14296 http://forum.phpvms.net/topic/2528-aircraft-incorrect-heading/page__p__16571__hl__%22heading%22__fromsearch__1#entry16571 http://forum.phpvms.net/topic/1543-aircraft-direction/page__p__10821__hl__%22heading%22__fromsearch__1#entry10821
-
I have written a script to pull the info out of the database. Still trying to get a few things to display as I would like but getting closer.
-
Is it possible that your hosting service does not allow you to have files outside of the "httpdocs" directory? The file is in the tmp directory. Not sure what your hosting is but if it is shared the server config is probably causing your issue, and I am guessing that you have phpvms installed under your forum, I have not seen that before, might be an issue if your forum is using certain permissions on the folder tree.
-
You get this error on a csv schedule import? Looks like you are trying to upload it into your forum or something by the url....
-
Your best bet is to just retire the pilot and configure your site that retired pilots can't log in and do not appear on the roster. That is what I do. There are a couple of lines that need to be uncommented in login.php I think to stop retired pilots from logging in. Creating a new group is not really going to do anything as far as pilot side site access is concerned.
-
Clicking on your link looks like your core folder does not have write permissions. On some servers you also have to manually create the local.config.php file inside of the core folder. Create a blank file and name it local.config.php and upload it to your root/core folder. Then run the installer again. If you still get errors you will need to change the permissions on that folder.