Jump to content

Strider

Members
  • Posts

    1821
  • Joined

  • Last visited

  • Days Won

    53

Everything posted by Strider

  1. You will have to in the admin, put in unique aircraft entries for each reg, ands then create a page, and call it fleet, and put down 737 and the reg's associated with the 737, and you can do that for all aircraft in your fleet.
  2. If you use the search in the forum you will find that this question has been answered and the code posted up.
  3. [b]Warning[/b]: curl_exec() has been disabled for security reasons in [b]/home/globalai/public_html/malaysiava.org/core/classes/CodonWebService.class.php[/b] on line [b]195[/b] I am getting that error now, something change? I have not changed anything in that file.
  4. I got it working perfectly in 2.1.934.
  5. Jeff, I don't think he means adding a referred by section in the registration form, but something that someone could put their friends email into and it would send them an email with a link to the site, with some text saying "John Doe your friend Jane Doe has suggested you join VA name here, go to http://vanamehere.net to have a look around and join, regards Jane Doe"
  6. The reason for the no flights showing, is most likely you made a mistake with the scheduling, and have no flights set to fly on a particular day, or have not enabled them.
  7. I am getting these errors: [b]Warning[/b]: copy() [[url="http://malaysiava.org/function.copy"]function.copy[/url]]: URL file-access is disabled in the server configuration in [b]/home/globalai/public_html/malaysiava.org/VatsimPHPgenerator.php[/b] on line [b]63[/b] [b]Warning[/b]: copy(http://info.vroute.net/vatsim-data.txt) [[url="http://malaysiava.org/function.copy"]function.copy[/url]]: failed to open stream: no suitable wrapper could be found in [b]/home/globalai/public_html/malaysiava.org/VatsimPHPgenerator.php[/b] on line [b]63[/b] [b]Warning[/b]: copy() [[url="http://malaysiava.org/function.copy"]function.copy[/url]]: URL file-access is disabled in the server configuration in [b]/home/globalai/public_html/malaysiava.org/VatsimPHPgenerator.php[/b] on line [b]65[/b] [b]Warning[/b]: copy(http://www.klain.net/sidata/vatsim-data.txt) [[url="http://malaysiava.org/function.copy"]function.copy[/url]]: failed to open stream: no suitable wrapper could be found in [b]/home/globalai/public_html/malaysiava.org/VatsimPHPgenerator.php[/b] on line [b]65[/b] How do I fix them?
  8. Just installed it, and works like a charm
  9. You dont need any special code, just skin it, and let it detect when you're on a mobile device.
  10. A real turn off for people going to any site, is a site that has two different looks, complete or not. The first thing you dont say is you will be moving ( Yes I know your not anymore) It insults people, and people won't bother to help as they wont see the point if you're just going to move to another product. I have always got help when I have asked for it here. All the mods here are great, also they don't work for PHPVMS, as PHPVMS is not a commercial company. You want respect you first have to respect others. People will treat you the exact same way as you treat them. Your pilots section does need to be fixed, as it is incomplete, lots of stuff not working.
  11. An easier way of explaining it, is when you place a bid, you are telling the system and the staff that you want to fly this route. the boarding pass, is just their for looks, it doesn't really do anything.
  12. I got the email, but the files you sent me are the ones I got from simpilot. Would like to get the, all.php, vatpilots.php and vatsimnow.php
  13. Run checkinstall.php and post the results, looks like a corrupt file maybe having some fun of its own.
  14. How do I implement this? I used the code posted above, but keep getting erros, and no idea how to fix them. There was no example text file included in the download.
  15. I am sure you can, the code would be simple. You just need code that shows the login form and place that code in the if statement.
  16. The aircraft listed on the schedules is just a guideline of the type of aircraft they can use. It is up to the pilot to fly the route, and he can use whatever aircraft he wants. As long as it is ok with your VA that he can fly any aircraft he wants.
  17. Strider

    Callsigns

    Add a profile feild, and name it callsigns, and alow them to put their nicknames in.
  18. Yes that does have pagination incorporated in it.
  19. I noticed in your CSS in parts after the /*for IE7 */ you had *display:inline; try them without the astrix.
  20. Strider

    HubStats Class

    In his code it is correct, I think maybe something got corrupted during his upload or download, or that is php doing something funny.
  21. Strider

    HubStats Class

    Delete the hubstats class file, and download it from here again, the file may have gotten corrupted while being downloaded. Looks like it is trying to find the HubStats::CountFlights('EDDF'); and not finding it.
  22. Strider

    HubStats Class

    Make sure the module is there and in the correct place. You can also use the code I gave. It is great for if you have multiple hubs.
  23. It isn't a question of who you allow in your VA. Anyone can submit a fake pirep.
  24. Run the checkinstall.php and the checkdb.php and post the results.
  25. Strider

    HubStats Class

    <?php echo "<strong>Hub stats for". " " . $userinfo->hub . "</strong>"; echo "<br />"; echo "Number of pilots:". " " .HubStats::CountPilots($userinfo->hub); echo "<br />"; echo "Number of Flights flown:". " " .HubStats::CountFlights($userinfo->hub); echo "<br />"; echo "Total miles flown:". " " .HubStats::TotalMiles($userinfo->hub)."nm"; echo "<br />"; echo "Total hours flown:". " " .HubStats::TotalHours($userinfo->hub); ?> That is code I use to get the hubstats for the hub a pilot is in. It gets the information from the db. This is only for the profile_main.tpl. It saves on having to use a load of if/else statements.
×
×
  • Create New...