Jump to content

loplo

Members
  • Posts

    110
  • Joined

  • Last visited

Everything posted by loplo

  1. parkho, any chance to solve no 1 and 2? + one more question: Is there a way to encrypt the url of the "Jumpseat Ticket"? the price is sent via url and if you change the value in the url... you can travel for nothing.
  2. I really hope you can find that piece of script. The usage of API it's way too complicated - for me.
  3. In your templatemo_style.css look for this: background-color: #F8F8F8; replace with this: background-color: #3CF; The upper part of the background is an image and not color. Delete the following line: background-image: url(images/templatemo_header.jpg); All this is located in your css file right on top, starting line 5.
  4. David, is the offer still available? regarding the script mentioned above?
  5. Hey guys. I've just installed this mod, and it seems that it's not working. What I did: - moved phpvms to my domain - until now I was on a test subdomain - installed phpbb 3.0.11 (maybe the problem), the database is the same as phpvms with the phpbb_ prefix - installed the module No users are shown in phpbb, at all. Any ideas?!
  6. Well, using parts of your code solved it. It seems that the foreach was pretty buggy, and it was the default one used. LE: After removing my test bids, my page is messed up. Having no bids I'm receiving an error. I've changed to be like this: <?php if(!$lastbids) { echo 'No bids have been made'; return; } foreach($lastbids as $lastbid); { ?> and now I'm getting only one bid. This part of the code is messing things up.
  7. I have the same issue. I've tested with more than one bids. I even had 10 bids for testing purposes and only one was shown.
  8. Guys, I need your help. I'd like to make the ID clickable, to send me to the pilot profile, but I donno what to insert after the DOT to replace XXX. <a href="<?php echo('http://www.vataware.com/pilot.cfm?cid='.XXX);?>"> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?></a> Now the VATSIM ID is showed, but the URL is not working completly. Any help is appreciated.
  9. A few more questions: 1 - schedule_results.tpl - is there a way to sort the results? It seems to be unsorted. 2 - airport_search.tpl - my fleet consists of 4xB737-300, 4xB737-700, 2xATR 72-500 etc. In the dropdown list I have 4xB737-300, 4x737-700, 2xATR 72-500, etc. It shouldn't appear each aircraft type only once? 3 - schedule_results.tpl - typo - Deaprture instead of Departure
  10. Thanks, I've checked github for the change you've made. I've operated the change in my schedule_results.tpl too, and it works!
  11. 1. exercise on Your test site. - search for all of the flights/no filter applied - scroll down to the last flight and click details - the details are opened, but you`re sent to the top of the page and must scroll all the back down to see the details 2. You got me with this one. What's the script and where should I place it? I'm looking into schedule_details.tpl but can't find out what and where.
  12. loplo

    Timetable

    Anyone!? tried $aircraft->registration. and still no joy.
  13. One more thing. In at row 9 <li>Available flights from <?php echo $last_location->arricao.' ( '.$last_name->name.')' ;?>.</li> there's an extra space here: ( '.$last_name->name.'). It's just an aesthetic thing. Two more questions: 1 is there a way to jump to the desired flight after clicking "Details"? Right now, after clicking it we're sent to the top of the page. 2 I'm trying to implement the METAR into the details. The code I'm getting from the stock schedule tpl. Here's what I have copy/pasted: <tr> <td align="left" colspan="4"><div id="<?php echo $schedule->depicao ?>" class="metar">Getting current METAR information for <?php echo $route->arricao ;?></div></td> </tr> <tr> <td align="left" colspan="4"><div id="<?php echo $schedule->depicao ?>" class="metar">Getting current METAR information for <?php echo $route->depicao ;?></div></td> </tr> As result I only get: "Getting current METAR information for" and the ICAO code for the dep/arr. What am I doing wrong?
  14. My code is <?php MainController::Run('FrontBids', 'RecentFrontPage', 5); ?> Regarding the position of the foreach, I'm not sure that I'm able to do that. Lack of knowledge.
  15. On the frontpage it is called with: <?php PopUpNews::PopUpNewsList(5); ?> While clicking on the link (title), I'm being sent to index.php/PopUpNews/popupnewsitem/2 or other number. I thought that if I'm trying to access index.php/PopUpNews/ I'll land on a page where all the news items are shown. But it seems that this is not possbile.
  16. I did change the links to the images right after I've noticed the strage traffic created by the page.
  17. I'm using this template slightly modified by me. Everything works fine, but I have a small issue and I can't find it out how to fix it. The "info" dot, highlighted in the attached image, should be right after the dropbox. I have some other places on my page where it looks like there's an extra BR somewhere. I've tried to dig trough the css but can't find the solution. Any help is appreciated.
  18. I have to thank you. Without you and the other coders, we - the regular users - would be stuck with the default schedule/theme/etc. LE there are a few more things in the code what you could change: - in airport_search.tpl the info.png is loaded from your host, but it's included in the package too, creates extra traffic, load and if you change something on your host, the is not going to appear anymore. - in schedule_results.tpl there's an img src pointing to http://alvandair.com/lib/skins/aqua/images/BookingButt/SwissBook.png . Donno if it should be there.
  19. 1 - yes I did. Result OK CREATE TABLE IF NOT EXISTS `flightbookingsystem_location` ( `id` INT( 11 ) NOT NULL AUTO_INCREMENT , `pilot_id` INT( 11 ) NOT NULL , `arricao` VARCHAR( 4 ) NOT NULL , `jumpseats` INT( 11 ) NOT NULL DEFAULT '0', `last_update` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY ( `id` ) ) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =1; Problem still there. Now the price for the transfer is calculated and my "wallet" it is showing that I have less money than before, but I'm still at the old location. 2 - nope, I did not. There was no mention about it. Did it now. Issue solved. What is the calculation function? 3 - thanks, it was not mentioned anywhere this. I've figured out that I have 0 because I was looking for a flight with an ATR. I have to dig myself into the code to add the aircraft into the tpl.
  20. I've some questions: 1. were can we set the "Fuel Per 1 Hour" and "Fuel Per 100 NM"? 2. were can we set the jumpseat price? 3. I've made a flight and after that I was trying to transfer me back to the HUB via jumpseat. After purchasing the ticket, I'm still there, did not moved back to the HUB. Is there a workaround?
  21. I've downloaded the module from github, but when accessing index.php/PopUpNews/ I'm getting the following error: Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'PopUpNews::index' was given in /home/****/public_html/rot/core/classes/MainController.class.php on line 218 Any workaround?
×
×
  • Create New...