Jump to content
LanceDesigns

FREE phpVMS TEMPLATE [LANCE]

Recommended Posts

Enjoy the template? Like us on Facebook https://www.facebook...LanceDesign.org

Lance Designs has officially released their best phpVMS skin titled "lance"! Lance features a 100% custom coded interface built utilizing the bootflat UI kit. It features a full drop-down menu which compatible with phpVMS. Feel free to check out the demo and download and install it! If you have any questions, feel free to comment!

VIEW PHOTOS HERE: http://s1341.photobucket.com/user/Chris_Gartrell/library/

Features:

  • Fully customized pages
  • modern nav-bar featuring drop-down menus
  • Completed Pilots Center
  • Full frontpage Slideshow
  • Easy Installation
  • Easily customizable
  • Different Color options to be released soon

LIVE PREVIEW: http://lancedesign.org/demo/index.php

Login: demo@demo.com

Password: demo11

Download: http://lancedesign.o...nload/lance.zip

How to Install

1. UNZIP LANCE.ZIP

2. UPLOAD "lance†TO PUBLIC_HTML/LIB/SKINS/

3. GO TO PHPVMS ADMIN CENTER

4. AT THE BOTTOM, CLICK “GENERAL SETTINGSâ€

5. WHERE IT SAYS “CURRENT SKINâ€, SELECT “lanceâ€

6. CHECK YOUR HOMEPAGE, THE SITE SHOULD BE ACTIVE

Thank you all for downloading! Because it is a one man team on this project, there might be errors. Please comment below if you encounter any problems

Share this post


Link to post
Share on other sites

Hi this is really great I really like it however 1 problem I am having is with uploading images. The images are not uploading i am also getting these issues "Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/a4585336/public_html//lib/skins/lance/ <div class="bg"> <div class="cont"> <div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-generic" data-slide-to="1"></li> <li data-target="#carousel-example-generic" data-slide-to="2"></li> </ol> <div class="carousel-inner"> <!--- REPLACE THOSE IMAGES BELOW TO CHANGE THE SLIDER IMAGES---> <div class=" in /home/a4585336/public_html/core/classes/TemplateSet.class.php on line 96"

Share this post


Link to post
Share on other sites

looks good! www.virtualvarig.com

few questions and errors a see ,

once try to register a pilot , the is no HUB to select or COUNTRY

after installed the table phpvms_airports from this forum got this error from schedule:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 82 bytes) in /home/ercio/public_html/core/classes/ezdb/ezdb_mysql.class.php on line 273

and no airport showing in the admsite

how do I change the photo on pilot center

thank you again

Share this post


Link to post
Share on other sites

Something is wrong with your schedule_results.tpl

I could see the schedules in the admin but continued to say no schedules found on pilot center search. I then replaced your tpl file with the one from the core templates and it worked just fine.... I can't say what's wrong, I can just say something is wrong.

Share this post


Link to post
Share on other sites

From the schedules_results.tpl in your skin I took the code below and added it to the one from the main core/templates folder and it works. Just change the code in the one in skin or follow the instructions.

<style>
   .bg{
    background-color: #ffffff;
    margin-left: 200px;
    margin-right: 200px; 
    border-bottom-color: aqua;
   }
   a{
   color:#212121;
   }
</style>
<div class="bg">

New schedules_results.tpl code:

<style>
   .bg{
    background-color: #ffffff;
    margin-left: 200px;
    margin-right: 200px; 
    border-bottom-color: aqua;
   }
   a{
   color:#212121;
   }
</style>
<div class="bg">
<?php
if(!$allroutes)
{
echo '<p align="center">No routes have been found!</p>';
return;
}
?>
<table id="tabledlist" class="tablesorter">
<thead>
<tr>
<th>Flight Info</th>
<th>Options</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 */


/* Skip any schedules which have aircraft that the pilot
 is not rated to fly (according to RANK), only skip them if
 they are logged in. */
if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn())
{
 /* This means the aircraft rank level is higher than
  what the pilot's ranklevel, so just do "continue"
  and move onto the next route in the list
  */
 if($route->aircraftlevel > Auth::$userinfo->ranklevel)
 {
  continue;
 }
}

/* THIS BEGINS ONE TABLE ROW */
?>
<tr>
<td>
 <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: </strong>'.$route->route.'<br />' ?>
 <?php echo ($route->notes=='') ? '' : '<strong>Notes: </strong>'.html_entity_decode($route->notes).'<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>
 <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
 # 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>
 <?php
 }
 else
 {
  if(Auth::LoggedIn())
  {
   ?>
   <a id="<?php echo $route->id; ?>" class="addbid"
 href="<?php echo url('/schedules/addbid');?>">Add to Bid</a>
  <?php   
  }
 } 
 ?>
</td>
</tr>
<?php
/* END OF ONE TABLE ROW */
}
?>
</tbody>
</table>
<hr>

Share this post


Link to post
Share on other sites

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/u552786156/public_html/dashboard//lib/skins/lance/ <div class="bg"> <div class="cont"> <div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-generic" data-slide-to="1"></li> <li data-target="#carousel-example-generic" data-slide-to="2"></li> </ol> <div class="carousel-inner"> <!--- REPLACE THOSE IMAGES BELOW TO CHANGE THE SLIDER IMAGES---> <div in /home/u552786156/public_html/dashboard/core/classes/TemplateSet.class.php on line 96

any idea how to remove this?????

Share this post


Link to post
Share on other sites

I agree on the text :)

