Status in signature

What do I have to add where to get a status of the active flight (like: Boarding, Crusing etc ) in my signature (badge).

I wanted it to do the same, with the help of a friend did, but there is one drawback is that the signature is generated only when data changes, so it is not convenient, then threw the script, if I find didst lay out, but it was for the old version!

Once a pirep is filed certain things happen on vms, one of the things is to regenerate the pilots signature, there would be a lot of resources taken up i think to display the phases

I think what you could do to reduce the load on the server and from recreating the siggy so many times would be to use the individual pilot signature regenerate function already available but hook it to the acars map. Basically build a function into the acars map that regnerates the pilot badge when the pilots flight status, ie - departing, in flight, decending, etc, changes on the flight board. That way you are not regenerating everyones siggy, and you are only regenerating the active pilots siggy when his status changes not every time the map reloads.

something like

if($status->old <> $status->new)

{ pilotdata::regeneratesiggy($pilot->id);}

something like

if($status->old <> $status->new)

{ pilotdata::regeneratesiggy($pilot->id);}

Where i put this code??

Where i put this code??

Interesting!

up