Jump to content

William

Members
  • Posts

    79
  • Joined

  • Last visited

  • Days Won

    7

Files posted by William

  1. Trip Planner Advanced

    Trip Planner Advanced for phpVMS v7
     
    Create multi-leg “free flight” trips that your pilots can bid on and fly, keeping them moving from airport to airport.
    Clean UI, simple admin controls, and neutral branding that fits any VA.
    Derived from Cardinal Horizon CHTrips and packaged for easy drop-in use.

    ✈️ Highlights
    Multi-leg trips with custom name & description “Next Flight” summary with aircraft group popover and quick actions Progress tracking + completed PIREPs list Equipment Category picker to attach subfleets (Airbus Narrow, Boeing Narrow, Airbus Wide, Boeing Wide, Regional, McDonnell/Other) Optional rank-aware mode (honors phpVMS Rank/Type settings) Smooth start option: Auto-reposition to the first departure after the first bid if “start anywhere” is allowed Invisible, trip-owned flights to avoid conflicts with schedules
    👨‍✈️ What Pilots Get
    My Trips page with progress bar, description, created date, and compact action buttons Trip Detail page: “Next Flight” card with quick actions (Info, New PIREP, SimBrief) Add/Remove Bid button (with auto-reposition support) Following flights and completed the PIREPs list Automatic reposition message (only shown before the first PIREP if “start anywhere” is allowed)
    ⚙️ Admin Settings
    Accessible at: Admin → Trip Planner Advanced → View Admin Module Enforce VA Ranking
    ON: Only subfleets allowed by pilot’s rank/type OFF: Rank ignored; All SubFleets available Lock to Current Pilot Location (default ON)
    ON: First leg must depart the pilot’s current/home airport OFF: Trips can start anywhere Auto-Reposition on First Bid
    ON: Auto-moves pilot to the first departure after their very first bid OFF: No Auto-move pilot Mandatory if “Lock to Current” is OFF All settings are ability-guarded (admin, admin-access).
    🔧 How It Works (Under the Hood)
    Flights created with: Numbers 7000–7999 and route_code=TPA Visible=False, owned by Trip Leg order tracked in ch_flight_pirep_trip PIREP Create Bridge (tripplanner.pireps.create) filters aircraft per trip Bids handled via module routes (tripplanner.bid.add, phpvms.bids.removeBid())
    📥 Installation
    Copy folder → modules/TripPlannerAdvanced/ Admin → Addons → Modules: enable Admin → YourVAaddress/pdate (run migrations) Admin → Maintenance → Clear All Caches Frontend menu: Trip Planner appears for logged-in users. Future Updates: Upgrade: Replace folder → Run Update → Clear caches.
    📝 Notes & Best Practices
    If trips CAN start anywhere, enable Auto-Reposition to bypass & avoid “Not at Departure” errors. If trips CAN start anywhere, repositioning only applies after the very first BID in a trip is placed. Flights are invisible & uniquely tagged (TPA + 7000s) to avoid collisions. Always clear caches after installation or upgrade.
    📄 License & Attribution
    License: BSD-3 Portions & Credits derived from CHTrips by Cardinal Horizon © 2024.

    316 downloads

    0 comments

    Updated

  2. Destinations Map

    Destinations Map for phpVMS v7
     
    Destinations Map is a lightweight, modern module for phpVMS v7 that helps pilots explore where they can fly from any origin, discover direct and connecting destinations, and quickly review matching schedules.
    It also features a comprehensive ACARS Flight Board to display live flights that can be toggled on or off.
     
    Built to drop into any phpVMS v7 site, tested with Seven/Beta themes in a vanilla phpVMS installation

    Thanks to the phpVMS community for the inspiration. Enjoy exploring your network with Destinations Map!
    .
    Highlights
    Interactive map Pick an origin and see all available connecting destinations in your schedules Focus on connecting destinations (through second-click to reveal schedules) Filter by airline (through drop-down menu) Schedules table revealed on connecting Airports Compact visual cues (small airline logo + ident, departure/arrival icons, and times) BID button follows your site’s existing platform settings (Rank-lock & Departure lock) ACARS Live Flight Board (through ON/OFF toggle button) Airline logo, Pilot, Flight, Aircraft, Dep/Arr, Altitude, GS, Distance, Status No database changes required - No migrations; reads existing routes and ACARS data Theme-safe - Easy adaptations Minimal blade markup; module does not require caches  
    Requirements
    phpVMS v7 (current) Logged-in access (module routes are behind web + auth by default) Existing schedules (for the map/table) and running ACARS live flights (for the Flight Board)  
    Installation (less than 2 minutes)
    Unzip DestinationsMap.zip into your phpVMS /modules folder. Do not rename the folder so it remains /modules/DestinationsMap Clear your application caches (via Admin → Maintenance or artisan). Visit /destinations-map to use the module or use the link exposed in the Dashboard. Full details are in DestinationsMap - README.md.  
    Theme Integration
    Seven/Beta: Registers a generic frontend link and appears with other logged-in module links. Routes & Endpoints  Main page: /destinations-map (route name: destinationsmap.index). JSON endpoints are exposed under a /destinations-map prefix for airlines, origins, destinations, connecting routes, and schedules.  
    Customization
    Map height: adjustable in the controller. Icons and table columns: editable in the blade view. ACARS badges: optionally add color-coding by phase.  
    What’s Included
    Service providers (module wiring) Web and API routes Frontend and API controllers Blade view (Leaflet UI, schedules table, optional Flight Board) README with setup and usage notes  
    Download
    DestinationsMap.zip from this thread. The source and README are inside the zip file.  
    Support & Feedback
    Questions or suggestions? Reply in this thread.
    Limited support is provided here or in the Discord server
     
    Changelog
    v1.0.0 – Initial community release

     







    310 downloads

    0 comments

    Updated

  3. AAdvantage Miles

    Description
     
    An easy, automated way to reward pilots, create incentives, promote destinations, unlock special flights (or Rank-Free flights), and even reward real-world items (gift cards, sponsors' perks, etc.)?
    AAdvantage Miles is a lightweight, production-tested module that adds miles/points to your VA with automatic earning rules, leaderboards, and an optional in-VA Shop with "special" Flight Passes for sale.
     
    Why it’s good for your VA (and keeps pilots hooked):
    Fly → Earn → Unlock: clear progression loop that turns every flight into visible progress. Zero micromanagement: automated awards align with your rules (time flown, landing quality, airports), so good behavior is reinforced without admin work. Daily habit builder: login miles, create streaks, and reasons to come back, even on non-flying days. Friendly competition: leaderboards spark rivalry and social proof, boosting activity across the week. Real rewards, not fluff: the Shop converts effort into perks (simulated or not); Flight Passes add scarcity and excitement (including Ranks-Free access when you want it). Event-ready: drop special routes/passes for weekends or special rewards to spike engagement on demand. Trust & transparency: per-pilot ledger shows exactly how miles were earned/spent.
    Result: more flights, better flying, happier pilots - on autopilot.
     
    What it does
    Per-pilot miles ledger Full earn/spend history
    Auto-awards
    Daily login miles (idempotent) PIREP rules: miles/minute, smooth-landing bonus, bad-landing penalty, score bonus (with cap) Airport-specific bonuses (per rule: departure/arrival / both)
    Frontend pages
    My Miles, Leaderboard, Shop, My Purchases  
    Admin tools
    Settings (toggle/tune all rules) Manage Pilot Miles (search, review history, add/subtract with note) Shop Admin (categories/products, stock, per-user limits, purchase ledger) Flight Passes (optional) Create Pass products targeting a specific flight (Flight ID) Optional aircraft pre-bind for SimBrief / aircraft lock Direct-bid endpoint for pass owners Auto-marks Pass “used” when the related PIREP is filed Default expiry: 30 days New: Bid strictness options Off → Pass bids bypass rank/type checks (only the core “at departure airport” rule applies). Ideal for “selling” access to flights to lower ranks On → Pass bids must satisfy your VA’s current rank/type restrictions (module validates pilot eligibility and subfleet/flight compatibility)  
    Compatibility
    phpVMS v7 (Laravel 8+) DB: JSON columns required (MySQL 5.7+ / MariaDB 10.2+) Views namespaced as AAMiles:: and override-friendly  
    Quick install
    Copy folder to: modules/AAdvantageMiles Admin → Addons → Modules → Enable PHPVMS Update → visit your.domain/update (runs migrations) Admin → Maintenance → Clear All Caches Configure under Admin → AAdvantage Miles
    That’s it — pilots start earning based on your settings.

    735 downloads

    0 comments

    Updated

×
×
  • Create New...