Jump to content

tim260

Members
  • Posts

    40
  • Joined

  • Last visited

1 Follower

Profile Information

  • Gender
    Male

Recent Profile Visitors

1874 profile views

tim260's Achievements

Newbie

Newbie (1/14)

7

Reputation

  1. I work in a management position and like I said you guys are just really full of yourself. Just like you right now involving in a convo being cocky. Why? I stated twice that I wasn't trying to bash him and I clarified that I was just wondering why. And here you come in being a d***, for no apparent reason. I've only had one bad encounter with someone else and we made up and I apologised so I hope you don't work management because if you judge someone on one mistake you're not going to make it. Sometimes you should think before you post something, you don't just get mixed up in someone's conversation.
  2. Uh-.. for someone with that amount of reputation on this forum you're not trying very hard not to be cocky. I didnt say he wasn't allowed I was just asking why as I clearly said I wasnt trying to bash him. I figured it was roleplay but wasnt sure and I do think the concept of roleplay and thus being serious is nice. I think his logo looks awesome and I wish him the best of luck as well.
  3. A contract!? Dont you think people just want to have fun and let a virtual airline be their passion so its fun to do stuff for it rather than making a contract and having "recorded voice calls"? After all it's just a game.. ps. im not trying to bash you just curious why you have chosen to go for a contact oh and i would like to advice you put a "under construction" page on your website rather than the themeforest theme
  4. tim260

    Admin Side panel

    Hi, If you open "admin/templates/core_navigation.php" and put the text between line 212 and 233 in comment tags: <!-- this text will not be showed on your site --> the finances menu will be hidden. But do not uncomment the php tag that allows the next if statement to start so it should look like this if(PilotGroups::group_has_perm(Auth::$usergroups, VIEW_FINANCES) || PilotGroups::group_has_perm(Auth::$usergroups, EDIT_EXPENSES) ) { ?> <!--<li style="padding: 0; margin: 0;"><a class="menu" href="<?php echo SITE_URL?>/admin/index.php/reports"> <img src="<?php echo SITE_URL?>/admin/lib/layout/images/reports_icon.png" />Reports & Expenses</a> <ul style="padding: 0; margin: 0;"> <?php if(PilotGroups::group_has_perm(Auth::$usergroups, VIEW_FINANCES)) { ?> <li><a href="<?php echo adminurl('/reports/overview'); ?>">Overview</a></li> <li><a href="<?php echo adminurl('/finance/viewcurrent'); ?>">Financial Reports</a></li> <li><a href="<?php echo adminurl('/reports/aircraft'); ?>">Aircraft Reports</a></li> <?php } if(PilotGroups::group_has_perm(Auth::$usergroups, EDIT_EXPENSES)) { ?> <li><a href="<?php echo adminurl('/finance/viewexpenses'); ?>">Expenses</a></li> <?php } ?> <li></li> </ul> </li>--> <?php }
  5. No problem, let us know if this worked, or if you need more help!
  6. Is there any other code on that page or it that it? Cause if so $pilots is not defined. You could do it in the page itself or use the module for example (in your frontpage module): $this->set('pilots',PilotData::getAllPilots());
  7. Can you show us the code of the recentpilots tpl and the frontpage module file?
  8. Can you provide us your VA crewcenter link and a test login?
  9. To come back on that issue, clearly a part of your config is missing. But have you tried adding back the part which is missing?
  10. @Baileypellow working example on http://testing.ossenblok.media/jumpseat Note: I created it using the crewcenter theme by Mark Swam so some visual aspects will look different if you're not using that theme. I created a a github repository where you can download it. If you want me to I'll keep it updated Repository link: https://github.com/OssenblokMedia/Jumpseat The only thing you need to do is execute the following query in your database: ALTER TABLE phpvms_pilots ADD position VARCHAR(5) & You can also customize the default price modifier (0.5) by adding the line below to your "local.config.php" Config::Set('JUMPSEAT_MODIFIER','0.5');
  11. Hi, Youve gotten pretty far yourself! My tip would be: Store the location in the database rather than using the last PIREP arrival airport cause otherwise you'd have to insert a PIREP to change the location. Unless you want the jumpseat thing to count as a flown flight by the pilot? Use ternary operators Ternary operators make this: if($reports->arricao === null){$jumpseatdep = $userinfo->hub; echo $jumpseatdep;} else {$jumpseatdep = $reports->arricao; echo $jumpseatdep;}?> Into something more readable like this: $jumpseatdep = (!$reports) ? $userinfo->hub : $reports->arricao; echo $jumpseatdep; As @servetas requested ill share the code publicly. I will post it later today
  12. I know I've been on the internet for a while no need to act like that I just thought that was a thing here but like I said I have no problem sharing it.
  13. I am but I see every developer requesting PMs or emails (dont see you asking them this question btw) so I figured thats kinda the way or working here
  14. Im sorry too was a bit pissed off while at work and reacted it off on the forums haha. All good I hope @Parkho @RyanJSmyth any luck?
×
×
  • Create New...