Jump to content

5SA CEO

Members
  • Posts

    135
  • Joined

  • Last visited

Everything posted by 5SA CEO

  1. I had a quick look round and I can only see the width being changed in the 'CSS style' file I am only guessing as I do not know much about changing it, have a look.
  2. Thanks simpilot, sorted now. yet again a nice addon.
  3. Hi, I am looking forward to using this addon as it looks good. I have installed everything in the right place, but for some reason I am getting the following; Notice: The template file "/home2/fivstar6/public_html/phpvms//core/templates/events/events_index.tpl" doesn't exist in /home2/fivstar6/public_html/phpvms/core/classes/TemplateSet.class.php on line 248 I know the file is there so looking at it why is there a '//' and not single '/', so I went to try and get rid of one '/' but for the life of me I cannot find the location to modify it, any ideas? Thanks
  4. Hi, No worries, I have taken all of it off the side bar and looking at dropping the side all together, I have added the newest pilots to the top drop down menu, plus a few other items. Might go back over the original layout and see what is there and see if I can get to work, but when looking at some the pages the info overlaps the side bar. Thanks for your help.
  5. Cheers for that, I am working nights this weekend so no hurry.
  6. <!-- Sidearea Starts --> <div id="sidearea"> <h2>Our Newest 8 Pilots</h2> <?php MainController::Run('Pilots', 'RecentFrontPage', 8); ?> <br /> <h2>Our Pilots Online</h2> <?php $shown = array(); foreach($usersonline as $pilot) { if(in_array($pilot->pilotid, $shown)) continue; else $shown[] = $pilot->pilotid; echo "<p>"; echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />'; echo " {$pilot->firstname} {$pilot->lastname}<br />"; echo "</p>"; } ?> <h2>Guests Online</h2> <p class="txt-red10">Currently <?php echo count($guestsonline);?> guest(s) visiting. </div> <h4>Latest Flights</h4> <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?> </ul> <!-- Sidearea Ends --> </div> Ok so here is the code I have put in place. 2 things stand out, 1st the warning on line 177 2nd the latest flights shows up but is set too far off to the left. Take a look. http://5starvirtualaviation.com/phpvms/index.php/ any ideas on how to move the latest flight over in line with the pilots on lines and what is wrong with line 177, foreach($usersonline as $pilot) I also added right at the top of the layout.tpl line 1 <?php $allpilots = PilotData::getAllPilots(); foreach($allpilots as $pilot) { } ?> at the very top and all it did was move the error down a few lines. very odd I fear and I don't know what I am doing but am learning very quickly.
  7. I have managed to get it back on the side area, but still have a warning Warning: Invalid argument supplied for foreach() in /home2/fivstar6/public_html/phpvms/lib/skins/brilliancev1/layout.tpl on line 177 177 foreach($usersonline as $pilot) so just got work out why that is a issue now. next how to add latest flights
  8. I have the info now showing, but it is at the bottom of the page and not on the sidebar where it should be!!! I will keep looking and trying.
  9. <!-- Sidearea Starts --> <div id="sidearea"> <h2>Newest Pilots></h2> <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> <br /> <h2>Pilots Online</h2> <?php $shown = array(); foreach($usersonline as $pilot) { if(in_array($pilot->pilotid, $shown)) continue; else $shown[] = $pilot->pilotid; echo "<p>"; echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />'; echo " {$pilot->firstname} {$pilot->lastname}<br />"; echo "</p>"; } ?> <h4>Guests Online</h4> <p class="txt-red10">Currently <?php echo count($guestsonline);?> guest(s) visiting. </ul> </div> <!-- Sidearea Ends --> </div> Ok I did as you said and for the most it worked, I removed the latest news part as we don't want it on the side bar, however I am getting a warning coming up. I even put the latest news back in but still got the same warning. Warning: Invalid argument supplied for foreach() in /home2/fivstar6/public_html/phpvms/lib/skins/brilliancev1/layout.tpl on line 175 175 foreach($usersonline as $pilot) http://5starvirtualaviation.com/phpvms/index.php/ any ideas? every thing is starting to come together now and thanks for all your help.
  10. Thanks for that. I found that </div><!-- Sidearea Ends --> and just above </div><!-- Sidearea Starts --> so put it in between them but did not come out right, some of it was at the bottom of the main page, I will play with it and see if I can get it to work. This is what the code looked like; </div><!-- Sidearea Starts --> <h4>Pilots Online</h4> <?php $shown = array(); foreach($usersonline as $pilot) { if(in_array($pilot->pilotid, $shown)) continue; else $shown[] = $pilot->pilotid; echo "<p>"; echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />'; echo " {$pilot->firstname} {$pilot->lastname}<br />"; echo "</p>"; } ?> <h4>Guests Online</h4> <p class="txt-red10">Currently <?php echo count($guestsonline);?> guest(s) visiting. </ul> </div><!-- Sidearea Ends -->
  11. i have a different skin but ran into the same problem then finaly resolved it hope this help i pasted this into the Layout file close to bottom and it work you can see it here on my site www.toronto-virtual-atc.com hope this helps you im just a noobee trying to get by <h4>Pilots Online</h4> <?php $shown = array(); foreach($usersonline as $pilot) { if(in_array($pilot->pilotid, $shown)) continue; else $shown[] = $pilot->pilotid; echo "<p>"; echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />'; echo " {$pilot->firstname} {$pilot->lastname}<br />"; echo "</p>"; } ?> <h4>Guests Online</h4> <p class="txt-red10">Currently <?php echo count($guestsonline);?> guest(s) visiting. </ul> Wwith reference to above how can I include this on the side bar of the site, I know you said you copy and pasted it into your layout but where would I place it?
  12. Yeah, I was wondering about that side news and how I can remove it, there is not need for it as it only duplicates whats on the main pg and gets in the way of some of the other pages info.
  13. I have dropped the brilliance skin into our site today and working on a few small tweeks and I like it, great skin. Thanks.
  14. That was a lift from the window, great eh, Microsoft. I will have a look in his pc again and see what else is wrong. Cheers
  15. Hi folks, I was in my off my pilots PC last night to get him set up with kACARS but when I went to run the program I got this error, 'font arial does not support style regulor' He is using windows 7 so I do not know if there is an issue with that, any ideas?
  16. HI, I found that you can link an aircraft to a rank and there fore stop folk downloading an aircraft till they have reached a rank level. In the admin centre page, Airline operations, add & edit Fleet, at the bottom you can set it up so that you need aminimum rank to fly thus the pilot has to fly hours to get a bigger and better aircraft. just another way, without having to do do any coding. hope this helps a little.
  17. Hi guys, I have been looking round to see if I could add an image to the background of site, I have been reading the skinning forums but I think my eyes have gone funny as I cannot see any links, This is from the style.css from the top of the page. ===================================================================================================== body { margin: 0px; padding: 0px; font-size: 12px; font-family: Arial; background-color: navyblue; /***This is the entire site background color**/ } img { border: 0px; } .size { width: 950px; margin: 0px auto; =================================================================================================================== url(http://5starvirtualaviation.com/phpvms/lib/skins/ObsessBlue/image/img_ss222.jpg) This is the link to the image how and where do I add this line into the style sheet to make it work? and do I need to add anything else? When I changed the background colour that did not work either, the background is white, very odd. Thanks guys. Deano
  18. 5SA CEO

    Obsess blue

    HI guys, a quick update and question as all ways. I have made a few changes to the site and they are all working fine, but looking at the site as it is and the orginal I seem to be missing some highlights. http://5starvirtualaviation.com/phpvms/index.php if you look at the titles down the left they do not have a back ground colour (http://www.fspaintshop.com/?p=224 see link - example = new hires has a blue surround on it) how do I check that or even get mine back please. a little help to sort out the issue. Cheers Deano
  19. Will do, it had to be something small eh,
  20. THANK YOU THATS DONE IT. :D :D
  21. module renamed and I will check as well
  22. Tried it again today, got the 'not logged in', connected to the sim 'ok', enetered flight number with and without our prefix, none of the fields populated. I have now upgeaded to v 1.0.0.9 and now get the 'connection error' 'notify system admin of switch error' so I checked to see that the modules was in the right place, http://5starvirtualaviation.com/phpvms/core/modules/kACARS_Free/kACARS_free module-v1.0.0.9.php so that appears to be good. Jerry I sent you a pm with some details to try out.
×
×
  • Create New...