Jump to content

smokey68

Members
  • Posts

    233
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by smokey68

  1. I have a question about the simpilotgroup charter center how do i make the latest created listings show in the first page instead of the last page ?
  2. How can i show a page that will show the locations of the aircraft in my fleet like the link below http://vaspexbrasil.com.br/3.0/index.php/vfleettracker
  3. ive done that and changed the size the avatar could be uploaded and nothing
  4. My avatar is not updating at all or for any of the pilots and cant figure it out i have looked at forums everywhere on phpvms none of the solutions work any help i really want to add an avatar .
  5. Im having same error WeFly Virtual Airlines
  6. ok use my second option go to layout file and put the link to the schedules page where i have "My custom link" that line there is where the link of the schedules page needs to be
  7. what are you trying to edit so i can assist you better
  8. If you are meaning you do not want the information on a page not to be shown unless a pilot is logged in you will use the code below and i have told you where you will put your content you want logged in users to see and for users logged out to see <?php require('the directory of your codon.config.php file'); // Call the phpVMS config file if(Auth::LoggedIn()) { //the data you want to show if he is logged in goes here } else { //the data you want to show if he is not logged in goes here ?> If you are wanting to show a link only to pilots logged in but not to a user visiting page or because they are logged out use this <?php if(Auth::LoggedIn() == true){ ?> //<a href="#">My Custom Link</a> <?php } ?> Sincerely, Vince
  9. smokey68

    Rank

    What code or variable do i use to make to make it show the pilot rank image on each pilot line information bar thing below the acars map where it show name of pilot distance and all i want to show also the pilot rank is is possible ?
  10. Sorry about that i really didn't notice it changing fonts thanks though but (my browser had conic sans set as default)
  11. LOOK AT TOP POSTING THERE IS A NEW UPDATE SORRY FOR INCON.
  12. Thanks been looking all over for this
  13. I have changed one small thing take a look <input type="hidden" name="price" value="<?php echo round ($distance, 0) * 1.45 * 0.20 + round ($distance, 0) * 1.45;?>" /> i am now calculating the distance and multiply that times 1.45 (ticket price per mile) then multiply that by 0.20% then add my price per mile back to that number i get after pecent helps in revenue when pirep is submitted.
  14. does anyone know what the pilotpay variable is i have found this $pirep->pilotpay inside the admin panel but doesnt work when i try to show public Help please.
  15. UPDATE ON 1/30/2016 To start off thanks dave for the Simpilotgroup charter system ! I have modified this script so it would fit my needs and now i thought that i would share it with everyone so whoever had this script would be able to use my idea. My idea was to modify the script so that it would automatically calculate a price for each flight and so it does now. It calculates the price by how many miles the flight is in total and then multiplies 0.75 or however much you want it to be per mile. ps.. No i didnt take this idea from the Realschedule. You will have to have a valid version of this module whether it might be php or the tpl version i have edited a few file to make the changes and i have posted them below in a code box feel free to use this just as i did. Files that you will be editing are listed below and i have also told you where to locate them. CharterCenter.php - Can be found in - yourphpvmsfolder/core/modules/CharterCenter You will only be placing the last line of code in the box below the other three are reference points you will find this code around 157 paste in the last line of code in the box below exactly where i have it placed based on the reference points ! or it will not work correctly ! $depicao = DB::escape($this->post->depicao); $arricao = DB::escape($this->post->arricao); $distance = DB::escape($this->post->distance); $price = DB::escape($this->post->price); <--this is the snippet you are placing Same as above you are only placing the third line in the box below the other two are reference points you will find this code around 175 paste in the last line of code in the box below exactly where i have it placed based on the reference points ! or it will not work correctly ! $charter[flighttime] = ''; $charter[daysofweek] = '0123456'; $charter[price] = $price; <--this is the snippet you are placing[/b][/font] Then we will be editing the template so when you create a new charter the distance will be able to calculate with price per mile. Chartercenter_verify.tpl or php - after line 75 make a new line and will will paste the code below on line now 76. you will see where i have 1.45 you may change that to whatever to be your price per mile <input type="hidden" name="price" value="<?php echo round ($distance, 0) * 1.45 * 0.20 + round ($distance, 0) * 1.45;?>" /> understand how its written - it will find the distance of your flight and multiply the price per mile and then multiply that by .20 % and then round the distance once again and then it multiplies that number by 1.45 trust me its not repeating itself on the first go around it was just getting .20% to add to the end to be able to make the price more accurate and then multiplied the distance and ppm again and added it to the end. --------- I will soon figure out how to make it calculate passengers then multiply how much per person per mile and use that and adding .20 - .30 % percent to the end to cover fuel costs if it goes over. I have had fun making this and had fun seeing daves work i hope this helps and if you are confused just reply ! Sincerely, Vince ----------- Thanks again Dave !
  16. ok i have fresh installed the smf forums in the same database as phpvms now how do i get my allready registered users on my phpvms site into the smf site
  17. Sorry for such a large image but mypagination on my flight listing page will format it self like so. When you are on page 9 for instance 9 will be behind the 20 and be active while the others are inline with a box around them any ideas.
  18. Ok I have seen for the last month or so that my va central rank isn't showing on my site can someone please confirm that it does or doesn't work and then I'll figure out the problem if it is me Thanks in advance
  19. hello caalair, The artic template concern you have the diveder or color below the pictures is an actual divider called "alert-info" which can be found in the "bootstrap.css" file on line 5668 see below! .alert-info { color: #ffffff; <!------- color of font inside the divider--> background-color: #5bc0de; <!------- change this to whatever you want background of divider to be (main color)---> border-color: #3db5d8; <!-------border color of divider (border of main color)---> ) }
  20. http://www.simpilotgroup.com/module Flightboard quarter way down this page
  21. i have it workin on php and on tpl tpl version below http://phpvmsblue.weflyfsx-va.com/ php version below http://php.weflyfsx-va.com/ i didnt do anything but put the folder called "blue" into skins folder and activate inside admin center.
×
×
  • Create New...