Jump to content

Kyle

Moderators
  • Posts

    2282
  • Joined

  • Last visited

Everything posted by Kyle

  1. Ok, I been on that for a while and I'm trying to firgure out how can I call if there was no reports filed, then how can I say "No Reports Yet" on the Last Flights. So here's my code, and I want to add a part so if there was no flight reports, I want it to say no flights filed yet. <?php $flights = PIREPData::getLastReports($userinfo->pilotid, '10'); $string = ""; foreach($flights as $flight) { $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+'; } ?> Any help would be awesome and I'll give you 1+ rep if it works. Thanks!
  2. Hey mark, I have the code for the GC for the certian pilot on what routes they flew. But they have limits like show their last 5 flights ETC.
  3. Kyle

    Mal ware

    You confused with Mark's post? or My Post?
  4. Kyle

    Mal ware

    No, I don't have a site, I mean, I been seeing some phpVMS VA's getting that.
  5. Hey, The site was down due to the author was releasing payware and he had to close it down to stop.
  6. Yeah it's likely to give money back because with the reset, they regen the pilots flight pay and give them the full amount.
  7. Kyle

    Mal ware

    Roger I got it in Google and firefox. Someone's is f***ing with everyone here at phpVMS.
  8. Very nice virtual airlines. Much planned for a good virtual airlines! I wish you the luck with running it!
  9. Ok I think its the tables. Go to the maintanice part in the admin and clear cache and optimize tables and it should show up.
  10. Cor, everything works for me. I'm using a dedicated server with the airports, and no load stress yet!! So are you sure you putted the import data in the right database, lets say your phpVMS DB is "JUZZ", you go in the database and click inport, and it should do that.
  11. That's okay roger, I started seeing the things and I thought what the heck, but now that explains it. I hope you can get it all cleared up.
  12. Ahh ok, Now I got it. I forgot for the foreach thing. Thanks for your help there lorathon!!! Cheers!!!
  13. Something like that..... <a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> So, Compelete your request..... <a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> <?php echo $pilot->firstname.' '.$pilot->lastname?> That's it!!
  14. Ok, sorry, I'm still a noob for getting data, I'm trying to learn. What I am excatily I'm doing is that i am trying to get the info from the Admin in the groups to show what groups is the pilot in, are they in Admin?, Are they in Executive VP, Fleet or Active Pilots? I hope that clears up, and I'll tell you what I did, I went into the profile.php and added a line of a code for profile public function and here's how i added..... $this->set('group', PilotData::GetPilotGroups($pilotid)); So on, for the profile_main.tpl, I added the php echo like this..... <?php echo $group; ?> I can tell I'm doing something wrong between the profile.php and the profile_main.tpl.
  15. Ummm, I still don't see the groups, I'm not sure what am I supposed to do with that code that lorathan gave me?
  16. ok nightfox, That's the one. Thanks!! and lorathon, I see why it isn't working becasue It's not getting the pilot's group info, so with the code you pasted in, where do I put it in? In the commons or the modules? Thanks alot guys for helping!!
  17. Hey guys, I'm not sure how it is coded to tell what groups is the pilot in. So if anyone could tell me the php codes to display what groups is the pilot in please and I'll would give you 1+ rep. Thanks!
  18. Okay to clear it up, I'm trying to get the siggy to show what group (Admin Group) what group is he in, so here's a line of a code for the siggy, and It still does not work, any ideas? $output[] = 'Pilot Is: ' .$userinfo->group;
  19. Can I get help here please?
  20. Ok, I'm trying to find out what the heck is going on, I'm adding some part to my phpVMS for pilot accounts in PilotAdmin.php and it's for the text box and whenever I go to the next line, I want it to create a line break like this <p> and to the array, It's telling it's wrong, can anyone comeplete this for me please? 'history' => (nl2br(PilotData::bb(strip_tags($this->post->history, '<p>'))); I'm not sure what the heck is going on, I'm trying to get it working with that <p> for the textbox. Any help would be great!!!
  21. :lol You got to love to know how to code these things, lol. I'm in the stages to learn inside the modules.
  22. Ok, I give up. Somebody help me out here too, lol He wants to show what the pilot is in the group, so here's how I have done it, and it doesn't still show the group name they are in, so if someone can help us complete the code, thanks! For siggy $output[] = 'Pilot Is: ' .$group->groupname; For php echo for what group is pilot in I don't know something like this <?php echo $userinfo->group?>
  23. Ok, to clear it up, do you want the pilot group what they are in to show into the siggy?
  24. Good Question, Let me look into it
  25. But one thing, maybe change the order of it. Like for what is the first JS on top of your website, and see what does. If it does not work, then I'll still have to pass it to the skin experts. Sorry, but I did my best to help you out.
×
×
  • Create New...