Jump to content

mark1million

Moderators
  • Posts

    2288
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. With out modding all the code i dont think you can, its been hardcoded in. Nabeel will be able to reply better to this.
  2. You can just include a iframe in the schedules, so would be something like , Would be better making a module and including the template though. <iframe id="EURoute" src=http://www.euroutepro.com/fp/fp_main.php?dep=<?php $schedule->depicao?>&arr=<?php$schedule->arricao?>" width=700px height=250px marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=yes></iframe> Something like that would work in your schedule briefing page.
  3. Same thing here Jeff, looks like a dns issue.
  4. The server may be down for maintenance, try again later, if they have been sending then there isnt a problem your end
  5. Personally speaking i would only use the iframe at a last result. Try the embed option first. Thats not the full code above you are missing php code, that just looks like a view source optput.
  6. Do you mean like my index page? I use jquery and place the code in between a named div, so i can refresh any part of my site that is in the specified div.
  7. After trying this you need to restart your apache / iis or what ever you are using. What access do you have to your server?
  8. Roger what do you need to do on your frontpage? if its just html then create a page with the extension htm / html. You can create a blank page just dont include the headers / footers, all you need is that include to your core codon config to use the functions that are in vms.
  9. HI, I can give you the code that i use but its the picture in the briefing page is for one file type only ie .png and when you click you get the chart to download if thats any good to you?
  10. The width has been made a bit smaller than what is in the code, <iframe src="http://fshost.vacentral.net:82/user300.html" width="200" height="250" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
  11. Holy crap mate, speak with your host.
  12. You do have a backup? This is from my development server its empty apart from the 2 airports but it will give you the table back, -- -- Table structure for table `phpvms_airports` -- CREATE TABLE IF NOT EXISTS `phpvms_airports` ( `id` int(11) NOT NULL AUTO_INCREMENT, `icao` varchar(5) NOT NULL DEFAULT '', `name` text NOT NULL, `country` varchar(50) NOT NULL DEFAULT '', `lat` float NOT NULL DEFAULT '0', `lng` float NOT NULL DEFAULT '0', `hub` smallint(6) NOT NULL DEFAULT '0', `fuelprice` float NOT NULL DEFAULT '0', `chartlink` text NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `icao` (`icao`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `phpvms_airports` -- INSERT INTO `phpvms_airports` (`id`, `icao`, `name`, `country`, `lat`, `lng`, `hub`, `fuelprice`, `chartlink`) VALUES (1, 'KJFK', 'Kennedy International', 'USA', 40.6398, -73.7787, 0, 0, ''), (2, 'EGKK', 'Gatwick Airport', 'United Kingdom', 51.1481, -0.190278, 1, 0, '');
  13. I have just tried connecting to the fsinn server and the fshost server, both are working OK.
  14. Was not aware, pings are still being returned, let me get the hammer to it
  15. They are already defined or re definable from the admin section, ranks.
  16. Looking at that your on page 11, what happens of you go back to page 1 or back a page?
  17. Are you getting xml route info from vroute?
  18. Cheers Ray working a treat I dont know why i didnt think about adding an extra row, what a plank
  19. Care to share the code
  20. Didn't notice a thing
  21. Yes it is but you need a vroute api key to access the data Speak to Michal Rok
  22. Instead of include try, <?php Template::Show('yourtemplate.tpl'); ?>
  23. Looks like you need to authenticate with your mail server, that is the error.
  24. Roger i have started building external pages to interact with phpVMS, all i do is create what ever page i like so test.php, at the top of that i can include the codonconfig, header tpl and footer tpl or just do anything with it, the key is to access the functions just include the codon config file at the top as Dave mentioned above. So for example to make a page for logged in members only you could use, <?php //path to your codon config file include '/srv/path to your/core/codon.config.php'; //path to a header template include '/srv/path to your/lib/skins/ObsessBlue/small_header.tpl'; //see if they are logged in if not show then the loginpage if(Auth::LoggedIn() == false) { echo '<div id="error">Please login to view this page.'; echo '</div>'; Template::Show('loginexternal_pages.tpl'); echo '</div>'; Template::show('footer.tpl'); return; } ?>
×
×
  • Create New...