Jump to content

Tom

Members
  • Posts

    1517
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Tom

  1. include('path/to/codon.config.php'); //continue as if it were in phpVMS
  2. It's a different variable in pilots_list.tpl: <li><strong>Date Joined: </strong><?php echo date(DATE_FORMAT, strtotime($pilot->joindate));?></li> <li><strong>Last Login: </strong><?php echo date(DATE_FORMAT, strtotime($pilot->lastlogin));?></li>
  3. You don't touch index.php... Ever. It all goes in your head tags in layout.tpl
  4. FSACARS should still work, it's just become a little outdated, technically still supported by the system though.
  5. Look for meta generators, they can give you the meta tags for your keywords and so on that search engines use. Make sure you're using keywords which actually appear on public pages of your site so your rank higher. Having a well coded template will also help, bad code confuses even googles robots. Make sure your images all have alt text too. There's loads more but I can't remember it without looking it up - not at computer.
  6. I just use 00:00 & 00:00 and guess tge flight time. They are only advisory values...
  7. Referring to the above csv (there's no screenshot): distance: must be a number. Leave blank to calculate. deptime & arrtime: must be a time, format HH:MM, e.g. 12:34 flighttime: must be a number, I believe in the format H.MM, e.g. 1.5
  8. Trailing dots: . Your aircraft is called "B737-800." - get rid of the dot. Same with other fields.
  9. You have loads of trailing "."'s in multiple fields - remove those.
  10. <?php $usersonline = StatsData::UsersOnline(); foreach($usersonline as $pilot) { ?> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" width="16" height="11" /> <a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></a><br /> <?php } ?> That shows [Flag] Firstname Surname for each person
  11. http://www.united.com/ Did you not get wind of the merge?
  12. Tom

    Background Image

    Can't quite tell what you want but, add repeat-x (horizontal), repeat-y (vertical) or no-repeat to the end of your background attribute, e.g: background:url(img.png) no-repeat;
  13. Probably the one with a link to http://stevenairspace.com/ on it? It's the only image in this thread...
  14. http://stevenairspace.com/ ? I would take your own images if I were you
  15. Yeah it's still downloading Edit: Don't worry, I'm going to use a directory above public_html instead.
  16. Your code is correct, however is $pilotinfo the correct variable? You will see 1969 if it returns 0 or null. When in profile_main.tpl you will want to use $userinfo, like so: <li><strong>Date Joined: </strong><?php echo date(DATE_FORMAT, strtotime($userinfo->joindate));?></li> <li><strong>Last Login: </strong><?php echo date(DATE_FORMAT, strtotime($userinfo->lastlogin));?></li>
  17. Changing the order doesn't make a difference fivedev automatically has these settings right? Does it override what I put in my htaccess files?
  18. It is... flyeug is my main account on fivedev, and the email the system is sending to/from is support@flyeug.co.uk however when I set it to tom@fstools.co.uk which is my site hosted as an addon domain, it works.
  19. Yeah, I pasted this from Vansers' thread a while back. Works for everything else.
  20. I want to prevent downloading of any zips by putting the address in your browser, so I can control who is downloading. I added it to the htaccess as follows, but no luck <FilesMatch "\.(htaccess|htpasswd|ini|phps|fla|psd|log|sh|tpl|zip)$"> Order Allow,Deny Deny from all </FilesMatch>
  21. Don't... Fill out the registration form for them.
×
×
  • Create New...