Jump to content

JackPlumb

Members
  • Posts

    82
  • Joined

  • Last visited

Everything posted by JackPlumb

  1. Ok, I have added a new 'Profile Field' which is text. I have added this field to show up on pilots_list.tpl, on this list it will either say ACTIVE or INACTIVE. This looks too plain, and therefore I am asking if there is a code that would for example place an image on the pilots_list.tpl if ACTIVE is placed in that field insted of boring text.
  2. All that staff do is go to the pilots profile on admin and add either Active or Inactive. So I am guessing it would be a code checking the text and replacing an image with it.
  3. I have added extra profile fields and now wish to make the page abit more advanced. I have a section that now says if the pilot is either Active or Inactive. The text that Staff can input is Active/ Inactive, how can I get it to show images instead of plain text?
  4. simpilot, is there a release that you could make that would allow this to work on 1.2.700. As yes we could upgrade to BETA but alot of us prefer to wait till the official release is out.
  5. Airlines do have income, it is the prices of the tickets. If you airline isn't receiving income then make sure that you have set the prices for your tickets to counter balance the price of the fuel. Otherwise you'll continue losing money.
  6. Hiya, is this compatible with phpVMS 1.2.700? If not is there an easy fix to allow it to work with it?
  7. Is anybody able to get this to work?
  8. Not a problem, once we find the problem the better ;D
  9. Ok cheers, for some reason it is just saying nobody is in the group. But there is.
  10. <table width="940" border="0" align="center" cellpadding="1" cellspacing="0" style="background-color:white;border:1px dashed black;"> <tr> <td><div align="center">On completion of this Operation, all crew members stated below will be able to place the "<strong>Operation Herrick 11</strong>" medal on there Forum Signatures.</div></td> </tr> </table> <table width="940" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="470"><h2>Alpha Crew</h2> <?php $users = UserGroups::GetUsersInGroup (16);?> <?php foreach($users as $pilot) { echo "The pilot is {$pilot->firstname} {$pilot->lastname}"; } ?></td><td><h2>Bravo Crew</h2></td> </tr> </table> This is the coding on the page and it is bringing back Warning: Invalid argument supplied for foreach() in /####/####/public_html/core/pages/operation######.htm on line 10 . If anyone can help
  11. I have placed this onto the page: <?php $users=UserGroups::GetUsersInGroup (16); ?> and people are in the group, when I view the page it's just blank.
  12. This hasn't called anything back.
  13. Is there a code where it shows a list of people who are in a group? Thanks, Jack.
  14. Keeps brining up "Unexpected ">" on Line 100.
  15. I would like to set something up on Pilots Profile where only people in Groups can see the content, this has failed. I wondered whether anyone knew a code that would work were only Certain groups can see the content.
  16. I know it sounds silly but could you right a code for me, the expiry would be 31 days before the date of today.
  17. Is there any specific code that you could give me?
  18. I was looking to add a section on the pilots_list.tpl with an Active/ Inactive icon. I wanted this to be automatic and therefore wondered if there was a code that I could use to change these images. The check would be to ensure that the pilot has filed a PiREP within the last 31 Days. Cheers, Jack.
  19. No, I haven't. But I have sorted it partly, now it's allowing me to change the ones on the core_navigation.tpl ones but any extra pages on the NAV_INC module aren't included in the css. EDIT All sorted now
  20. Any ideas on how I should code this, or do it?
  21. Hello All, I was looking to use the default phpVMS navigation bar but was looking to customise it. Therefore was wondering if there was a CSS code I needed to edit or add to have rollover buttons on the site. Thanks, Jack.
  22. By bookings I mean they do not have to go on the flight Schedules before filing a PiREP. They can just send a PiREP without all the hussle and bussle of having to go to flight schedules as it gets confusing being a Mil VA.
  23. As a Military Virtual Airline our crew in real life shouldn't send PiREPs. I also feel that the bookings side of the filling is turning away some of my crew and I am therefore asking if there is a way we can get rid of having to book the flights and not just sending the PiREP immediately. If not, can we intergret this into a new system on the next update?
  24. I placed it in the a CSS Coding section of the header. Works a dream.
  25. Much appreciated guys, works a treat.
×
×
  • Create New...