-
Posts
1307 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Jeff
-
1) Go to your Admin Center. 2) On the left side, click to expand the "Pilots & Groups" tab. 3) Click Pilot Ranks 4) Add images, descriptions and hours. 5) Repeat step 2 6) Click Awards 7) Add images and descriptions
-
If you want to disable it temporarily, just find this code: <?php // Show the News module, call the function ShowNewsFront // This is in the modules/Frontpage folder MainController::Run('News', 'ShowNewsFront', 5); ?> And change it to this: <?php // Show the News module, call the function ShowNewsFront // This is in the modules/Frontpage folder MainController::Run('News', 'ShowNewsFront', 0); ?> That should do the trick.
-
Nevermind...See, that's what happens when you don't search first. Sorry about that, I got it fixed.
-
Jeffrey, Is it normal for when you log into Acars, and the Web Browser on it automatically shows the website, it shows a pilot online 2-3 times? Could this be fixed, or can you just make me a customized one without the Web Browser?
-
I agree, How you fly is your business, but if you start bitchin' about what you get for free, then maybe you need to go elsewhere. I gave you your point back Jeff. BTW, thanx for the customized kAcars yesterday, it works great.
-
Sounds like everyone on this forum. :lol: Sorry, I don't have an answer for you though.
-
I believe that you won't find too much for what you are wanting. The only thing I could think of is going to www.weather.com and see if there is a code that you can use from their site and tweak it for what you want.
-
Mark, I wouldn't mind using that if you don't mind sharing. I am an active phpbb3 user and would like to show latest post on my site. Thanks bud
-
<strong>Equipment: </strong><?php echo $route->aircraft; ?> I believe this might be what you are looking for.
-
Totally missed your question about where the images are stored. The images are stored in /lib/images
-
That's going to be Nabeel's department. You might be Ok, but don't touch anything until you hear from him. you can always open a ticket if you are signed up to FiveDev.net and he can get to you quicker.
-
As I have never used DreamWeaver I can't give you the correct answer, but I do know that the index.php is left blank and when you click a link to any page on your website, a combination of .tpl files load simultaneously. One is the layout.tpl the other is the page you are viewing. Let's say, if you are viewing your Pilot Center, the layout.tpl and profile_main.tpl are loaded into the index.php file and that is what appears on your screen. Sorry if this doesn't help, but there may be more to it to actually be able to see the page you want to edit in DW.
-
Chris, go into the layout.tpl and check the link that controls that image. Here is mine: <?php /* This should be the first thing you place after a <body> tag This is also required by phpVMS */ echo $page_htmlreq; ?> <div class="size"> <div class="header"> <div class="header01"> <div class="logo"> <a href="http://www.mysite.net/index.php"><abbr title="Click for Main Page"><img src="http://www.mysite.net/images/logo/logo.png" alt="" /></abbr></a> </div> <div class="hright"> This is the part you want to check to make sure it is pulling the image you have uploaded to use for your logo. <a href="http://www.mysite.net/index.php"><abbr title="Click for Main Page"><img src="http://www.mysite.net/images/logo/logo.png" alt="" /></abbr></a> Of coarse, the logo's location may be different than mine. You might also want to go where your logo is located, and make sure you have typed the image name correctly. Some main overlooks may be the image type. Maybe you created it as a .gif .jpg .png or whatever.
-
Murray...Welcome and I hope you have fun creating your phpVMS website. The "crystal" skin is the one that is totally different than all the others you find because it is automatically tied into everything. Everything you need to edit (including your index.php file) can be found here: /public_html/core/templates The other skins you download and use will run off of their own index.php file and is used basically in the same way. Let's take ObsessBlue 2 for example, as this is the skin I use and have completely revamped to suit our needs. You have two (2) different files you edit for the Home Page, layout.tpl which takes care of all of your page's information (links, website logo, and the whole side menu content. You then have frontpage_main.tpl which contains all the content that goes into that page. The same goes for the profile_main.tpl, pilots_list.tpl. Once you have the layout.tpl set the way you want it to look like, you pretty much never have to edit it again because it is shown on every one of your pages (except in the Admin Center). If you continue to have problems, feel free to ask, as Mark said earlier today, we're all friendly and helpful in here.
-
Somewhere I went wrong with this. The ADD TO BID still exists and is clickable. Here's the page code. <?php $pilotid = Auth::PilotID(); $user = PilotData::getPilotData($pilotid); //HERE IS THE FIRST CODE YOU HAVE ?> <?php if(!$allroutes) { echo '<p align="center">No routes have been found!</p>'; return; } ?> <table align="center" border="1" width="100%"> <thead> <tr> <th bgcolor="#05305D" border="1"><span style="color: rgb(255, 255, 255);">Flight Schedule Information</span></th> <th bgcolor="#05305D" border="1"><span style="color: rgb(255, 255, 255);">Options</span></th> </tr> </thead> <tbody> <?php foreach($allroutes as $route) { /* Uncomment this code if you want only schedules which are from the last PIREP that pilot filed */ if(Auth::LoggedIn()) { $search = array( 'p.pilotid' => Auth::$userinfo->pilotid, 'p.accepted' => PIREP_ACCEPTED ); $reports = PIREPData::findPIREPS($search, 1); // return only one if(is_object($reports)) { # IF the arrival airport doesn't match the departure airport if($reports->arricao != $route->depicao) { continue; } } } /* Skip over a route if it's not for this day of week Left this here, so it can be omitted if your VA doesn't use this. Comment out these two lines if you don't want to. */ /* Check if a 7 is being used for Sunday, since PHP thinks 0 is Sunday */ $route->daysofweek = str_replace('7', '0', $route->daysofweek); if(strpos($route->daysofweek, date('w')) === false) continue; /* END DAY OF WEEK CHECK */ /* This will skip over a schedule if it's been bid on This only runs if the below setting is enabled If you don't want it to skip, then comment out this code below by adding // in front of each line until the END DISABLE SCHEDULE comment below If you do that, and want to show some text when it's been bid on, see the comment below */ if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0) { continue; } /* END DISABLE SCHEDULE ON BID */ if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn()) { if($route->aircraftlevel > Auth::$userinfo->ranklevel) { continue; } } /* THIS BEGINS ONE TABLE ROW */ ?> <tr> <td> <img src="<?php echo fileurl('/images/airline/'.$route->code.'.gif'); ?>" alt="<?php echo $airline->name;?>" /><br /> <a href="<?php echo url('/schedules/details/'.$route->id);?>"><?php echo $route->code . $route->flightnum?> <?php echo '('.$route->depicao.' - '.$route->arricao.')'?> </a> <br /> <strong>Departure: </strong><?php echo $route->deptime;?> <strong>Arrival: </strong><?php echo $route->arrtime;?><br /> <strong>Equipment: </strong><?php echo $route->aircraft; ?> (<?php echo $route->registration;?>) <strong>Distance: </strong><?php echo $route->distance . Config::Get('UNITS');?> <br /> <strong>Days Flown: </strong><?php echo Util::GetDaysCompact($route->daysofweek); ?><br /> <?php echo ($route->route=='') ? '' : '<strong>Route: <FONT COLOR="#ff0000"></strong>'.$route->route.'<br /></FONT>' ?> <?php echo ($route->notes=='') ? '' : '<strong>Airline: </strong>'.html_entity_decode($route->notes).'<br />' ?> <?php echo '<strong>Flight Type: </strong>'; if($route->flighttype=='P')echo 'Passenger<br />'; elseif($route-flighttype=='C') echo 'Cargo<br />'; else echo 'Charter<br />'; ?> <strong>Price: </strong>$<?php echo $route->price;?><br /> <?php # Note: this will only show if the above code to # skip the schedule is commented out if($route->bidid != 0) { echo 'This route has been bid on'; } ?> </td> <td nowrap align="center"> <a href="<?php echo url('/schedules/details/'.$route->id);?>">View Details</a><br /> <a href="<?php echo url('/schedules/brief/'.$route->id);?>">Pilot Brief</a><br /> <?php if ($info->ranklevel > $user->ranklevel) {?> <b><font color="#FF0000">Above your rank!</font></b> //HERE IS THE OTHER CODE <?php } else {?> <b><a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo SITE_URL?>/action.php/Schedules/addbid/">Add to Bid</a></b> <?php }?> <br > <a href="<?php echo SITE_URL?>/index.php/FrontSchedules">Create a New Search</a><br /> </td> </tr> <?php /* END OF ONE TABLE ROW */ } ?> </tbody> </table> <hr> I changed $result->id to $route->id; because you couldn't click the link to add the bid, it would just do nothing. No the text (ADD TO BID) is still there, it is just bold. All of my aircraft have rank restrictions for them, so not sure where I went wrong.
-
I just need to come up with the $50. I will definitely be getting it next month. Thanx again Mark.
-
is there a way to do this so that it adds/removes flight hours as well? What needs to change?
-
Thanks Mark, Dave's Tour module was just what I was looking for. I have just one question concerning the "Status" part of it. Does it have to expire, or can I always have it running? I am not wanting to have them expire after a month. Can this be edited or does it really have to have a start /End Date associated with it?
-
Okay big brainers, I was looking through the Schedules Results and can't find out how to add a Mission page that has a list of flights that pilots can bid on. I am not very good at figuring how the flight results are pulled out of the system. If it cannot be done, then they will just have to manually search for the flights, which in my opinion is just a hassle.
-
I'm going to repeat myself from the last time this came up (and damn I wish people would search before posting), with the amount of members coming and going in your VA, you will spend more time changing Pilot ID's than actually flying. You won't be able to keep up with it. You are better off just leaving it be, and just ignore it.
-
Holy crap... How many miles to the gallon do you get out of it?
-
That's not what it was meant to record. Just because your flight might be scheduled for 4 hours, and you happen to use Simrate x whatever (not sure why the h*** you want to do that for anyways) and you complete it in an hour, you are going to be given the time you were actually flying for. Not what the schedule is. If they are complaining about not receiving their hours, then too bad. Tell them to do what normal people do and fly the flight at 1x "Normal Speed"
-
No problem, and I forgot to answer your first question. <?php echo $page_content; ?> This code is what pulls all the information for the page (what is supposed to be shown on the page (layout excluded)) Edited for typo.
-
Sorry dude, but I have to go with Mark on this one. There is nothing wrong with kAcars on any operating software version. As with the errors, just make sure that you (and your members) are running it as Administrator, and it should work just fine. If not, then maybe you should post the "error" in the kAcars thread, and I'm sure Mr. Kobus can get you sorted out since he's the one that built it. And I'm not sure that Mark was trying to start an argument with you, but I think he can take care of himself on this one.