Jump to content

vbegin72

Members
  • Content Count

    199
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by vbegin72

  1. vbegin72

    Simpilotgroup charter (auto-price)

    Has anyone used this script or has the prices affected your airline in a good or bad way ?
  2. UPDATE ON 1/30/2016 To start off thanks dave for the Simpilotgroup charter system ! Buy this module here 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 !
  3. vbegin72

    Can I have 2 seperate skins for a website?

    you can only have one skin per phpvms installation but if you want to have a frontpage and display information on the frontpage from phpvms such as pilots or stats you can do that tell me if that what youre looking for
  4. VAScroll is a Virtual Airlines Ads Management tool for Virtual Airlines looking to advertise their websites to gain traffic as well as users. Not only is it for administrators were here for the pilots as well, we make ourself useful as a blog as well showing members the greatest deals on new packages for FSX, Prepar3D, & X-Plane. Our site includes use of posting your Virtual Airline in our Ads Listings and having members vote to gain higher rankings. Our free features include Youtube Video Posting, Social Links, Desciption of airline, a catchy phrase, votes, hits, user analytics, shareable links, comments, blogs, & more join with your free account today ! Website : www.vascroll.com/
  5. vbegin72

    VASroll - Virtual Airlines Ads Free

    Virtual Airlines Manager features are currently being added
  6. vbegin72

    VASroll - Virtual Airlines Ads Free

    New features coming today !
  7. vbegin72

    VASroll - Virtual Airlines Ads Free

    Come Check us out and create your own free account for your website today ! https://vascroll.com
  8. Dear phpvms & users, I have just spoke with the TFDi team for multiple months on fixing a problem with my SmartCars for my Virtual Airline about pilots getting a "Pirep Filing Error" when Filing the pirep at the end of their flight i have sit for many hours trying to figure the problem out and have found a successful fix. Read below at what i have done to also maybe fix your "Pirep Filing Error" for your virtual airline. The below code is found within the codon.config.php the first box below will be default and the following box will be with the changes. session_start();[/b] [b]error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING); @ini_set('display_errors', 'on'); i have changed display errors from on to off, This will not affect any error logs from within phpvms from what i have found but it is the clear fix to your problem. You can find this code on line 43 in the codon.config.php that is within your phpvmsinstallationfolder/core session_start();[/b] [b]error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING); @ini_set('display_errors', 'off'); I really hope this helps yourself and others that may be frustrated. Best regards, Vince @ WeFlyFSX.com
  9. vbegin72

    VASroll - Virtual Airlines Ads Free

    Our site registration form now allows for voting only accounts and has the feature of buy highlighted slots under voters account so now your pilots could gift you a month of a premium account !
  10. vbegin72

    VASroll - Virtual Airlines Ads Free

    Below is our form when you submit a site to our list this can be found if you login to vascroll.com or register then click submit my site
  11. vbegin72

    VASroll - Virtual Airlines Ads Free

    we have moved our price down for premium accounts to $2.40 per month per server listed as a grand opening price and will remain there until september 1st then return to $5 please know you may still get all features with free account premium accounts are just listed before free accounts but will receive all fields either way.
  12. vbegin72

    VASroll - Virtual Airlines Ads Free

    We are trying to give you the most possible to you and your airline through our site to pull the users that may be potential to you having all these features placed on our site is not to make you use all of them. But to make your experience better and grow your airline remember to dm me or email me if you have any ideas. More of course coming soon
  13. vbegin72

    VASroll - Virtual Airlines Ads Free

    Features have been added for fsopen all that is needed is your fsopen host id to be placed in your server settings in our site.
  14. vbegin72

    VASroll - Virtual Airlines Ads Free

    Will be adding features of fsopen.co.uk soon
  15. vbegin72

    VASroll - Virtual Airlines Ads Free

    Added new feature to pull newest pilots and newest pireps to site as shown below, create your free account today and receive all these awesome features
  16. vbegin72

    Changing skin without accessing admin panel

    goto your website address and after domain type /action.php/login for example www.mywebsite.com/action.php/login then type /admin after logged in
  17. vbegin72

    VASroll - Virtual Airlines Ads Free

    Twitch Features have been added, as well as teamspeak status features all free for users looking to post advertisement for their virtual airline below is an image of an example page
  18. vbegin72

    VASroll - Virtual Airlines Ads Free

    Will be adding twitch features next
  19. vbegin72

    VASroll - Virtual Airlines Ads Free

    New added feature to add teamspeak and discord to site for easy connection linking
  20. vbegin72

    VASroll - Virtual Airlines Ads Free

    You can as well add multiple airlines to your one account
  21. vbegin72

    Acars Map

    Is there a way to show multiple airlines on a acars map kinda like what vacentral used to show ? with the flight details under it ?
  22. vbegin72

    Code Snippet

    Thanks, shakamonkey88 works great !
  23. vbegin72

    Code Snippet

    What is the php code for showing how many active flight there are in number format EX : 3 Active Flights
  24. vbegin72

    Same Email Registration

    Im getting multiple users re re-registering with the same email is there a way to stop this to where it will say user with that email already exist or something to stop this from happening ? I figured id ask before i have to re-create the wheel Thanks in advance
×