-
Posts
1307 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Jeff
-
in your profile_main.tpl add this code where you want it to be. <img src="http://www.mysite.com/images/mybanner.jpg">
-
you can copy the contents and paste them into word (if you have it).
-
not sure what you are asking. Can you give me a little more info?
-
Looking at the Information page of a FedEx flight that was done, I noticed that this is not showing correctly: This should say 222846 lbs of cargo on board shouldn't it? I have the flight scheduled as "C" not "P" and I am using Custom kAcars. Thanks - Jeff
-
Are you wanting the dropdown to show KLAX instead of KLAX (Los Angeles International Airport)?
-
The map will change back once the visible routes are shortened. The map itself automatically changes to a globe in order for it to show the longer routes (ie. from Middle East to Toronto) while still showing shorter routes.
-
Manuel & Ahad, Find the code for the maps you want to change, and look in the GCMap code for this: change to this: That will change the Blue Marble map to the Plain map.
-
Are you linking to the file using the full URL to the document?
-
This was answered in your previous post by Sava Markovic.
-
If you guys give me the info for what map you want to show, and what page you want it to be placed in. I can give you the code.
-
Document not found!
-
Only logged in users can view our dispatch documents.
-
If you just want it to be hidden from view altogether, do this: Remove this code from pirep_viewreport.tpl <td width="50%" valign="top" align="right"> <table class="balancesheet" cellpadding="0" cellspacing="0" width="100%"> <tr class="balancesheet_header"> <td align="" colspan="2">Flight Details</td> </tr> <tr> <td align="right">Gross Revenue: <br /> (<?php echo $pirep->load;?> load / <?php echo FinanceData::FormatMoney($pirep->price);?> per unit <br /> <td align="right" valign="top"><?php echo FinanceData::FormatMoney($pirep->load * $pirep->price);?></td> </tr> <tr> <td align="right">Fuel Cost: <br /> (<?php echo $pirep->fuelused;?> fuel used @ <?php echo $pirep->fuelunitcost?> / unit)<br /> <td align="right" valign="top"><?php echo FinanceData::FormatMoney($pirep->fuelused * $pirep->fuelunitcost);?></td> </tr> </table> </td> </tr> </table> And remove this link from the profile_main.tpl <li><a href="<?php echo url('/finances');?>">View VA Finances</a></li> Then no one will know you have any finances.
-
Remove this: <dt>Select Airline: *</dt> <dd> <select name="code" id="code"> <?php foreach($allairlines as $airline) { echo '<option value="'.$airline->code.'">'.$airline->code.' - '.$airline->name.'</option>'; } ?> </select> </dd> Put this in its place: <input type="hidden" name="code" value="CFC" /> By doing this will remove the option on the page and automatically set all new registered members as CFC****
-
Your pages should be in .tpl format not .html Tom has a thread that might help you with what I think you are looking for. http://forum.phpvms.net/topic/3749-first-time-skinning-ive-missed-something/page__p__25449__hl__%2Bediting+%2Bskins__fromsearch__1#entry25449
-
I'm in need of a wider template. Vairline really didn't work for me because the sidebar was on every page. Is there a way that you can possibly make one where the sidebar only show on the frontpage_main?
-
What is it doing when you changed those? What are you actually wanting the page to pull for you?
-
You can also check in your core/modules/schedules.php file to see if the following code is correct. CodonEvent::Dispatch('bid_preadd', 'Schedules', $routeid); /* Block any other bids if they've already made a bid */ if(Config::Get('DISABLE_BIDS_ON_BID') == true) { $bids = SchedulesData::getBids(Auth::$userinfo->pilotid); # They've got somethin goin on if(count($bids) > 0) { echo 'Bid exists!'; return; } } $ret = SchedulesData::AddBid(Auth::$userinfo->pilotid, $routeid); CodonEvent::Dispatch('bid_added', 'Schedules', $routeid); if($ret == true) { echo 'Bid added'; } else { echo 'Already in bids!'; } } What I did (because I fully customized my schedules and schedule_results templates) is added a couple of images that pilots click on instead of the original "Add To Bid" text. To do that, change this (in modules.schedules.php) $ret = SchedulesData::AddBid(Auth::$userinfo->pilotid, $routeid); CodonEvent::Dispatch('bid_added', 'Schedules', $routeid); if($ret == true) { echo 'Bid added'; <<<<<<CHANGE THIS } else { echo 'Already in bids!'; <<<<<<<<CHANGE THIS } } To this: $ret = SchedulesData::AddBid(Auth::$userinfo->pilotid, $routeid); CodonEvent::Dispatch('bid_added', 'Schedules', $routeid); if($ret == true) { echo '<img src="http://www.yoursite.com/images/added.png" alt="Bid Added"/>'; } else { echo '<img src="http://www.yoursite.com/images/added.png" alt="Bid Added"/>'; } } ...and in your schedule_results.tpl, change: <?php # Don't allow overlapping bids and a bid exists if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0) { ?> <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo actionurl('/schedules/addbid');?>">Add to Bid</a> <<<<<<<<CHANGE THIS <?php } else { if(Auth::LoggedIn()) { ?> <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>">Add to Bid</a> <<<<<<<CHANGE THIS To this: <?php # Don't allow overlapping bids and a bid exists if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0) { ?> <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo actionurl('/schedules/addbid');?>"><img src="http://www.yoursite.com/images/bidflight.png" alt="Bid Flight" /></a> <<<<<<<<TO THIS <?php } else { if(Auth::LoggedIn()) { ?> <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>"><img src="http://www.yoursite.com/images/bidflight.png" alt="Bid Flight" /></a> <<<<<<<TO THIS hope you can get it sorted out.
-
Try this: <table id="tabledlist" class="tablesorter" width="80%">
-
looks like your side panel is showing up under the map. That's using IE9. Chorome looks fine. Might wanna check on that.
-
Looks like a </div> is missing from the front page.
-
Don't add a price to your flights.