Jump to content

tim260

Members
  • Content Count

    40
  • Joined

  • Last visited

Community Reputation

7 Neutral

3 Followers

About tim260

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    Netherlands

Recent Profile Visitors

864 profile views
  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. tim260

    error message

    No problem, let us know if this worked, or if you need more help!
  6. tim260

    error message

    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. tim260

    error message

    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. http://ossenblok.media Hello everyone, Baileypellow asked for a simple script that sets the pilots location when buying a jumpseat ticket. I decided to release it as a simple addon. Note: this addon only sets the pilots location (Airport ICAO which may be retrieved using Auth::$userinfo->position) & deducts the costs of the trip from the pilots money - to get the full script where you can also only place bids from that location please contact me. This addon also uses the theme by Mark Swam so visual aspects may look different when used on another theme this can be changed to your theme upon request. Version: 1.0.0 Download: https://github.com/OssenblokMedia/Jumpseat Live demo: http://testing.ossenblok.media/jumpseat If there is any questions do not hesitate to ask.
  11. @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');
  12. 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
  13. 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.
  14. 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
  15. 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...