Jump to content

Status in signature


flyGLOBAL

Recommended Posts

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!

Link to comment
Share on other sites

  • Administrators

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);}

Link to comment
Share on other sites

  • 2 months later...
Guest lorathon

If you use kACARS_Free you could also tie it into the liveupdate portion of the kACARS_Free module. I am sure you could do the same with the other ACARS modules. The good thing about tieing into these is that is it only run when the ACARS application files the update. The map tie in would only work if someone was looking at the map. And then if multiple people are looking it would update too frequently and may tie up server resources.

Just my opinion.

Link to comment
Share on other sites

  • 6 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...