Jump to content

Jon

Members
  • Content Count

    253
  • Joined

  • Last visited

Community Reputation

80 Excellent

About Jon

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male

Recent Profile Visitors

13793 profile views
  1. I think this is what you wanted, it's very rough solution, but I've got it working <td width="1%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php $groups = PilotData::getPilotGroups($pilot->pilotid); $admin = false; $end = ""; foreach($groups as $group){ if($group->name == "Administrators"){ $admin = true; break; } } if($admin){ echo "<font color='red'>"; $end = "</font>"; } echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid).$end?></a> </td>
  2. You'd want to use the PilotData::getPilotGroups(); function, which returns all the groups they're a member of, and you can change the font colour using an if statement then. Something like: <?php $groups = PilotData::getPilotGroups($pilot->piloted); if(in_array("group name",$groups){ //They are an admin ?> <font color="red"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></font> <?php } else { echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname; } ?>
  3. I'm able to offer a wide range of phpVMS development services, from bespoke module production to basic skin design. Project turnaround times are currently quick, as I have no other commitments for the next 3 weeks. For more information, and a free no obligation quote feel free to get in touch with me via Private Message. Regards Jon
  4. I'd imagine you'd want to look at the modules for each ACARS system (core/modules/) and have a look in there at the code. For example, for kACARS, line 44 is the function call I'd look at: $results = Auth::ProcessLogin($xml->verify->pilotID, $xml->verify->password);
  5. Irony upon Irony. It seems to me like you're under the impression I'm trying to 'troll' you here or something. When that isn't the case. I am just being sarcastic at the end of the day whilst seriously trying to inform you that you can't claim a website design is unique. By all means, claim that your system improvements make you a unique and attractive virtual airline to apply for, but don't make claims which you don't have total assurance over in our 'industry'. (Yes, I used the word!) I could, and have seen it time and time again, just copy your design and put up a virtual airline tomorrow (not using your code, but just using the same elements and colours). Anyway, have a fun time. Virtual airlines aren't my thing any more and nor is Flight Sim really, so I have no idea why I still lurk about these forums and have a compulsion to check them everyday (force of habit I guess). Good Day.
  6. Blimey, are you doing English Lit or something? You've certainly attempted to totally read between the lines of what I said. I have no problems with calling it an 'industry', if that's how you want to view it. The clue with me talking about the design though is that I quoted you talking about the design, not the system that you use. Must be an English student, otherwise you wouldn't of made some rubbish up from one sentence. Or maybe you're just doing the traditional 'I don't have an answer for this question, so I'll answer another'. This is the bit that made me laugh hysterically, obviously. You're talking about research, have you done any to check every virtual airline to see whether they've got a similar design? (This is a rhetorical question, I know the answer) It's not a claim you can make, people copy people's designs, it happens. So I don't see how you can make such a stupid remark when it clearly has no evidence. [i've now had to get a chair that isn't so high up from the ground, so the fall to the floor is less painful.]
  7. It's just too big. Why can't you just have a normal navigation bar, like you do on the prospective bit? Why do you need to have that massive twitter icon in it? I know this is called 'redwood', but you don't have to go overboard, the red on the map burns my eyes.
  8. You're not trying to reinvent the wheel here, are you?
  9. It's not a necessity, I might use it once and then I'd be bored of it.
  10. He wanted to know what you wanted, not what he interprets your ideas as.
  11. You seem to be missing a dot before the extension: <img src="<?php echo fileurl('/images/airline/'.$code.'.png'); ?>" alt="<?php echo $airline->name;?>" /> With regards to the value of $code, print it out and see what happens Jon
  12. How do you 'beta test' schedules? Am I missing something here?
  13. Well, their Facebook seems to have vanished , so I'm sure you can make your own deductions from that. Jon
  14. Seriously? How many people are falling for this idea that using free hosting is going to bugger up your chances of getting a pilot to join yoiur va? I'm sure 99.9% of people don't decide to check the nameserver of a website before they join it. What a ridiculous statement to make. I'm fed up of this happening time and time again, 'stay away from free hosting'. Tom's right, and I've had it working fine too, just get off your high horse of being able to pay for something and consider others for a second.And if we're bringing how much of a 'joke' the va industry is, shall we just consider CEOs that don't fly for their virtual airlines for nearly 2 years? Jon
×
×
  • Create New...