my question is about the logo, I changed it as per the detructions :) in both the ,tpl and the .php and got a click on me image that had nothing to do with the image I was going to use I used the default image as a template and I use photobucket as a host and so far all the other images are working just fine

I also have questions about the pilots page link, and the schedules page link I'm going to try the above solution

Thanks Rick

http://flyvfrwpr.com/phpvms/index.php

Share this post


Link to post
Share on other sites

I agree on the text :)

my question is about the logo, I changed it as per the detructions :) in both the ,tpl and the .php and got a click on me image that had nothing to do with the image I was going to use I used the default image as a template and I use photobucket as a host and so far all the other images are working just fine

I also have questions about the pilots page link, and the schedules page link I'm going to try the above solution

Thanks Rick

http://flyvfrwpr.com/phpvms/index.php

it is better to upload your images to your skin folder and create there another folder with them....

Share this post


Link to post
Share on other sites

Good afternoon everyone, I have a question:

How do I bring up the hiperlinc for ejemplo the pilot number, without having to move the mouse on top.

Share this post


Link to post
Share on other sites

Having a Issue the links are kind of fade out it only appears when you Have the mouse on top to be honest this skin needs serious work all the modules links are blank

Share this post


Link to post
Share on other sites

Nice double post. If you only post in one place it is much easier for someone to help you and keep track of where they posted at. :)

Share this post


Link to post
Share on other sites

I'm looking in to this skin. I give them kudos for releasing it for free to share with the community, but if it was payware, I would demand a refund. POOR work. I am doing what I can to help you out on this one.

This skin has embedded styles, inline styles and all sorts of stuff. YUCK! I am no pro and will admit that right up front but this is just wrong. Grateful for the share, but wrong code.

Give me an hour or two to sort out the css and I'll let you know what to do to fix it.

Share this post


Link to post
Share on other sites

Here is the verdict, There is to much wrong with this template for me to tie that much time up in it. I have came up with a quick, dirty fix for you.

To fix the white links on white background, do the following,

OPEN lance/layout.php

FIND

<style>
   html{
    background-color: #d8d8d8;
    background-image: url(http://www.designbolts.com/wp-content/uploads/2012/12/simple-pattern-white-seamless-website-background.jpg);
   }
   body{ 
   } 
   a{
   color: #000;
   }
   .cont{
   }
   .top{
    background-color: #adabab;
    text-align: right;
   }
   .banner{
    background-color: #cecece;
    height: 220px;
    align-content: center;
   }
   #top .right{
    height:
   }
   a{
    color: white;
   }
   .head{
    background-color: #ffffff;
    vertical-align: middle;
    min-height: 100px;
   }
   .logo{

   }
   #logo img{
   margin-top: 20px;
   width:100%;
   max-width:300px;
   max-height: 90px;
   margin-left: 10px;
   }
   div{
   margin: 0px;
   padding: 0px;
   }
   .info{
   width: 100%;   
   padding: 6px 20px 6px 25px;
margin: 5px 10px 10px 1px;
color: #FFF;
background-color: #1F4788;
/* text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.17); */
-webkit-box-shadow: 0px 2px 4px #888;
-moz-box-shadow: 0px 2px 4px #888;
box-shadow: 0px 2px 4px #888;
   }
   h9{
font-size: 1.5em;
   }	 
   .bg{
    background-color: #ffffff;
    margin-left: 200px;
    margin-right: 200px; 
    border-bottom-color: aqua;
   }
   </style>

REPLACE WITH

<style>
   html{
    background-color: #d8d8d8;
    background-image: url(http://www.designbolts.com/wp-content/uploads/2012/12/simple-pattern-white-seamless-website-background.jpg);
   }
   body{ 
   } 
   .cont{
   }
   .top{
    background-color: #adabab;
    text-align: right;
   }
   .banner{
    background-color: #cecece;
    height: 220px;
    align-content: center;
   }
   #top .right{
    height:
   }
   /* unvisited link */
a:link {
   color: #232323;
}
/* visited link */
a:visited {
   color: #232323;
}
/* mouse over link */
a:hover {
   color: #3bafda;
}
/* selected link */
a:active {
   color: #232323;
}
   .head{
    background-color: #ffffff;
    vertical-align: middle;
    min-height: 100px;
   }
   .logo{

   }
   #logo img{
   margin-top: 20px;
   width:100%;
   max-width:300px;
   max-height: 90px;
   margin-left: 10px;
   }
   div{
   margin: 0px;
   padding: 0px;
   }
   .info{
   width: 100%;   
   padding: 6px 20px 6px 25px;
margin: 5px 10px 10px 1px;
color: #FFF;
background-color: #1F4788;
/* text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.17); */
-webkit-box-shadow: 0px 2px 4px #888;
-moz-box-shadow: 0px 2px 4px #888;
box-shadow: 0px 2px 4px #888;
   }
   h9{
font-size: 1.5em;
   }	 
   .bg{
    background-color: #ffffff;
    margin-left: 200px;
    margin-right: 200px; 
    border-bottom-color: aqua;
   }
   </style>

I am sorry that is the fix I gave. It is wrong and I know it, but it will work. This template just has way to much wrong with it for me to tie up any time in for free and since it is freeware, I will not try to make any money off of it so me and this template is pretty much done.

Let me know if you have any issues, but that little fix should do just fine for you and get you on your way.

Cheers!

Ray

Share this post


Link to post
Share on other sites

Not a problem at all. Sorry i could not go any deeper in to it and make the rest of it work properly. that template needs a LOT of work.

I am glad it is working for you. :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...