Kyle
Moderators-
Posts
2282 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Kyle
-
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!
-
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.
-
You confused with Mark's post? or My Post?
-
No, I don't have a site, I mean, I been seeing some phpVMS VA's getting that.
-
Hey, The site was down due to the author was releasing payware and he had to close it down to stop.
-
Yeah it's likely to give money back because with the reset, they regen the pilots flight pay and give them the full amount.
-
Roger I got it in Google and firefox. Someone's is f***ing with everyone here at phpVMS.
-
Independence Air Virtual is Open!!
Kyle replied to regional_elite's topic in Virtual Airlines Discussion
Very nice virtual airlines. Much planned for a good virtual airlines! I wish you the luck with running it! -
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.
-
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.
-
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.
-
Ahh ok, Now I got it. I forgot for the foreach thing. Thanks for your help there lorathon!!! Cheers!!!
-
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!!
-
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.
-
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?
-
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!!
-
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!
-
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;
-
Can I get help here please?
-
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!!!
-
:lol You got to love to know how to code these things, lol. I'm in the stages to learn inside the modules.
-
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?>
-
Ok, to clear it up, do you want the pilot group what they are in to show into the siggy?
-
Good Question, Let me look into it
-
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.