Jump to content

t_bergman

Members
  • Posts

    246
  • Joined

  • Last visited

Everything posted by t_bergman

  1. See this thread (http://forum.phpvms.net/topic/21049-phpvms-database-call-sheet/)
  2. Download the package as a zip file, and then install it as any other php web application.
  3. SimPilot has his own branch of phpVMS, it can be found here https://github.com/DavidJClark/phpvms_5.5.x
  4. Must be logged in error, do you have php errors on to see if its something in the code?
  5. No, closest is SimPilots realschedule which has been abandoned. Otherwise I believe Parkho has something like it too.
  6. I'm guessing the settings would be in your local.config.php file. You'll have to play around with it, maybe someone knows for sure.
  7. Does clearing the acars cache clear them?
  8. NOOOOOOOOOOOOOOOO. Save a new copy in your skins folder, and maybe add something like "Manual PIREPS Disabled". Don't change default files, this is how things get screwed up.
  9. Recent bids can be shown by <?php MainController::Run('FrontBids', 'RecentFrontPage', 5); ?> For live flights there's a few addons that are floating around to display a flight board otherwise you could use part of the acars map code to only display a table of flights currently operating.
  10. Something isn't right, phpVMS should be logging an error. I'm not a linux wiz but are all of your files read/writeable? If you upgrade to SimPilots v5.5.1 you can manually upload airports with a CSV file.
  11. In the core/logs/ folder what errors appear. First clear out all the files then try to add an airport and report back with what errors appear.
  12. You must define the variable, use this: <?php echo Auth::$userinfo->firstname ?>
  13. SimPilot will know better but did your hosting environment change? Host update php or something?
  14. What version of phpVMS are you using? Lets tackle the airport issue first then the registration. In your core folder you will see a file called local.config.php, on line 14 you will see DEBUG MODE, change it to true. Then in your core/log/ folder you will see any issues which may be stopping things from working.
  15. Glad everything is working for you.
  16. Have you tried the manual CSV import?
  17. You can get it back working with a new google API key, you can get one here (https://www.google.com/recaptcha/intro/index.html). Then place your keys into the local and app.config.php along with the registration form.
  18. Correct, you can always start new by backing up your skin folder and local.config.php file. Any editied file should be placed in your skin folder if possible.
  19. Correct. Below is a working example from my frontpage_main.php file, same process as what you are trying to do as my homepage is different for logged in vs. logged out users. <?php // SMF Require // require("../forum/SSI.php"); if(!Auth::LoggedIn()) { // Frontpage for users who have not logged into the website. ?> <div id="mainbox"> <div id="frontPageEditContent"> <?php MainController::Run('Pages', '__call', 'home', ''); ?> <hr /> <p style="text-align:center; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#094FAF; font-size:large; font-weight:100; line-height:0px;">Press Releases</p> <?php // ssi_boardNews($isOverride=true); ?> </div> </div> <br> <br> <?php } //End non logged in content. else //Logged in content below. { ?> <div id="frontPageEditContentP"> <?php //<img alt="Hemisphere Virtual Airlines" src="http://wwwapps.hphvirtual.com/hph-portal/lib/skins/HPHportalv1/images/front_page/hph_fp_js2.jpg" width="800ox"/> //<br> //<br> ?> <div id="frontPageEditContentPLside" style="width: 50%; min-height:315px; float:left;"> <table border="0" style="border: 0px solid; text-align: left; width: 100%";> <tr> <th style="text-align:center;"><font size="4">Featured <?php echo date("F");?> Destination</font></th> </tr> <tr> <td><img alt="Hemisphere Virtual Airlines" src="http://wwwapps.hphvirtual.com/hph-portal/lib/skins/HPHportalv1/required_files/month_destination_image.jpg" /></td> </tr> <tr> <td><?php include('required_files/month_destination_text.html'); ?></td> </tr> </table> <hr> </div> <div id="frontPageEditContentPRside" style="width: 50%; float:Right;"> <table border="0" style="border: 0px solid; text-align: left; width: 100%";> <tr> <th style="text-align:center;"><font size="4">Recent Flight Bids</font></th> </tr> </table> <table border="1" style="border: 2px solid; text-align: center; width: 100%";> <tr> <th style="width:90px">Flight #</th> <th style="width:150px">Dep./Arr.</th> <th style="width:150px">Pilot</th> </tr> <tr> <td colspan="3"><?php MainController::Run('FrontBids', 'RecentFrontPage', 5); ?></td> </tr> </table> <table border="0" style="border: 0px solid; text-align: left; width: 100%";> <tr> <th style="text-align:center;"><font size="4">Recent Flight Reports</font></th> </tr> </table> <table border="1" style="border: 2px solid; text-align: center; width: 100%";> <tr> <th style="width:90px">Flight #</th> <th style="width:150px">Dep./Arr.</th> <th style="width:150px">Pilot</th> </tr> <tr> <td colspan="3"><?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?></td> </tr> </table> </div> <div id="dashboardFooter" style="width:780px; min-height:50px; clear:both;"> <?php MainController::Run('Pages', '__call', 'home-protected', ''); ?> </div> </div> <?php //End Logged in content. } ?>
  20. I don't know of anyone of the forums that does all three. Jeff (FS-Products) does ACARS and does it really well, and Dave (SimPilotGroup) does sites and modules. Plus there are a plethora of others who do modules.
  21. Ok, Windows gets kinda tricky. Upgrade to php 5.3.29 and see if that solves the problem.
  22. Harry, Now I understand what you are trying to do. The only way I can think of doing it would be using an php if statement, showing different code for different statements specified. I took a look again, if you use Mozilla Firefox you can hit "F12" to inspect the current webpage. In the Div id "container" the section id is "home". If you can somehow comment that div out you should be able to fix your issue. This may need some help from the design guru's, I am really good with HTML/CSS/PHP and not so good with other web technologies.
  23. Follow debugging instructions here (http://forum.phpvms.net/page/index.html/_/getting-started/debugging-issues-r31), what do the logs say?
  24. 1. Yes, the frontpage_main.php file is what controls the look of your frontpage, it won't modify the entire page but i will modify the "content" portion so to speak. Take a look here (http://wwwapps.hphvirtual.com/hph-portal/index.php/) the frontpage_main.php file is controlling the area in the center where I have the image and then the text which includes the "press releases" section which I haven't yet coded. 2. Have you made any modification to the schedules module? If you haven't, what is displayed below the search functions is controlled in the Schedules.php file in core/modules/schedules. On line 208 you'll see $this->render('schedule_searchform.tpl'); This is telling phpVMS to output the file found in core/templates/schedule_searchform.tpl or .php. I'm not sure which files auto correct themselves to the .php extenstion. In the schedule_searchform.tpl file, make sure there isn't any code on the top which would be telling the browser to display your images. Other possible files would be schedule_list.tpl and schedule_results.tpl. The weird part is that looking at the page source on your website, I don't see any mention of the images. Maybe its javascript? I'm not familiar with JS at all.
  25. Good looking site, best of luck to you. Don't forget the "powered by phpvms" link in the footer.
×
×
  • Create New...