Jump to content

stuartpb

Members
  • Posts

    326
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by stuartpb

  1. Thanks for this addition, it works very well! Cheers, Stu
  2. I've done a simple mock up of what i am trying to achieve. I know how to enter the new fields in the table I want, how to build the layout of the page, and style it. Where I haven't a clue is how to construct the code to make it all work. Here's the (very) simple mock up of the idea: http://www.britair.net/example.html
  3. I had a look at the bids addon but the dates fields in v1.0 don't seem to do anything. I have also scoured the addons/snippets pages with no success. I have been thinking about how to do it and have the basic concept worked out, but am stumped at how to implement what I want. I think a bid confirmation page would be needed, where there is a date input field, along with the chosen flight details. Then when the pilot confirms their booking, they would have to enter a real date on which they were going to be flying. The date input field would record the selected date to a new field in the bids table. The date would then appear in the users my bids, and also in the admin latest bids page. I have been messing round all night with this, and following some PHP tutorials but am well and truly stumped Cheers, Stu
  4. I have an idea that I would love to implement in how our pilots book flights. I basically want them to have to chose a realtime date on which they will fly their booked flights. Ideally I would like to do this as part of the booking process. I know I would probably need to add a field to the existing SQL bids table, but that's about as much as I can work out. If anyone has any idea as to how to go about this, I would be very grateful. Thanks, Stu
  5. stuartpb

    heading

    I'm using FSACARS, does that not work with the heading indication?
  6. Wouldn't that be unfair on those who use FSACARS, compared to those who file PIREPS manually? I like the idea though! I was thinking about doing away with manual PIREP reporting and making FSACARS compulsorary, so the idea would work well then.
  7. stuartpb

    heading

    :D I have had the same problem since first using phpVMS. I tried figuring it out but gave up in the end.
  8. I got this working sweet as with SMF 1.1.11, thanks! I also managed to skin SMF pretty much to how I wanted it, and have also given SMF some cool add-ons. http://forum.britair.net
  9. Looking great! I would love to help but I only have a few PIREPs I hope it all goes well in beta for you!
  10. Did you get this finished? I would love to have this feature on my site
  11. No worries
  12. I really like this feature, but I wanted all of my fleet to be shown in the fleet page. As the code is set, planes will only appear once they have accrued flight time. As my VA is brand new, there are quite a lot of aircraft with no hours logged that won't show up in the fleet page. So I took the liberty of amending the SQL query in the /core/modules/fleet/fleet.php page: Original SQL: $sql = 'SELECT a.*, a.name AS aircraft, COUNT(p.pirepid) AS routesflown, SUM(p.distance) AS distance, SEC_TO_TIME(SUM(p.flighttime*60*60)) AS totaltime, AVG(p.distance) AS averagedistance, AVG(p.flighttime) as averagetime FROM '.TABLE_PREFIX.'aircraft a INNER JOIN '.TABLE_PREFIX.'pireps p ON (p.aircraft = a.id) GROUP BY a.registration'; By changing the join function, I can now show all of the fleet, regardless of whether it has logged any flight time: Amended Code: $sql = 'SELECT a.*, a.name AS aircraft, COUNT(p.pirepid) AS routesflown, SUM(p.distance) AS distance, SEC_TO_TIME(SUM(p.flighttime*60*60)) AS totaltime, AVG(p.distance) AS averagedistance, AVG(p.flighttime) as averagetime FROM '.TABLE_PREFIX.'aircraft a LEFT OUTER JOIN '.TABLE_PREFIX.'pireps p ON (p.aircraft = a.id) GROUP BY a.registration'; Cheers, Stu
  13. As the foundations have now been laid for Britannia Air, we are now looking to appoint suitable candidates into the positions currently available. All these positions are unpaid, but you will have the ability to help shape the airline as it grows. The management positions we have available are as follows: Online Flight Operations Director Britannia Air is looking to become registered with both VATSIM and IVAO, and we need someone with the relevant knowledge and experience to enable us to do so. This is a senior position, and the post holder will have a free hand to shape and develop the online flight aspect of Britannia Air. If you have experience of developing and managing online VA flight operations, we would really like to hear from you. 3x Hub Managers As a hub manager, you will assume overall responsibility for operations from your assigned hub. This includes managing flight schedules, administration of PIREPS and general support for other hub members. As Britannia Air is a new and expanding virtual airline, there are real opportunities to help shape the overall operations and management practices. It is preferred that applicants for these positions do have some prior VA management experience, but we would be interested to hear from anyone who is eager and can show commitment. Publicity Manager To help Britannia Air grow, and keep growing, we need to be recognised and for people to hear about us. With this in mind, we would like to appoint someone who can help with this. We need someone who can think of ways to draw potential members here, and keep our current members interested. This could be by organising online/ real life events, spreading the Britannia Air name online etc. Training Officers Flying with a virtual airline can often be a complex and confusing affair for the newcomer, with a variety of software to get to grips with. Britannia Air membership is open to pilots at all levels of VA experience, and with this in mind, there are going to be new members who need a guiding hand. We would like to be able to offer this, and give new pilots the opportunity to learn the necessary skills for online flying. We would like to hear from anyone who feels they have the experience and commitment to become a Britannia Air Training Officer. There are a few common basic requirements for all the member facing positions available: We are looking for mature, friendly people. We know people have lives outside their VA, all we ask is that our staff commit as much time as they feel comfortable with. We are flexible and ask our team to be. Commitment is important, as sourcing team members is a difficult and time consuming process. If assisting in building a new community and having a voice in how the community is run is something that excites you then we want to hear from you. Conversely, if you just want to join the team for the status, and aren’t really interested in the future of Britannia Air, it’s a waste of our time and yours if you apply. Most importantly, we want to hear from people who can get involved in this community, have fun and also be helpful. It is very important that anyone who is giving up their time for Britannia Air is given recognition and is respected for this too. With this in mind, we will be forming ways to do so to dedicated and committed staff members. If you would like to have a chat about the positions available, you can contact me by email at stuart at britair dot net, or you can use the online contact form on our website at www.britair.net …………………… Thanks, Stuart Boardman Britannia Air
  14. I just started using phpVMS a couple of weeks ago, and have found the skinning process to be fairly straight forward, if you are prepared to spend some time reading up on basic php, HTML and CSS. It sounds like you are trying to rush your site out, but that can just create more problems. Why not just run your phpVMS site on the default template for now, with just your custom logo, explain to the members that work is in progress, and then spend the needed amount of time on creating a skin offline on a localserver. Then you know that problems aren't going to be flaring up on your live server, and the members have something to look forward to. I have to say too, that your attitude isn't going to make anyone want to give up their own time to create a skin for you. As said before £40 is not alot of money for the time and effort going into a custom skin. If you are not prepared to pay anyone, then perhaps you should get some reading in and learn what you need to know to create your own skin.
  15. I am in the process of completing my new virtual airline, with the backbone of it being phpVMS. I have created a website, forum, media gallery, voice server, fleet and schedules well enough to be up and running. I will be adding to the fleet and schedules as time allows. My plans also include additional website features too Anyways, I am on the lookout for anyone who wants to get involved in my airline in a management capacity. I would prefer finding people who have previous VA management experience, and whoever joins my team will get a real say in how the airline is run. I would also prefer it if anyone is interested, that they be over 18. So that's what I am asking, here's what I can offer in return: Commitment - I am in this for the long haul. I have spent a considerable amount of time and my own money putting everything in place. I want Britannia Air to really take off and be a success. Flexibility - I am very open to suggestions about how the airline functions and I want others on the team to be able to have as much influence too. I am not into power tripping or playing the dictator. Fun - I hope that as the membership grows we can develop a real sense of community and make being a member an enjoyable and rewarding experience. So if this sounds like something which interests you, drop by the site and get in touch. Thanks, Stu PS: Thanks again to those who have created phpVMS, and to Simpilot for creating some of the addons I have used, much appreciated. Britannia Air
  16. Got this working on my site, it's perfect thanks Cheers, Stu
  17. Hi again peeps, Just a quick question, which I hope someone may be able to help with. I am trying to display the logs of the FSACARS and FSPAX PIREP logs within a table on the report page, but can't do it. I can place the results in a table, but I wanted each line of the log to be a new cell with shading etc. Could anyone let me know if this is possible please? I have searched and can't find what I am after. Cheers, Stu PS, I am getting each line of the FSPAX logs starting with the letter n before each first word, any ideas on how to remove?
  18. Ahh cool, thanks for that! As I said, I am a noob when it comes to PHP, glad to see there is a much simpler way than how I done it. Cheers, Stu
  19. Thanks There was another file that needs modifying to make the tweak work, I forgot about it when writing the previous post. It's /core/common/SchedulesData.class Insert the line below after line 369: 'flplan=>'' Insert the line below after line 422: '$data[flplan]', Then after line 452 add: 'flplan'=>'', Add this line after line 512: `flplan`='$data[flplan]', Then save the file. Cheers, Stu
  20. I have made a neat little tweak I made to my site, it may come in handy if anyone wants to enable FS flight plan downloads like I did for each scheduled flight. Basically, I use vRoute to create MS Flight Sim flight plans, and then put them in a folder on my server. I wanted other member pilots to be able to download these, so they could just load them up in the flight sim. The way I done it is probably very rough and ready as I am a newcomer to PHP and SQL. First I added a new field to the phpvms_schedules table in the database. I called this table 'flplan'. The field type was set to text. Next I thought about how to add the flightplan to the database, and decided that I would use the flight plan's filename as the stored data. In my case I have named each flight plan file bav####.pln (the #### being the flight schedule number). Here's how I done it: Open /admin/modules/Operations/Operations.php. Added this - *'flplan'=>$this->post->flplan,* on new line after Line 669: Don't enter the *'s, I used these to show where the new line is entered. Here's how it looks after inserting the line: 'price'=>$this->post->price, 'flighttype'=>$this->post->flighttype, 'notes'=>$this->post->notes, 'flplan'=>$this->post->flplan, 'enabled'=>$enabled); And added the same new piece of code after line 724: 'price'=>$this->post->price, 'flighttype'=>$this->post->flighttype, 'notes'=>$this->post->notes, 'flplan'=>$this->post->flplan, 'enabled'=>$enabled); Once that's done save the file. Next up is to create a field in the add schedule form. So open /admin/templates/ops_scheduleform.tpl Insert a new line after the </tr> on line 191. On this new line add the following: <tr> <td valign="top"><strong>Flight Plan</strong></td> <td valign="top" style="padding-top: 0px"> <textarea name="flplan" style="width: 40%; height: 30px"><?php echo $schedule->flplan?></textarea> </tr> This will create a text field for you to enter the flightplan's filename on the schedule. Once filled in it will save the value to the database. Next up, I wanted the link to the flightplan to be available on the pilots brief page. So open /core/templates/schedule_briefing.tpl Add the following code so that the table appears where you want it: <table align="center" padding="2" style="width: 98%"> <tr style="background-color: #333; color: #FFF; padding: 5px;"> <td style="width: 98%">Pre-compiled Flight Plans</td> </tr> <tr> <td style="width: 98%px"> <a href=" *The full URL to the folder where your flight plans are stored* /<?php echo $schedule->flplan?>" target="_blank">Download MSFS Flight Plan</a><br><br></td> </tr> </table> Once that's done save the file. Sorry about this post being a bit noobish, but this is the first time I have shared my tweaking efforts I can't guarantee it will work on your site, but it works a treat for me. Here's how it looks on my site: On the pilots brief page: On the admin add schedule page: Hope some of you guys find it useful! Cheers, Stu
  21. Very much appreciated, thanks!
  22. Me too, not sure how to sort this one out. Any ideas would be gratefully appreciated.
  23. Thanks for the feedback:) Sorted the fleet list page out, and it was a div tag missing on the footer.tpl. Thanks for that heads up. I would love to get some more practice in if you need any graphic work doing, just let me know if you have anything in mind. I will be busy with the site for the next week or so though. Cheers, Stu
  24. I am a newcomer to phpVMS, and am glad I found it to be honest. I nearly bought VaBase before I come across phpVMS. I have been messing around with the system for a week or so, and have finally come up with a look I am 75% happy with. I am leaving the site as is for now though, until I can get some second opinions. I have to concentrate on getting a forum on the site next and to try and get it as seamless as I can. Anyone who can offer some feedback on the site as it is now, it would be very welcome. Cheers, Stu www.britair.net PS thx for the hard work on phpVMS guys, I for one definitely appreciate it!
  25. Hi, sorry about posting to the wrong thread. I searched for the drop down menus as suggested, and I managed to suss out a menu for the site. Thanks, Stu
×
×
  • Create New...